From f2cc6329ad768b2daa08876d2cfd7a84cbe42735 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期四, 16 十一月 2023 09:55:20 +0800 Subject: [PATCH] 设备同步-添加生产厂家 --- src/main/java/com/fzzy/api/entity/Api1212.java | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 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..09a85c1 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"; @@ -39,11 +39,11 @@ @Column(name = "id") 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