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; /** * @author vince.xu * @Title: Quantity * @ProjectName igds-dev * @Description: 数量检测实体 * @date 2021/6/11 001111:40 */ @Data @Entity @Table(name = "D_QUANTITY") public class Quantity implements Serializable { private static final long serialVersionUID = 1L; @Id @Column(name = "BATCH_ID_", length = 40) @PropertyDef(label = "批次ID") private String batchId; @Id @Column(name = "DEPOT_ID_", length = 50) @PropertyDef(label = "仓库ID", description = "仓库编号") private String depotId; @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 = "WEIGHT_") @PropertyDef(label = "重量", description = "KG") private Double weight = 0.00; @Column(name = "BULK_") @PropertyDef(label = "体积", description = "立方米") private Double bulk = 0.00; @Column(name = "POINTS_", length = 2000) @PropertyDef(label = "采集点信息", description = "格式待定") private String points; @Column(name = "RECEIVE_DATE_") @PropertyDef(label = "检测时间") private Date receiveDate; @Column(name = "CHECK_USER_", length = 30) @PropertyDef(label = "检测人") private String checkUser; @Column(name = "REMARK_", length = 200) @PropertyDef(label = "备注信息") private String remark; }