| | |
| | | package com.ld.igds.models; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import javax.persistence.Column; |
| | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | |
| | | /** |
| | | * 环流熏蒸-药品出入库 |
| | | * |
| | | * @ClassName: DrugInOut |
| | | * @date 2018年3月9日 下午3:46:24 |
| | | * 环流熏蒸-药品申请 |
| | | * |
| | | * @version 1.0 |
| | | * @ClassName: DrugApply |
| | | * @date 2018年3月9日 下午3:46:24 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_DRUG_APPLY") |
| | | public class DrugApply { |
| | | |
| | | |
| | | public static final String STATUS_APPLY = "APPLY"; |
| | | |
| | | public class DrugApply implements Serializable { |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "id") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "组织编码", description = "") |
| | | private String companyId; |
| | | public static final String STATUS_APPLY = "APPLY"; |
| | | |
| | | @Column(name = "APPLY_TIME_") |
| | | @PropertyDef(label = "申请时间") |
| | | private Date applyTime; |
| | | |
| | | @Column(name = "APPLY_USER_", length = 30) |
| | | @PropertyDef(label = "申请人") |
| | | private String applyUser; |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "id") |
| | | private String id; |
| | | |
| | | @Column(name = "APPLY_REASON_", length = 300) |
| | | @PropertyDef(label = "用途说明") |
| | | private String applyReason; |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "组织编码", description = "") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DRUG_NAME_", length = 40) |
| | | @PropertyDef(label = "申请药品") |
| | | private String drugName; |
| | | @Column(name = "APPLY_TIME_") |
| | | @PropertyDef(label = "申请时间") |
| | | private Date applyTime; |
| | | |
| | | @Column(name = "COUNT_") |
| | | @PropertyDef(label = "数量") |
| | | private int count; |
| | | @Column(name = "APPLY_USER_", length = 30) |
| | | @PropertyDef(label = "申请人") |
| | | private String applyUser; |
| | | |
| | | @Column(name = "AUDIT_TIME_") |
| | | @PropertyDef(label = "审核时间") |
| | | private Date auditTime; |
| | | @Column(name = "APPLY_REASON_", length = 300) |
| | | @PropertyDef(label = "用途说明") |
| | | private String applyReason; |
| | | |
| | | @Column(name = "AUDIT_USER_", length = 30) |
| | | @PropertyDef(label = "审核人") |
| | | private String auditUser; |
| | | @Column(name = "DRUG_NAME_", length = 40) |
| | | @PropertyDef(label = "申请药品") |
| | | private String drugName; |
| | | |
| | | @Column(name = "AUDIT_REASON_", length = 300) |
| | | @PropertyDef(label = "审核说明") |
| | | private String auditReason; |
| | | @Column(name = "COUNT_") |
| | | @PropertyDef(label = "数量") |
| | | private int count; |
| | | |
| | | @Column(name = "STATUS_", length = 20) |
| | | @PropertyDef(label = "数据状态", description = "APPLY=待审核,PASS=通过,UNPASS=拒绝") |
| | | private String status; |
| | | |
| | | @Column(name = "REMARKS_", length = 300) |
| | | @PropertyDef(label = "备注说明") |
| | | private String remarks; |
| | | @Column(name = "AUDIT_TIME_") |
| | | @PropertyDef(label = "审核时间") |
| | | private Date auditTime; |
| | | |
| | | @Column(name = "AUDIT_USER_", length = 30) |
| | | @PropertyDef(label = "审核人") |
| | | private String auditUser; |
| | | |
| | | @Column(name = "AUDIT_REASON_", length = 300) |
| | | @PropertyDef(label = "审核说明") |
| | | private String auditReason; |
| | | |
| | | @Column(name = "STATUS_", length = 20) |
| | | @PropertyDef(label = "数据状态", description = "APPLY=待审核,PASS=通过,UNPASS=拒绝") |
| | | private String status; |
| | | |
| | | @Column(name = "REMARKS_", length = 300) |
| | | @PropertyDef(label = "备注说明") |
| | | private String remarks; |
| | | |
| | | } |