DangerInspectionItem.java
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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_inspection_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="danger_inspection_item对象", description="风险检查项记录")
public class DangerInspectionItem implements Serializable{
/**id*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "id")
private String id;
@Excel(name = "巡检检查内容对象编号", width = 15)
@ApiModelProperty(value = "巡检检查内容对象编号")
private String inspectionInfoId;
/**检查内容对象编号*/
@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 = "检查值", width = 15)
@ApiModelProperty(value = "检查值")
private String itemValue;
/**选项状态(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;
}