FDataItem.java
4.7 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
package com.skua.modules.data.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skua.core.aspect.annotation.Dict;
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("f_data_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="f_data_item对象", description="数据项")
public class FDataItem {
/**主键id*/
@TableId(type = IdType.UUID)
@ApiModelProperty(value = "主键id")
private java.lang.String id;
/**数据项名称*/
@Excel(name = "数据项名称", width = 200)
@ApiModelProperty(value = "数据项名称")
private java.lang.String dataName;
/**数据项编码*/
@Excel(name = "数据项编码", width = 200)
@ApiModelProperty(value = "数据项编码")
private java.lang.String dataCode;
/**数据类别*/
@Excel(name = "数据类别", width = 40)
@ApiModelProperty(value = "数据类别")
private java.lang.String dataType;
/**数据项描述*/
@Excel(name = "数据项描述", width = 200)
@ApiModelProperty(value = "数据项描述")
private java.lang.String dataDesc;
/**扩展字段1*/
@ApiModelProperty(value = "扩展字段1")
private java.lang.String column1;
/**扩展字段2*/
@ApiModelProperty(value = "扩展字段2")
private java.lang.String column2;
/**扩展字段3*/
@ApiModelProperty(value = "扩展字段3")
private java.lang.String column3;
/**扩展字段4*/
@ApiModelProperty(value = "扩展字段4")
private java.lang.String column4;
/**扩展字段5*/
@ApiModelProperty(value = "扩展字段5")
private java.lang.String column5;
@Excel(name = "所属厂区", width = 40)
@ApiModelProperty(value = "所属厂区")
@Dict(dictTable="sys_depart",dicCode = "id",dicText = "depart_name")
private java.lang.String factoryId;
/**数据项单位*/
@Excel(name = "数据项单位", width = 40)
@ApiModelProperty(value = "数据项单位")
private java.lang.String unit;
/**数据有效性最大*/
@Excel(name = "数据有效性最大", width = 40)
@ApiModelProperty(value = "数据有效性最大")
private java.lang.Double trendMax;
/**数据有效性最小*/
@Excel(name = "数据有效性最小", width = 40)
@ApiModelProperty(value = "数据有效性最小")
private java.lang.Double trendMin;
/**报警上限*/
@Excel(name = "报警上限", width = 40)
@ApiModelProperty(value = "报警上限")
private java.lang.Double alarmMax;
/**超出上限背景色*/
@Excel(name = "超出上限背景色", width = 40)
@ApiModelProperty(value = "超出上限背景色")
private java.lang.String alarmMaxColor;
/**报警下限*/
@Excel(name = "报警下限", width = 40)
@ApiModelProperty(value = "报警下限")
private java.lang.Double alarmMin;
/**低于下限背景色*/
@Excel(name = "低于下限背景色", width = 40)
@ApiModelProperty(value = "低于下限背景色")
private java.lang.String alarmMinColor;
/**文本框类型*/
@Excel(name = "文本框类型", width = 40)
@ApiModelProperty(value = "文本框类型")
private java.lang.String textType;
/**字典CODE/时间格式/正则*/
@Excel(name = "字典CODE/时间格式/正则", width = 40)
@ApiModelProperty(value = "字典CODE/时间格式/正则")
private java.lang.String typeInit;
/**排序序号*/
@Excel(name = "排序序号", width = 10)
@ApiModelProperty(value = "排序序号")
private java.lang.Integer sortNum;
/**创建人Id*/
@ApiModelProperty(value = "创建人Id")
private java.lang.String createBy;
/**创建时间*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private java.util.Date createTime;
/**修改人Id*/
@ApiModelProperty(value = "修改人Id")
private java.lang.String updateBy;
/**修改时间*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "修改时间")
private java.util.Date updateTime;
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private java.lang.String createDept;
/**所属公司*/
@ApiModelProperty(value = "所属公司")
private java.lang.String createCmpy;
/**删除标识*/
@ApiModelProperty(value = "删除标识")
private java.lang.Integer delFlag;
}