CZT
2023-10-11 564295458c720206db9b5194b90481b711f4b010
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
 
/**
 * 设备位置记录表
 *
 * 用于记录页面中某元素的位置信息,比如通风页面中设备在图片中的位置坐标等
 *
 * @author Andy
 */
@Data
@Entity
@Table(name = "D_DIC_LOCATION")
public class DicLocation implements Serializable {
 
    private static final long serialVersionUID = 2988683387356674937L;
 
    @Id
    @PropertyDef(label = "系统ID", description = "按照一定规则生成")
    @Column(name = "ID_", length = 40)
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    private String companyId;
 
    @Column(name = "DEPOT_ID_", length = 50)
    private String depotId;
 
    @PropertyDef(label = "业务标签", description = "比如通风,粮情,气调等")
    @Column(name = "BIZ_TAG_", length = 10)
    private String bizTag;
 
    @PropertyDef(label = "业务ID", description = "具体设备的唯一ID")
    @Column(name = "BIZ_ID_", length = 40)
    private String bizId;
 
    @PropertyDef(label = "自定义标签", description = "")
    @Column(name = "SELF_TAG_", length = 10)
    private String selfTag;
 
    @PropertyDef(label = "X坐标", description = "三维模型中坐标,页面无需维护")
    @Column(name = "POS_X_")
    private Double posX;
 
    @PropertyDef(label = "Y坐标", description = "三维模型中坐标,页面无需维护")
    @Column(name = "POS_Y_")
    private Double posY;
 
//    @PropertyDef(label = "X坐标", description = "--pad专用")
//    @Column(name = "POS_X_PAD_")
//    private Double posXPad;
//
//    @PropertyDef(label = "Y坐标", description = "--pad专用")
//    @Column(name = "POS_Y_PAD_")
//    private Double posYPad;
 
    @PropertyDef(label = "Z坐标", description = "三维模型中坐标,页面无需维护")
    @Column(name = "POS_Z_")
    private Double posZ;
 
}