From 069c3ea2792899256f46c44ff2bd497d91f91a4d Mon Sep 17 00:00:00 2001 From: CZT <czt18638530771@163.com> Date: 星期五, 08 三月 2024 16:03:30 +0800 Subject: [PATCH] 优化出入库数据同步的必填项 --- src/main/java/com/fzzy/api/entity/Api1212.java | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1212.java b/src/main/java/com/fzzy/api/entity/Api1212.java index ea6590c..fb84f23 100644 --- a/src/main/java/com/fzzy/api/entity/Api1212.java +++ b/src/main/java/com/fzzy/api/entity/Api1212.java @@ -23,7 +23,7 @@ @Entity @Table(name = "API_1212") @EqualsAndHashCode(callSuper = false) -public class Api1212 extends ApiParent implements Serializable { +public class Api1212 implements Serializable { public static String SORT_PROP = "kqmc"; @@ -36,14 +36,14 @@ @JSONField(serialize = false) @Id - @Column(name = "id") + @Column(name = "id", length = 50) private String id; - @PropertyDef(label = "鍗曚綅浠g爜", required = true) + @PropertyDef(label = "鍗曚綅浠g爜") @Column(name = "dwdm", length = 18) private String dwdm; - @PropertyDef(label = "鍗曚綅鍚嶇О", required = true) + @PropertyDef(label = "鍗曚綅鍚嶇О") @Column(name = "dwmc", length = 256) private String dwmc; @@ -55,7 +55,7 @@ @Column(name = "kqmc", length = 256) private String kqmc; - @PropertyDef(label = "瀹㈡埛绫诲瀷", required = true) + @PropertyDef(label = "瀹㈡埛绫诲瀷") @Column(name = "khlx", length = 1) private String khlx; @@ -63,7 +63,7 @@ @Column(name = "khtyshxydmhsfzh", length = 18) private String khtyshxydmhsfzh; - @PropertyDef(label = "瀹㈡埛鍚嶇О", required = true) + @PropertyDef(label = "瀹㈡埛鍚嶇О") @Column(name = "khmc", length = 256) private String khmc; @@ -112,5 +112,13 @@ @Column(name = "zhgxsj") private Date zhgxsj; + @JSONField(serialize = false) + @PropertyDef(label = "涓氬姟id") + @Column(name = "bizId", length = 40) + private String bizId; + @JSONField(serialize = false) + @PropertyDef(label = "鍚屾鏃堕棿", description = "浠庣伯搴撶郴缁熷悓姝ュ埌鎺ュ彛绠$悊涓績鐨勬椂闂�") + @Column(name = "syncTime") + private Date syncTime; } -- Gitblit v1.9.3