From 029de836702607a95ccb0a69a74efcea52ddc451 Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期四, 25 九月 2025 19:35:38 +0800 Subject: [PATCH] 上海对农数据接口调整2 --- src/main/java/com/fzzy/async/fzzy61/entity/Fz61Depot.java | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 174 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Depot.java b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Depot.java new file mode 100644 index 0000000..fe47a92 --- /dev/null +++ b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Depot.java @@ -0,0 +1,174 @@ +package com.fzzy.async.fzzy61.entity; + +import com.bstek.dorado.annotation.PropertyDef; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import javax.persistence.*; +import java.io.Serializable; +import java.util.Date; + + +/** + * @Desc: 鍩虹淇℃伅-璐т綅淇℃伅 + * @author: Andy + * @update-time: 2023/5/26 + */ +@Data +@Entity +@Table(name = "D_DEPOT") +public class Fz61Depot implements Serializable { + + @Id + @Column(name = "ID_", length = 50) + @PropertyDef(label = "璐т綅缂栧彿") + private String id; + + @Column(name = "COMPANY_ID_", length = 10) + @PropertyDef(label = "缁勭粐缂栫爜") + private String companyId; + + @Column(name = "DEPT_ID_", length = 40) + @PropertyDef(label = "鎵�灞炲垎搴�") + private String deptId; + + @Column(name = "NAME_", length = 50) + @PropertyDef(label = "璐т綅鍚嶇О") + private String name; + + @Column(name = "BUILDING_ID_", length = 40) + @PropertyDef(label = "鎵�灞炰粨鎴�") + private String buildingId; + + @Column(name = "GRANARY_ID_", length = 40) + @PropertyDef(label = "鎵�灞炲粧闂�") + private String granaryId; + + @Column(name = "DEPOT_TYPE_", length = 10) + @PropertyDef(label = "浠撳簱绫诲瀷", description = "鏍规嵁鍥芥爣閰嶇疆绫诲瀷锛屽钩鎴夸粨銆佺珛绛掍粨銆佹祬鍦嗕粨銆佸偍娌圭綈") + private String depotType; + + @Column(name = "DEPOT_STATUS_", length = 10) + @PropertyDef(label = "浠撳簱鐘舵��", description = "涓庡簱瀛樿〃鍏宠仈锛岄�氳繃搴撳瓨鍙樻洿") + private String depotStatus; + + @Column(name = "STORE_TYPE_", length = 6) + @PropertyDef(label = "鍌ㄧ伯鏂瑰紡", description = "涓庡簱瀛樿〃鍏宠仈") + private String storeType; + + @Column(name = "STORAGE_MAX_") + @PropertyDef(label = "璁捐鍌ㄩ噺", description = "鍗曚綅锛欿G") + private Double storageMax; + + @Column(name = "STORAGE_REAL_") + @PropertyDef(label = "瀹為檯鍌ㄩ噺", description = "鍗曚綅锛欿G锛岄�氳繃搴撳瓨鍙樻洿") + private Double storageReal; + + @Column(name = "FOOD_TYPE_", length = 10) + @PropertyDef(label = "绮鎬ц川", description = "涓庡簱瀛樿〃鍏宠仈锛岄�氳繃搴撳瓨鍙樻洿") + private String foodType; + + @Column(name = "FOOD_VARIETY_", length = 10) + @PropertyDef(label = "绮鍝佺", description = "涓庡簱瀛樿〃鍏宠仈锛岄�氳繃搴撳瓨鍙樻洿") + private String foodVariety; + + @Column(name = "FOOD_LEVEL_", length = 10) + @PropertyDef(label = "绮绛夌骇", description = "涓庡簱瀛樿〃鍏宠仈锛岄�氳繃搴撳瓨鍙樻洿") + private String foodLevel; + + @Column(name = "FOOD_LOCATION_ID_", length = 50) + @PropertyDef(label = "绮浜у湴") + private String foodLocationId; + + @Column(name = "FOOD_LOCATION_", length = 50) + @PropertyDef(label = "绮浜у湴", description = "涓庡簱瀛樿〃鍏宠仈锛岄�氳繃搴撳瓨鍙樻洿") + private String foodLocation; + + @Column(name = "FOOD_YEAR_", length = 10) + @PropertyDef(label = "绮骞翠唤", description = "涓庡簱瀛樿〃鍏宠仈锛岄�氳繃搴撳瓨鍙樻洿") + private String foodYear; + + @Column(name = "PER_WET_") + @PropertyDef(label = "姘村垎", description = "鐧惧垎姣旓紝榛樿涓虹┖锛屾潵婧愯川妫�淇℃伅") + private Double perWet; + + @Column(name = "PER_IMPURITY_") + @PropertyDef(label = "鏉傝川", description = "鐧惧垎姣旓紝榛樿涓虹┖锛屾潵婧愯川妫�淇℃伅") + private Double perImpurity; + + @Column(name = "BULK_WEIGHT_") + @PropertyDef(label = "瀹归噸 g/L", description = "瀹归噸 g/L") + private Double bulkWeight; + + @Column(name = "STORE_KEEPER_", length = 30) + @PropertyDef(label = "淇濈鍛樿处鍙�") + private String storeKeeper; + + @Column(name = "STORE_KEEPER_NAME_", length = 50) + @PropertyDef(label = "淇濈鍛�", description = "涓枃鍚嶇О") + private String storeKeeperName; + + @Column(name = "STORE_DATE_") + @PropertyDef(label = "鍏ュ簱鏃堕棿", description = "榛樿绌猴紝閫氳繃搴撳瓨鍙樻洿") + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date storeDate; + + @Column(name = "CHECK_DATE_") + @PropertyDef(label = "鏈�鍚庤川妫�鏃堕棿", description = "榛樿绌猴紝鏉ユ簮璐ㄦ淇℃伅") + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date checkDate; + + @Column(name = "REMARK_", length = 200) + @PropertyDef(label = "澶囨敞", description = "澶囨敞淇℃伅") + private String remark; + + @Column(name = "UPDATE_TIME_") + @PropertyDef(label = "鏁版嵁鏇存柊鏃堕棿") + private Date updateTime; + + @Column(name = "BH_ID_", length = 50) + @PropertyDef(label = "閭︽捣绮儏鍒嗘満浠撳簱缂栫爜") + private String bhId; + + @Column(name = "ORDER_NUM_") + @PropertyDef(label = "鏄剧ず椤哄簭") + private Integer orderNum = 1; + + // ------------鍏朵粬灞炴�т俊鎭�------------// + @Transient + @PropertyDef(label = "绮鍝佺") + private String foodVarietyName; + + @Transient + @PropertyDef(label = "绮鎬ц川") + private String foodTypeName; + + @Transient + @PropertyDef(label = "浠撳簱绫诲瀷") + private String depotTypeName; + + @Transient + @PropertyDef(label = "浠撳簱绫诲瀷") + private String depotStatusName; + + @Transient + @PropertyDef(label = "绮绛夌骇") + private String foodLevelName; + + @Transient + @PropertyDef(label = "X鍧愭爣", description = "涓夌淮妯″瀷涓潗鏍囷紝椤甸潰鏃犻渶缁存姢") + private Double posX; + + @Transient + @PropertyDef(label = "Y鍧愭爣", description = "涓夌淮妯″瀷涓潗鏍囷紝椤甸潰鏃犻渶缁存姢") + private Double posY; + + @Transient + @PropertyDef(label = "淇濈鍛樼瓑绾�") + private String storeKeeperLevel = "楂樼骇淇濈鍛�"; + + @Transient + @PropertyDef(label = "淇濈鍛樼瓑绾�") + private String storeKeeperPhone = "####"; + +} -- Gitblit v1.9.3