package com.fzzy.async.fzzy61.entity; 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; /** * 综合管理-粮食性质变更,主要是出入库之前做 储备转商品,完成之后 商品转储备。 *
* 变更记录:表名变更为 D_INOUT_VARIETY_CHANGE */ @Data @Entity @Table(name = "D_INOUT_VARIETY_CHANGE") public class Fz61InoutVarietyChange implements Serializable { public static String SORT_PROP = "changeTime"; @Id @Column(name = "ID_", length = 41) @PropertyDef(label = "粮食性质转变单号", description = "由货位代码+划转日期(yyyyMMdd)+3位顺序号组成") private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "DEPT_ID_", length = 40) @PropertyDef(label = "分库编码") private String deptId; @Column(name = "DEPOT_ID_", length = 50) @PropertyDef(label = "所属仓库") private String depotId; @Column(name = "NUMBER_") @PropertyDef(label = "粮食数量", description = "单位:公斤") private Double number = 0.0; @Column(name = "CHANGE_NUMBER_") @PropertyDef(label = "划转数量", description = "单位:公斤") private Double changeNumber = 0.0; @Column(name = "APPROVAL_ID_", length = 40) @PropertyDef(label = "批准文号") private String approvalId; @Column(name = "FOOD_VARIETY_", length = 10) @PropertyDef(label = "粮食品种", description = "代码不足7位需在末位补0") private String foodVariety; /** * 100、储备粮 110、中央储备粮 120、地方储备粮 * 121、省(自治区、直辖市)级地方储备粮 * 122、市(地区、自治州、盟)级地方储备粮 * 123、县(自治县、县级市、旗、自治旗、市辖区、林区、特区)级地方储备粮 * 129、其他储备粮 200、商品粮 270、中储粮系统商品粮 * 280、进口商品粮 290、其他商品粮 300、政策性粮食 * 310、最低收购价粮 320、国家临时存储粮 330、国家临储进口粮 * 340、地方临时存储粮 */ @Column(name = "FOOD_TYPE_", length = 10) @PropertyDef(label = "划转前粮食性质代码") private String foodType; @Column(name = "NEW_FOOD_TYPE_", length = 10) @PropertyDef(label = "划转后粮食性质代码") private String newFoodType; @Column(name = "CHANGE_TIME_") @PropertyDef(label = "划转日期") private Date changeTime; @PropertyDef(label = "仓储审核人") @Column(name = "ccshr", length = 64) private String ccshr; @Column(name = "AUDIT_CCSH_", length = 10) @PropertyDef(label = "审批状态") private String auditCcsh; @Column(name = "INFO_CCSH_", length = 200) @PropertyDef(label = "审核说明") private String InfoCcsh; @PropertyDef(label = "质检审核人") @Column(name = "zjshr", length = 64) private String zjshr; @Column(name = "AUDIT_ZJSH_", length = 10) @PropertyDef(label = "审批状态") private String auditZjsh; @Column(name = "INFO_ZJSH_", length = 200) @PropertyDef(label = "审核说明") private String infoZjsh; @PropertyDef(label = "统计审核人") @Column(name = "tjshr", length = 64) private String tjshr; @Column(name = "AUDIT_TJSH_", length = 10) @PropertyDef(label = "审批状态") private String auditTjsh; @Column(name = "INFO_TJSH_", length = 200) @PropertyDef(label = "审核说明") private String infoTjsh; @PropertyDef(label = "会计审核人") @Column(name = "kjshr", length = 64) private String kjshr; @Column(name = "AUDIT_KJSH_", length = 10) @PropertyDef(label = "审批状态") private String auditKjsh; @Column(name = "INFO_KJSH_", length = 200) @PropertyDef(label = "审核说明") private String infoKjsh; @PropertyDef(label = "领导审核人") @Column(name = "ldshr", length = 64) private String ldshr; @Column(name = "AUDIT_LDSH_", length = 10) @PropertyDef(label = "审批状态", description = "最终审核状态以领导审核为准") private String auditLdsh; @Column(name = "INFO_LDSH_", length = 200) @PropertyDef(label = "审核说明") private String infoLdsh; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "最后更新时间") private Date updateTime; @Column(name = "REMARK_", length = 200) @PropertyDef(label = "备注") private String remark; }