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/Fz61SecSnapDepot.java | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/fzzy/async/fzzy61/entity/Fz61SecSnapDepot.java b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61SecSnapDepot.java new file mode 100644 index 0000000..8f1d0bd --- /dev/null +++ b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61SecSnapDepot.java @@ -0,0 +1,64 @@ +package com.fzzy.async.fzzy61.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; +import java.util.Date; + +/** + * 浠撳唴瑙嗛鍥惧儚鏁版嵁琛� + */ +@Data +@Entity +@Table(name = "D_SEC_SNAP_DEPOT") +public class Fz61SecSnapDepot { + + public static String SORT_PROP = "updateTime"; + @Id + @Column(name = "ID_", length = 40) + @PropertyDef(label = "涓婚敭") + private String id; + + @Column(name = "COMPANY_ID_", length = 10) + @PropertyDef(label = "缁勭粐缂栫爜") + private String companyId; + + @Column(name = "DEPT_ID_", length = 30) + @PropertyDef(label = "鎵�灞炲垎搴�") + private String deptId; + + @Column(name = "DEPOT_ID_", length = 50) + @PropertyDef(label = "鎵�灞炰粨搴�") + private String depotId; + + @Column(name = "CAMERA_ID_", length = 50) + @PropertyDef(label = "鍏宠仈鎽勫儚澶�") + private String cameraId; + + @Column(name = "RESULT_", length = 30) + @PropertyDef(label = "鎶撴媿缁撴灉") + private String result = "SUCCESS"; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @Column(name = "UPDATE_TIME_") + @PropertyDef(label = "鎶撴媿鏃堕棿") + private Date updateTime; + + @Column(name = "FILE_SUFFIX_", length = 4) + @PropertyDef(label = "鍥惧儚鏂囦欢鍚庣紑鍚�") + private String fileSuffix = "jpg"; + + @Column(name = "FILE_NAME_", length = 100) + @PropertyDef(label = "鏂囦欢鍚嶇О") + private String fileName; + + @Column(name = "PRESET_ ", length = 4) + @PropertyDef(label = "棰勭疆浣嶇紪鍙�") + private String preset; + +} -- Gitblit v1.9.3