/*
 * Author: wangjian
 * 生成entity
 */
package com.tofly.pojo.plan;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 设备巡查信息记录表
 *
 * @author JF
 * @date Tue Sep 10 00:00:00 CST 2024
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value="TF_YWPN_INSPECTDEVICETEMP_W",resultMap = "tfYwpnInspectdevicetempWMap")
@KeySequence("TF_YWPN_INSPECTDEVICETEMP_W")
@ApiModel
public class TfYwpnInspectdevicetempW extends Model<TfYwpnInspectdevicetempW> {
    private static final long serialVersionUID = 1L;

        /**
     * 主键ID
     */
        @TableId(value = "ID",type= IdType.INPUT)
            @ApiModelProperty(value = "主键ID")
                private Long id;
                /**
     * 主计划ID
     */
            @ApiModelProperty(value = "主计划ID")
                private Long planId;
                /**
     * 子计划ID
     */
            @ApiModelProperty(value = "子计划ID")
                private Long planChildId;
                /**
     * 设备唯一标识
     */
            @ApiModelProperty(value = "设备唯一标识")
                private String sid;
    /**
     * 图层ID
     */
            @ApiModelProperty(value = "图层ID")
                private Long layerId;
    /**
     * 图层名称
     */
            @ApiModelProperty(value = "图层名称")
                private String layerName;
                /**
     * 附件
     */
            @ApiModelProperty(value = "附件")
                private String annex;
                /**
     * 备注
     */
            @ApiModelProperty(value = "备注")
                private String remark;
                /**
     * 巡查时间
     */
            @ApiModelProperty(value = "巡查时间")
        @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
                private Date inspectTime;
                /**
     * 设备状态（1正常;2异常）
     */
            @ApiModelProperty(value = "设备状态（1正常;2异常）")
                private String status;
                /**
     * 创建人
     */
            @ApiModelProperty(value = "创建人")
            @TableField(value = "CREATE_USER",fill = FieldFill.INSERT)
            private Long createUser;
            @ApiModelProperty(hidden = true)
            @TableField(exist = false)
    private String createUserName;
            /**
     * 创建时间
     */
            @ApiModelProperty(value = "创建时间")
        @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
            @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
            private Date createTime;
            
}
