package com.fzzy.igds.dzhwk.domain; import com.bstek.dorado.annotation.PropertyDef; import com.fzzy.igds.dzhwk.constant.Constant; 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.jia * @description: * @version: * @data:2019年12月17日 */ @Entity @Table(name = "d_dic_sys_conf") @Data public class DicSysConf implements Serializable { @Id @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "GRAIN_AUTO_", length = 1) @PropertyDef(label = "粮情自动优化功能") private String grainAuto = Constant.YN_N; @Column(name = "GRAIN_ERROR_AUTO_", length = 1) @PropertyDef(label = "粮情自动处理") private String grainErrorAuto = Constant.YN_N; @Column(name = "GRAIN_MAX_AUTO_", length = 1) @PropertyDef(label = "粮情高温优化") private String grainMaxAuto = Constant.YN_N; @Column(name = "GRAIN_MORE_TAG_", length = 1) @PropertyDef(label = "一分机多仓", description = "默认是否") private String grainMoreTag = Constant.YN_N; @Column(name = "WARN_TO_WX_TAG_", length = 1) @PropertyDef(label = "微信推送警告启用", description = "默认是") private String warnToWxTag = Constant.YN_Y; @Column(name = "INTERVAL_TIME_") @PropertyDef(label = "执行间隔时间", description = "针对无线模式情况下,单位:秒") private int intervalTime = 5; @Column(name = "INTERVAL_GAS_") @PropertyDef(label = "气体通道检测间隔", description = "单位:秒") private int intervalGas = 15; @Column(name = "INTERVAL_PEST_") @PropertyDef(label = "虫害通道检测间隔", description = "单位:秒") private int intervalPest = 15; @Column(name = "QUANTITY_PATH_", length = 50) @PropertyDef(label = "数量在线检测地址", description = "针对的是有自有服务的情况") private String quantityPath; @Column(name = "THREE_PATH_", length = 50) @PropertyDef(label = "三维可视化路径") private String threePath; @Column(name = "HWK_API_PATH_", length = 100) @PropertyDef(label = "电子货位卡接口路径") private String hwkApiPath; @Column(name = "SYS_NAME_", length = 20) @PropertyDef(label = "系统名称", description = "系统登录后左上系统名称") private String sysName = "智慧粮库管理系统"; @Column(name = "SCREE_NAME_", length = 30) @PropertyDef(label = "大屏名称") private String screeName = "智慧粮库管理系统综合大屏"; @Column(name = "GRAIN_ADD_POINT_", length = 1) @PropertyDef(label = "是否保存粮情采集点信息", description = "默认不保存") private String grainAddPoint = Constant.YN_N; @Column(name = "SUPPORT_", length = 50) @PropertyDef(label = "技术支持") private String support = "风正致远信息技术股份有限公司"; @Column(name = "EMAIL_", length = 30) @PropertyDef(label = "公司邮箱") private String email = "business@fzzygf.com"; @Column(name = "PHONE_", length = 20) @PropertyDef(label = "公司电话") private String phone = "400-627-1116"; @Column(name = "WEB_SITE_", length = 30) @PropertyDef(label = "公司网站") private String website = "http://www.fzzygf.com"; @Column(name = "ADDRESS_", length = 100) @PropertyDef(label = "公司地址") private String address = "河南省郑州市高新区国家大学科技园1号楼"; public DicSysConf() { super(); } public DicSysConf(String companyId) { super(); this.companyId = companyId; } }