DangerInspectItem.java 2.4 KB
package com.skua.modules.safe.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 风险检查项
 */
@Data
@TableName("danger_inspect_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="danger_inspect_item对象", description="风险检查项")
public class DangerInspectItem implements  Serializable{
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;

	/**风险点编号*/
	@Excel(name = "风险点编号", width = 15)
	@ApiModelProperty(value = "风险点编号")
	private String dangerId;

	/**检查内容对象编号*/
	@Excel(name = "检查内容对象编号", width = 15)
    @ApiModelProperty(value = "检查内容对象编号")
	private String inspectObjId;
	/**选项名称*/
	@Excel(name = "选项名称", width = 15)
    @ApiModelProperty(value = "选项名称")
	private String itemName;
	/**选项类型(0:选择,1 是否  2 文本)*/
	@Excel(name = "选项类型(0:选择,1 是否  2 文本)", width = 15)
    @ApiModelProperty(value = "选项类型(0:选择,1 是否  2 文本)")
	private String itemType;
	/**选项状态(0:异常,1正常)*/
	@Excel(name = "选项状态(0:异常,1正常)", width = 15)
    @ApiModelProperty(value = "选项状态(0:异常,1正常)")
	private String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;


	@TableField(exist=false)
	@ApiModelProperty(value = "创建时间")
	private String itemValue;//
}