package com.ld.igds.models; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.List; /** * 申请表单,全局可用根据类型区分业务 * */ @Data @Entity @Table(name = "D_APPLY_ORDER") public class ApplyOrder 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 = "所属分库") private String deptId; @Column(name = "TYPE_", length = 10) @PropertyDef(label = "业务类型") private String type; @Column(name = "DEPOT_ID_", length = 50) @PropertyDef(label = "关联仓库",description = "多个用逗号隔开") private String depotId; @Column(name = "APPLY_USER_", length = 30) @PropertyDef(label = "申请人") private String applyUser; @Column(name = "APPLY_USER_NAME_", length = 30) @PropertyDef(label = "申请人") private String applyUserName; @Column(name = "APPLY_TIME_") @PropertyDef(label = "申请时间") private Date applyTime; @Column(name = "AUDIT_USER_", length = 30) @PropertyDef(label = "审核人") private String auditUser; @Column(name = "CONDUCT_USER_", length = 200) @PropertyDef(label = "处理人,即有权审核的人员名单",description = "多个用逗号隔开") private String conductUser; @Column(name = "AUDIT_USER_NAME_", length = 30) @PropertyDef(label = "审核人中文名") private String auditUserName; @Column(name = "AUDIT_TIME_") @PropertyDef(label = "审核时间") private Date auditTime; @Column(name = "STATUS_", length = 2) @PropertyDef(label = "状态") private String status; @Column(name = "RECORD_", length = 500) @PropertyDef(label = "申请记录") private String record; @Column(name = "START_") @PropertyDef(label = "有效开始时间") private Date start; @Column(name = "END_") @PropertyDef(label = "有效截止时间") private Date end; @Transient @PropertyDef(label = "临时信息,申请说明和审核说明") private String info; @Transient @PropertyDef(label = "附件信息") private List files; }