package com.ld.igds.models; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import com.ld.igds.constant.Constant; import lombok.Data; import com.bstek.dorado.annotation.PropertyDef; /** * @Desc: 制氮机配置,其通讯配置直接在当前配置中 * @author: Andy * @update-time: 2022/12/29 */ @Data @Entity @Table(name = "D_N2_MAC_CONF") public class N2MacConf implements Serializable { private static final long serialVersionUID = 1L; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "主键ID") private String id; @Column(name = "NAME_", length = 50) @PropertyDef(label = "名称") private String name; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码", description = "") private String companyId; @Column(name = "DEPT_ID_", length = 40) @PropertyDef(label = "所属分库") private String deptId; @Column(name = "IP_", length = 16) @PropertyDef(label = "通讯IP") private String ip; @Column(name = "PORT_") @PropertyDef(label = "通讯端口") private Integer port; @Column(name = "SN_", length = 30) @PropertyDef(label = "通讯设备SN") private String sn; @Column(name = "PROTOCOL_", length = 30) @PropertyDef(label = "通讯协议") private String protocol; @Column(name = "CON_STATUS_", length = 2) @PropertyDef(label = "通讯状态") private String conStatus = Constant.YN_N; @Column(name = "PURITY_") @PropertyDef(label = "氮气纯度", description = "99.9%") private Double purity; @Column(name = "PRESSURE_") @PropertyDef(label = "出口压力", description = "99.9Pa") private Double pressure; @Column(name = "FLOW_") @PropertyDef(label = "出口流量") private Double flow; @Column(name = "RUN_STATUS_", length = 2) @PropertyDef(label = "运行状态") private String runStatus = Constant.YN_N; @Column(name = "WARN_INFO_", length = 50) @PropertyDef(label = "故障信息") private String warnInfo; @Column(name = "BRAND_", length = 50) @PropertyDef(label = "设备品牌") private String brand; @Column(name = "POWER_") @PropertyDef(label = "设备功率") private Double power; @Column(name = "PRODUCER_", length = 50) @PropertyDef(label = "生产商") private String producer; @Column(name = "TELEPHONE_", length = 20) @PropertyDef(label = "厂商电话") private String telephone; @Column(name = "REMARKS_", length = 200) @PropertyDef(label = "备注") private String remark; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "更新时间") private Date updateTime; }