From 246752d298f9955b1112c3028f271d546fd3bc3b Mon Sep 17 00:00:00 2001 From: CZT <czt18638530771@163.com> Date: 星期三, 18 十月 2023 16:39:44 +0800 Subject: [PATCH] 调整单位、库区、仓房、廒间、货位等基础信息 --- src/main/java/com/fzzy/api/entity/Api1105.java | 39 ++++++++++++++++++++++++++++----------- 1 files changed, 28 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1105.java b/src/main/java/com/fzzy/api/entity/Api1105.java index 06c73aa..c7d13ec 100644 --- a/src/main/java/com/fzzy/api/entity/Api1105.java +++ b/src/main/java/com/fzzy/api/entity/Api1105.java @@ -2,16 +2,12 @@ import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; - import lombok.Data; import lombok.EqualsAndHashCode; - - import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; - import java.io.Serializable; import java.util.Date; @@ -22,13 +18,11 @@ @Entity @Table(name = "API_1105") @EqualsAndHashCode(callSuper=false) -public class Api1105 extends ApiParent implements Serializable { +public class Api1105 implements Serializable { - /** - * - */ private static final long serialVersionUID = -6967028172020353365L; + /*----------鍥芥爣瀛楁----------*/ @Id @PropertyDef(label = "璐т綅浠g爜" ) @Column(name = "hwdm", length = 30) @@ -44,12 +38,12 @@ @PropertyDef(label = "璐т綅鍚敤鏃ユ湡" ) @JSONField(format = "yyyy-MM-dd") - @Column(name = "hwqyrq", nullable = false) + @Column(name = "hwqyrq") private Date hwqyrq; @PropertyDef(label = "璐т綅瀹归噺" ) @Column(name = "hwrl", precision = 20, scale = 6) - private double hwrl; + private Double hwrl; @PropertyDef(label = "淇濈鍗曚綅" ) @Column(name = "bgdw", length = 128) @@ -65,7 +59,30 @@ @PropertyDef(label = "鏈�鍚庢洿鏂版椂闂�" ) @JSONField(format = "yyyy-MM-dd HH:mm:ss") - @Column(name = "zhgxsj", nullable = false) + @Column(name = "zhgxsj") private Date zhgxsj; + + /*----------涓婃捣甯傚钩鍙拌鑼冨瓧娈�----------*/ + @PropertyDef(label = "鏍囪浣�") + @Column(name = "bjw", length = 40) + private String bjw; + + + /*----------鎺ュ彛绯荤粺鑷畾涔夊瓧娈�----------*/ + @JSONField(serialize = false) + @PropertyDef(label = "涓氬姟id") + @Column(name = "bizId", length = 40) + private String bizId; + + @JSONField(serialize = false) + @PropertyDef(label = "搴撳尯浠g爜") + @Column(name = "kqdm", length = 21) + private String kqdm; + + @JSONField(serialize = false) + @PropertyDef(label = "鍚屾鏃堕棿", description = "浠庣伯搴撶郴缁熷悓姝ュ埌鎺ュ彛绠$悊涓績鐨勬椂闂�") + @Column(name = "syncTime") + private Date syncTime; + } -- Gitblit v1.9.3