Lius
2024-10-21 7d557129ca9d7ba762859ec80256b73f96225784
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
package org.jeecg.modules.mdc.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
 
/**
 * @Description: 设备表
 * @Author: liuS
 * @Date: 2023-03-22
 * @Version: V1.0
 */
@Data
@TableName("mdc_equipment")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "mdc_equipment对象", description = "设备表")
public class MdcEquipment extends JeecgEntity {
 
    private static final long serialVersionUID = -131777068258113223L;
 
    /**
     * 设备编号
     */
    @Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String equipmentId;
    /**
     * 设备名称
     */
    @Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private String equipmentName;
    /**
     * 设备类型
     */
    @Excel(name = "设备类型", width = 15)
    @ApiModelProperty(value = "设备类型")
    private String equipmentType;
    /**产线名称*/
    @Excel(name = "车间", width = 15)
    private transient String productionName;
    /**部门名称*/
//    @Excel(name = "部门", width = 15)
    private transient String orgCodeTxt;
    /**
     * 系统版本
     */
    @Excel(name = "系统版本号", width = 15)
    @ApiModelProperty(value = "系统版本号")
    private String systemVersion;
    /**
     * 设备功率
     */
    @Excel(name = "设备功率", width = 15)
    @ApiModelProperty(value = "设备功率")
    private String devicePower;
    /**
     * 机床IP
     */
    @Excel(name = "机床IP", width = 15)
    @ApiModelProperty(value = "机床IP")
    private String equipmentIp;
    /**
     * 端口
     */
    @Excel(name = "端口", width = 15)
    @ApiModelProperty(value = "端口")
    private String dataPort;
    /**
     * 驱动类型
     */
    @Excel(name = "驱动类型", width = 15)
    @ApiModelProperty(value = "驱动类型")
    private String driveType;
    /**
     * 设备型号
     */
    @Excel(name = "设备型号", width = 15)
    @ApiModelProperty(value = "设备型号")
    private String equipmentModel;
    /**
     * 数控系统
     */
    //@Excel(name = "数控系统", width = 15)
    @ApiModelProperty(value = "数控系统")
    private String controlSystem;
    /**
     * 系统类型
     */
    @Excel(name = "系统类型", width = 15)
    @ApiModelProperty(value = "系统类型")
    private String systemType;
 
    /**
     * 设备种类
     */
    //@Excel(name = "设备种类", width = 15)
    @ApiModelProperty(value = "设备种类")
    private String deviceCategory;
    /**
     * 报警号
     */
    //@Excel(name = "报警号", width = 15)
    @ApiModelProperty(value = "报警号")
    private String alarm;
    /**
     * 采集时间
     */
    //@Excel(name = "采集时间", width = 15)
    @ApiModelProperty(value = "采集时间")
    private String collectTime;
    /**
     * 设备实时状态
     */
    //@Excel(name = "设备实时状态", width = 15)
    @ApiModelProperty(value = "设备实时状态")
    private Integer oporation;
 
    /**
     * 采集参数表
     */
    //@Excel(name = "采集参数表", width = 30)
    @ApiModelProperty(value = "采集参数表")
    private String saveTableName;
    /**
     * 设备异常状态
     */
    @Dict(dicCode = "device_abnormal_status")
    @Excel(name = "设备异常状态", width = 15, dicCode = "device_abnormal_status")
    @ApiModelProperty(value = "设备异常状态")
    private Integer deviceAbnormalStatus;
 
    /**
     * 设备状态
     */
    //@Excel(name = "设备状态", width = 15, dicCode = "mdc_equipment_status")
    @Dict(dicCode = "mdc_equipment_status")
    @ApiModelProperty(value = "设备状态")
    private Integer equipmentStatus;
 
    /**
     * 设备级别
     */
    @Excel(name = "设备级别", width = 15)
    @ApiModelProperty(value = "设备级别")
    private String deviceLevel;
    /**
     * 重要程度
     */
    @Dict(dicCode = "device_importance_level")
    @Excel(name = "重要程度", width = 15, dicCode = "device_importance_level")
    @ApiModelProperty(value = "重要程度")
    private Integer deviceImportanceLevel;
    /**
     * 排序
     */
    @Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer sortNo;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "选择的部门id集合")
    private String selectedDeparts;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "选择的产线id集合")
    private String selectedProduction;
 
}