From 2f6bd04715eba821713b9e1492999b7e5be7fcdb Mon Sep 17 00:00:00 2001
From: shiyunteng <shiyunteng@example.com>
Date: 星期四, 27 三月 2025 15:32:33 +0800
Subject: [PATCH] 租赁台账
---
platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java | 83 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 80 insertions(+), 3 deletions(-)
diff --git a/platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java b/platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java
index d7eeaa7..2f70181 100644
--- a/platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java
+++ b/platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java
@@ -11,7 +11,9 @@
import javax.persistence.Column;
import javax.persistence.Entity;
+import javax.persistence.Transient;
import java.util.Date;
+import java.util.List;
/**
* @author kdq
@@ -27,10 +29,17 @@
@Table(appliesTo = "receiving_note", comment = "楠屾敹琛�")
public class ReceivingNote extends BaseModel<ReceivingNote> {
/**
- * 鍚堝悓Id
+ * 鎵跨鍚堝悓Id
*/
- @Column(columnDefinition="long comment '鍚堝悓Id'")
- private Long contractId;
+ @Column(columnDefinition="long comment '鎵跨鍚堝悓Id'")
+ private Long lesseeContractId;
+
+ /**
+ * 绉熺敤鍚堝悓Id
+ */
+ @Column(columnDefinition="long comment '绉熺敤鍚堝悓Id'")
+ private Long rentContractId;
+
@Schema(description = "楠屾敹鍏徃")
@Column(columnDefinition="VARCHAR(64) comment '楠屾敹鍏徃'")
private String releaseCompName;
@@ -56,4 +65,72 @@
@Column(columnDefinition="VARCHAR(32) comment '楠屾敹鍗曠紪鍙�'")
private String releaseCode;
+ /**
+ * 鏉ユ簮绫诲瀷
+ */
+ @Schema(description = "鏉ユ簮绫诲瀷")
+ @Column(columnDefinition="INTEGER comment '鏉ユ簮绫诲瀷'")
+ private String resourceType;
+
+ /**
+ * 鐢熶骇鍘傚晢
+ */
+ @Schema(description = "鐢熶骇鍘傚晢")
+ @Column(columnDefinition="long comment '鐢熶骇鍘傚晢'")
+ private Long manufacturerId;
+
+ /**
+ * 鍑哄巶鏃ユ湡
+ */
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Schema(description = "鍑哄巶鏃ユ湡")
+ @Column(columnDefinition = "datetime comment '鍑哄巶鏃ユ湡'")
+ private Date productDate;
+
+ /**
+ * 楠屾敹鎯呭喌
+ */
+ @Schema(description = "楠屾敹鎯呭喌")
+ @Column(columnDefinition="VARCHAR(1024) comment '楠屾敹鎯呭喌'")
+ private String releaseSituation;
+
+ /**
+ * 鏁存敼鎯呭喌
+ */
+ @Schema(description = "鏁存敼鎯呭喌")
+ @Column(columnDefinition="VARCHAR(1024) comment '鏁存敼鎯呭喌'")
+ private String correctionSituation;
+
+ /**
+ * 楠屾敹缁撹
+ */
+ @Schema(description = "楠屾敹缁撹")
+ @Column(columnDefinition="VARCHAR(1024) comment '楠屾敹缁撹'")
+ private String releaseConclusion;
+
+ /**
+ * 妫�楠屾姤鍛�
+ */
+ @Schema(description = "妫�楠屾姤鍛�")
+ @Column(columnDefinition="VARCHAR(1024) comment '妫�楠屾姤鍛�'")
+ private String inspectionReport;
+
+ /**
+ * 澶囨敞
+ */
+ @Schema(description = "澶囨敞")
+ @Column(columnDefinition="VARCHAR(256) comment '澶囨敞'")
+ private String remarks;
+
+ /**
+ * 浣跨敤鍏徃
+ */
+ @Schema(description = "浣跨敤鍏徃")
+ @Column(columnDefinition="long comment '浣跨敤鍏徃'")
+ private Long deptId;
+
+ @Transient
+ @TableField(exist = false)
+ private List<ReceivingNoteItem> noteItemList;
}
--
Gitblit v1.9.1