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;
|
import java.util.Date;
|
|
/**
|
* 智能AI服务器配置
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_AI_SER")
|
public class AiSer implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "唯一ID,序列号")
|
private String id;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Column(name = "DEPT_ID_", length = 50)
|
@PropertyDef(label = "库区编码")
|
private String deptId;
|
|
@Column(name = "NAME_", length = 50)
|
@PropertyDef(label = "分机名称")
|
private String name;
|
|
@Column(name = "TYPE_", length = 10)
|
@PropertyDef(label = "分机类型")
|
private String type = AiSerType.TYPE_01.getCode();
|
|
@Column(name = "STATUS_", length = 10)
|
@PropertyDef(label = "是否在线", description = "Y表示在线,N表示断开")
|
private String status = "N";
|
|
@Column(name = "PRODUCER_", length = 50)
|
@PropertyDef(label = "厂商信息")
|
private String producer;
|
|
@Column(name = "REMARK_", length = 100)
|
@PropertyDef(label = "备注", description = "备注信息")
|
private String remark;
|
|
@Column(name = "UPDATE_TIME_")
|
@PropertyDef(label = "更新时间", description = "最后更新时间")
|
private Date updateTime;
|
|
@Column(name = "ERROR_MSG_", length = 100)
|
@PropertyDef(label = "异常信息")
|
private String errorMsg;
|
}
|