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;
|
|
}
|