shenyijian
2024-06-21 2098994a79de386b5fe11100bfc889eda644bbdd
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
package cn.gistack.sm.sg.DO;
 
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 com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springblade.core.mp.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
 
/**
 * <p>
 * 施工项目表
 * </p>
 *
 * @author shenyijian
 * @since 2024-06-13 11:51:20
 */
@Data
@TableName("SG_DEVICE")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SgDeviceDO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(type = IdType.AUTO)
 
    private Long id;
 
    /**
     * 设备名称
     */
    private String deviceName;
 
    /**
     * 设备类型
     */
    private String deviceType;
    /**
     * 类型名称
     */
    @TableField(exist = false)
    private String typeName;
    /**
     * 设备进度
     */
    @TableField(exist = false)
    private String deviceProgress;
 
    @TableField(exist = false)
    private String progress;
    /**
     * 项目id
     */
    private String programId;
 
    @TableField(exist = false)
    private String programName;
    /**
     * 经度
     */
    private String lon;
    /**
     * 纬度
     */
    private String lat;
 
 
    /**
     * 安装地址
     */
    private String address;
 
    /**
     * 创建人
     */
    @TableField(exist = false)
    private Long createUser;
 
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    /**
     * 工序步骤
     */
    @TableField(exist = false)
    private List<SgGxStepDO> stepDOList;
    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
 
    private Integer status;
 
}