2021与蓝度共同重构项目,服务端
liuhaonan
2022-04-26 874d49fba33fc6493d7392f419763525569a04c1
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
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 java.io.Serializable;
import java.time.LocalDateTime;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
 
/**
 * 路灯表
 * @TableName light
 */
@TableName(value ="light")
@Data
public class Light implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long lightId;
 
    /**
     * 设备识别码
     */
    private String deviceCode;
 
    /**
     * 备注信息
     */
    private String remark;
 
    /**
     * 灯1亮度百分比,0-100
     */
    private Integer lightPercent;
 
    /**
     * 灯2亮度百分比,0-100
     */
    private Integer light2Percent;
 
    /**
     * 功率
     */
    private Integer power1;
 
    private Integer power2;
 
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
 
    /**
     *
     */
    private LocalDateTime updateTime;
 
    /**
     * 在线状态 0:离线 1:在线
     */
    @TableField(exist = false)
    private Integer onlineStatus;
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}