2021与蓝度共同重构项目,服务端
Van333
2022-12-29 727a69f859060093e685582fa10e5de82dcc138a
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
package com.sandu.ximon.dao.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.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.io.Serializable;
import java.time.LocalDateTime;
 
/**
 * plc路灯表(Plc)表实体类
 *
 * @author van
 * @since 2022-12-15 14:41:22
 */
@TableName(value = "plc")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Plc implements Serializable{
 
    @TableId(type = IdType.AUTO)
    private Long plcId;
    //设备识别码
    private String deviceCode;
    //备注信息
    private String plcRemark;
    //路数,默认3
    private Integer plcCount;
    //灯头1开关状态,1 开 0 关
    private Integer plcLight1;
    //灯头2开关状态,1 开 0 关
    private Integer plcLight2;
    //灯头3开关状态,1 开 0 关
    private Integer plcLight3;
    //定时任务开关状态,1 开 0 关
    private Integer plcTimingControl;
    //光感开关状态,1 开 0 关
    private Integer plcSensorControl;
    //软件版本
    private String plcSoftwareVersion;
    //硬件版本
    private String plcHardwareVersion;
    //IEMI
    private String plcIemi;
    //ICCID
    private String plcIccid;
    //创建时间
    private LocalDateTime plcCreateTime;
 
    private LocalDateTime plcUpdateTime;
 
    /**
     * 在线状态 0:离线 1:在线
     */
    @TableField(exist = false)
    private Integer onlineStatus;
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}