package com.fzzy.async.fzzy35.entity; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** * 出入库-出库通知单 * * @author czt */ @Data @Entity @Table(name = "D_INOUT_NOTICE_OUT") public class Fz35InoutNoticeOut implements Serializable { /** * */ private static final long serialVersionUID = 1L; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "通知单号") private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "DEPT_ID_", length = 40) @PropertyDef(label = "库区编码", description = "所属分库") private String deptId; @Column(name = "PLAN_ID_", length = 40) @PropertyDef(label = "计划id", description = "计划id与合同id二选一") private String planId; @Column(name = "PLAN_NAME_", length = 50) @PropertyDef(label = "计划名称") private String planName; @Column(name = "CONTRACT_ID_", length = 40) @PropertyDef(label = "合同id", description = "计划id与合同id二选一") private String contractId; @Column(name = "CONTRACT_NAME_", length = 50) @PropertyDef(label = "合同名称") private String contractName; @Column(name = "NAME_", length = 50) @PropertyDef(label = "通知单名称") private String name; @Column(name = "DEPOT_ID_", length = 50) @PropertyDef(label = "仓库") private String depotId; @Column(name = "CUSTOMER_ID_", length = 40) @PropertyDef(label = "收货单位ID") private String customerId; @Column(name = "CUSTOMER_NAME_", length = 50) @PropertyDef(label = "收货单位") private String customerName; @Column(name = "UNIT_NAME_", length = 50) @PropertyDef(label = "发货单位", description = "库区名称,手动填写") private String unitName; @Column(name = "FOOD_VARIETY_", length = 10) @PropertyDef(label = "粮食品种") private String foodVariety; @Column(name = "FOOD_TYPE_", length = 10) @PropertyDef(label = "粮食性质") private String foodType; @Column(name = "FOOD_LEVEL_", length = 10) @PropertyDef(label = "粮食等级") private String foodLevel; @Column(name = "YEAR_", length = 10) @PropertyDef(label = "通知单年份") private String year; @Column(name = "STORAGE_REAL_") @PropertyDef(label = "仓库实际储量", description = "单位:KG") private double storageReal = 0.0; @Column(name = "TARGET_NUMBER_") @PropertyDef(label = "目标数量", description = "单位:KG") private double targetNumber = 0.0; @Column(name = "COMPLETE_NUMBER_") @PropertyDef(label = "完成量", description = "单位:KG") private double completeNumber = 0.0; @Column(name = "AUDIT_STATUS_", length = 10) @PropertyDef(label = "审核状态", description = "为审核,审核通过,拒接") private String auditStatus; @Column(name = "AUDIT_USER_", length = 50) @PropertyDef(label = "审核人") private String auditUser; @Column(name = "COMPLETE_STATUS_", length = 10) @PropertyDef(label = "完成状态", description = "未完成,已完成") private String completeStatus; @Column(name = "CREATE_TIME_") @PropertyDef(label = "创建时间") private Date createTime = new Date(); @Column(name = "CREATE_USER_", length = 50) @PropertyDef(label = "创建人") private String createUser; @Column(name = "COMPLETE_TIME_") @PropertyDef(label = "完成时间") private Date completeTime; @Column(name = "REMARK_", length = 200) @PropertyDef(label = "备注信息") private String remark; }