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/Fz61Pest.java | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 109 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Pest.java b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Pest.java new file mode 100644 index 0000000..f6931e3 --- /dev/null +++ b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Pest.java @@ -0,0 +1,109 @@ +package com.fzzy.async.fzzy61.entity; + +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; + +import javax.persistence.*; +import java.io.Serializable; +import java.util.Date; + +/** + * 铏缁熻 + * + * @author: andy.jia + * @description: + * @version: + * @data:2019骞�12鏈�25鏃� + * + */ +@Data +@Entity +@Table(name = "D_PEST") +@IdClass(Fz61PestKey.class) +public class Fz61Pest implements Serializable { + + public static String SORT_PROP = "batchId"; + + @Id + @Column(name = "BATCH_ID_", length = 40) + @PropertyDef(label = "鎵规ID") + private String batchId; + + @Id + @Column(name = "COMPANY_ID_", length = 10) + @PropertyDef(label = "缁勭粐缂栫爜", description = "") + private String companyId; + + @Id + @Column(name = "DEPOT_ID_", length = 50) + @PropertyDef(label = "浠撳簱ID", description = "浠撳簱缂栧彿") + private String depotId; + + @Column(name = "PEST_MAX_") + @PropertyDef(label = "鏈�澶氭暟閲�") + private int pestMax = 0; + + @Column(name = "METHOD_", length = 10) + @PropertyDef(label = "铏妫�娴嬫柟娉�", description = "0-绮爢鎵︽牱锛�1-澧欓潰绮潰妫�鏌�") + private String method; + + @Column(name = "POSITION_", length =30) + @PropertyDef(label = "鍙戠敓閮ㄤ綅") + private String position; + + @Column(name = "PEST_TYPE_", length =30) + @PropertyDef(label = "铏绉嶇被") + private String pestType; + + @Column(name = "PEST_LEVEL_", length =30) + @PropertyDef(label = "铏伯绛夌骇鍒ゅ畾") + private String pestLevel; + + @Column(name = "PEST_ANALYSIS_", length =60) + @PropertyDef(label = "瀹宠櫕鎶楄嵂鎬у垎鏋�") + private String pestAnalysis; + + @Column(name = "PEST_START_") + @PropertyDef(label = "铏閲囬泦鐐瑰紑濮�", description = "姘斾綋閰嶇疆淇℃伅") + private int pestStart; + + @Column(name = "PEST_END_") + @PropertyDef(label = "铏閲囬泦鐐规埅鑷�", description = "姘斾綋閰嶇疆淇℃伅") + private int pestEnd; + + @Column(name = "CHECK_NUM_") + @PropertyDef(label = "閲囬泦閫氶亾涓暟") + private int checkNum = 0; + + @Column(name = "RECEIVE_DATE_") + @PropertyDef(label = "妫�娴嬫椂闂�") + private Date receiveDate; + + @Column(name = "POINTS_", length = 2000) + @PropertyDef(label = "閲囬泦鐐逛俊鎭�", description = "鍥哄畾涓猴細passCode,num;passCode,num;") + private String points; + + @Column(name = "CHECK_USER_", length = 30) + @PropertyDef(label = "妫�娴嬩汉") + private String checkUser; + + @Column(name = "BATCH_TAG_", length = 2) + @PropertyDef(label = "鐢熸垚鏂瑰紡", description = "01-璁惧閲囬泦锛�02-鎵嬪姩琛ュ綍") + private String batchTag = "01"; + + @Column(name = "REMARK_", length = 200) + @PropertyDef(label = "澶囨敞淇℃伅") + private String remark; + + + @Override + public String toString() { + return "Pest [batchId=" + batchId + ", companyId=" + companyId + + ", depotId=" + depotId + ", pestMax=" + pestMax + + ", checkNum=" + checkNum + ", receiveDate=" + + receiveDate + ", points=" + points + ", checkUser=" + + checkUser + ", remark=" + remark + "]"; + } + + +} -- Gitblit v1.9.3