PlcEquipment.java
1.55 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
package com.huaheng.pc.plc.domain;
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 lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* @author:zhouhong
* 一台plc对应多个db块,一个db块对应多个偏移量
* 202203
*/
@Data
@TableName(value = "plc_equipment")
public class PlcEquipment implements Serializable {
/**
* ID
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 设备名称
*/
@TableField(value = "equipmentName")
private String equipmentName;
/**
* 设备ip
*/
@TableField(value = "equipmentIp")
private String equipmentIp;
/**
* 端口号
*/
@TableField(value = "port")
private Integer port;
/**
* 创建时间
*/
@TableField(value = "createTime")
private Date createTime;
/**
* 修改时间
*/
@TableField(value = "updateTime")
private Date updateTime;
/**
* 创建者
*/
@TableField(value = "createBy")
private String createBy;
/**
* 状态1启用2停用
*/
@TableField(value = "status")
private Integer status;
/**
* 修改人
*/
@TableField(value = "updateBy")
private String updateBy;
/**
* 排序
*/
@TableField(value = "orders")
private Integer orders;
private static final long serialVersionUID = 1L;
}