From 01a9e07288902ff84bf3007030be6a72e2150679 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期五, 08 十一月 2024 16:58:13 +0800 Subject: [PATCH] 7个新增页面,增删改 --- src/main/java/com/fzzy/api/entity/Api1509.java | 100 +++++++++++++++++++++++++------------------------ 1 files changed, 51 insertions(+), 49 deletions(-) diff --git a/src/main/java/com/fzzy/api/entity/Api1509.java b/src/main/java/com/fzzy/api/entity/Api1509.java index 7105e4a..67e6973 100644 --- a/src/main/java/com/fzzy/api/entity/Api1509.java +++ b/src/main/java/com/fzzy/api/entity/Api1509.java @@ -2,13 +2,11 @@ import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import lombok.EqualsAndHashCode; -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.Id; -import javax.persistence.Table; +import javax.persistence.*; import java.io.Serializable; import java.util.Date; @@ -31,38 +29,41 @@ * 閫氳繃鎺ュ彛鑾峰彇鐨勫崟浣嶈处濂楀悗锛屽湪灞�绔嚜鍔ㄤ骇鐢熻处濂楀彿 */ @Id + @Column(name = "ID_", precision = 18) @JSONField(serialize = false) + private String id; + @PropertyDef(label = "璐﹀鍙�") - @Column(name = "nAcctId", length = 9) - private Double nAcctId; + @Column(name = "nacctid", length = 23) + private String nacctid; @PropertyDef(label = "鍥哄畾璧勪骇缂栫爜") - @Column(name = "fixAssetCode", length = 20) - private String fixAssetCode; + @Column(name = "fixassetcode", length = 20) + private String fixassetcode; @PropertyDef(label = "鍥哄畾璧勪骇鑷紪鐮�") - @Column(name = "origFixAssetCode", length = 20) - private String origFixAssetCode; + @Column(name = "origfixassetcode", length = 20) + private String origfixassetcode; @PropertyDef(label = "璧勪骇绫诲埆缂栫爜") - @Column(name = "groupCode", length = 20) - private String groupCode; + @Column(name = "groupcode", length = 20) + private String groupcode; @PropertyDef(label = "鍥哄畾璧勪骇鍚嶇О") - @Column(name = "fixAssetName", length = 80) - private String fixAssetName; + @Column(name = "fixassetname", length = 80) + private String fixassetname; @PropertyDef(label = "璁¢噺鍗曚綅鍚嶇О") - @Column(name = "unitName", length = 20) - private String unitName; + @Column(name = "unitname", length = 20) + private String unitname; @PropertyDef(label = "鍘熷��") - @Column(name = "valueOrg", length = 20, scale = 4) - private Double valueOrg; + @Column(name = "valueorg", length = 20, scale = 4) + private Double valueorg; @PropertyDef(label = "褰撳墠鍘熷��") - @Column(name = "dresentValueOrg", length = 20, scale = 4) - private Double dresentValueOrg; + @Column(name = "dresentvalueorg", length = 20, scale = 4) + private Double dresentvalueorg; /** * 1:涓嶆彁鎶樻棫娉� * 2:骞冲潎骞撮檺娉� @@ -72,12 +73,9 @@ * 6:鍙屽�嶄綑棰濋�掑噺娉� */ @PropertyDef(label = "鎶樻棫鏂规硶") - @Column(name = "deprMethodId", length = 20, scale = 4) - private Double deprMethodId; + @Column(name = "deprmethodid") + private Integer deprmethodid; - @PropertyDef(label = "鍥哄畾璧勪骇鏉ユ簮") - @Column(name = "sourceid", length = 12) - private Double sourceid; /** * 1:鎶曡祫 * 2:鑷缓 @@ -88,9 +86,9 @@ * 7:鎹愯禒 * 8:鎹㈠叆 */ - @PropertyDef(label = "瀵规柟绉戠洰缂栫爜") - @Column(name = "cDFCode", length = 80) - private String cDFCode; + @PropertyDef(label = "鍥哄畾璧勪骇鏉ユ簮") + @Column(name = "sourceid") + private Integer sourceid; @PropertyDef(label = "鍨嬪彿") @Column(name = "model", length = 40) @@ -105,23 +103,23 @@ private String manufacturer; @PropertyDef(label = "浜у湴") - @Column(name = "makingPlace", length = 40) - private String makingPlace; + @Column(name = "makingplace", length = 40) + private String makingplace; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "杩涘崟浣嶆棩鏈�") - @Column(name = "enterDay", length = 10) - private String enterDay; + @Column(name = "enterday", length = 10) + private Date enterday; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "寮�濮嬩娇鐢ㄦ棩鏈�") - @Column(name = "beginUseDay", length = 10) - private String beginUseDay; + @Column(name = "beginuseday", length = 10) + private Date beginuseday; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "寤哄崱鏃ユ湡") - @Column(name = "makinDay", length = 10) - private String makinDay; + @Column(name = "makinday", length = 10) + private Date makinday; @PropertyDef(label = "绠$悊浜�") @Column(name = "keeper", length = 20) @@ -132,31 +130,31 @@ private String maker; @PropertyDef(label = "棰勮浣跨敤鏈熼棿鏁�") - @Column(name = "usingPeriods", precision = 12) - private Double usingPeriods; + @Column(name = "usingperiods") + private Integer usingperiods; @PropertyDef(label = "棰勮鍑�娈嬪��") - @Column(name = "expecRemain", precision = 20, scale = 4) - private Double expecRemain; + @Column(name = "expecremain", precision = 20, scale = 4) + private Double expecremain; @PropertyDef(label = "鍥哄畾璧勪骇瀵瑰簲绉戠洰缂栫爜") - @Column(name = "assetAcctCode", length = 20) - private String assetAcctCode; + @Column(name = "assetacctcode", length = 20) + private String assetacctcode; @PropertyDef(label = "绱鎶樻棫瀵瑰簲绉戠洰缂栫爜") - @Column(name = "deprAcctCode", length = 20) - private String deprAcctCode; + @Column(name = "depracctcode", length = 20) + private String depracctcode; @PropertyDef(label = "绱鎶樻棫") - @Column(name = "accumulateDepr", precision = 20, scale = 4) - private Double accumulateDepr; + @Column(name = "accumulatedepr", precision = 20, scale = 4) + private Double accumulatedepr; /** * 0:鍚� * 1:鏄� */ @PropertyDef(label = "鏄惁鎶ュ簾娓呯悊") - @Column(name = "abadoned", length = 20) + @Column(name = "abadoned", length = 1) private String abadoned; /** @@ -168,13 +166,17 @@ * 6:鐩樹簭 */ @PropertyDef(label = "褰撳墠浣跨敤鐘舵�佸悕绉�") - @Column(name = "presentStatus", length = 20) - private String presentStatus; + @Column(name = "presentstatus", length = 20) + private String presentstatus; @PropertyDef(label = "澶囨敞") @Column(name = "notes", length = 512) private String notes; + @PropertyDef(label = "缁熶竴搴撳尯缂栫爜") + @Column(name = "tykqbm", length = 22) + private String tykqbm; + @PropertyDef(label = "鎿嶄綔鏍囧織") @Column(name = "czbz", length = 1) private String czbz; -- Gitblit v1.9.3