From 306e2714266cef35638514f05cf4f643857608d9 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期三, 26 七月 2023 19:06:34 +0800 Subject: [PATCH] 药剂管理 --- igds-recir/src/main/java/com/ld/igds/models/DrugApply.java | 95 ++++++++++++++++++++++++----------------------- 1 files changed, 48 insertions(+), 47 deletions(-) diff --git a/igds-recir/src/main/java/com/ld/igds/models/DrugApply.java b/igds-recir/src/main/java/com/ld/igds/models/DrugApply.java index ab91394..c3089f7 100644 --- a/igds-recir/src/main/java/com/ld/igds/models/DrugApply.java +++ b/igds-recir/src/main/java/com/ld/igds/models/DrugApply.java @@ -1,5 +1,6 @@ package com.ld.igds.models; +import java.io.Serializable; import java.util.Date; import javax.persistence.Column; @@ -12,68 +13,68 @@ 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=閫氳繃锛孶NPASS=鎷掔粷") - 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=閫氳繃锛孶NPASS=鎷掔粷") + private String status; + + @Column(name = "REMARKS_", length = 300) + @PropertyDef(label = "澶囨敞璇存槑") + private String remarks; } -- Gitblit v1.9.3