package com.zhgd.xmgl.modules.basicdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 视频抓拍记录
 * @author： pds
 * @date： 2023-02-28
 * @version： V1.0
 */
@Data
@TableName("monitor_question")
@ApiModel(value = "MonitorQuestion实体类", description = "MonitorQuestion")
public class MonitorQuestion implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 抓拍记录id(主键ID)
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 问题描述
     */
    @Excel(name = "问题描述", width = 15)
    @ApiModelProperty(value = "问题描述")
    private String questionDesc;
    /**
     * 图片显示
     */
    @Excel(name = "图片显示", width = 15)
    @ApiModelProperty(value = "图片显示")
    private String image;
    /**
     * 下达人
     */
    @Excel(name = "下达人", width = 15)
    @ApiModelProperty(value = "下达人")
    private String createBy;
    /**
     * 待处理人
     */
    @Excel(name = "待处理人", width = 15)
    @ApiModelProperty(value = "待处理人")
    private String solveBy;
    /**
     * 视频监控编码
     */
    @Excel(name = "视频监控编码", width = 15)
    @ApiModelProperty(value = "视频监控编码")
    private String deviceCode;
    /**
     * 下达时间
     */
    @Excel(name = "下达时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "下达时间")
    private Date createTime;
    /**
     * 状态(0:待整改;1:整改中;2:已整改)
     */
    @Excel(name = "状态(0:待整改;1:整改中;2:已整改)", width = 15)
    @ApiModelProperty(value = "状态(0:待整改;1:整改中;2:已整改)")
    private Integer state;
    /**
     * 处理时间
     */
    @Excel(name = "处理时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "处理时间")
    private Date solveTime;
    /**
     * 整改图片
     */
    @Excel(name = "整改图片", width = 20)
    @ApiModelProperty(value = "整改图片")
    private String solveImage;

    /**
     * 项目sn
     */
    @Excel(name = "项目sn", width = 20)
    @ApiModelProperty(value = "项目sn")
    private String projectSn;

    /**
     * 工程sn
     */
    @Excel(name = "工程sn", width = 20)
    @ApiModelProperty(value = "工程sn")
    private String engineeringSn;

	/**
	 * 视频名称
	 */
	@TableField(exist = false)
	@Excel(name = "视频名称", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "视频名称")
	private String monitorName;

    /**
     * 项目名称
     */
    @TableField(exist = false)
    @Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    /**
     * 工程名称
     */
    @TableField(exist = false)
    @Excel(name = "工程名称", width = 15)
    @ApiModelProperty(value = "工程名称")
    private String engineeringName;

}
