From a45f6c10be2177ccb7f654d1ed2ae208ebb13919 Mon Sep 17 00:00:00 2001 From: shiyunteng <shiyunteng@example.com> Date: 星期三, 26 三月 2025 14:41:24 +0800 Subject: [PATCH] 验收单及明细 生成厂商 --- platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java | 77 +++++++++++++++++++++++++++++++++++++- 1 files changed, 74 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..5670ea3 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 @@ -27,10 +27,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 +63,68 @@ @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; } -- Gitblit v1.9.1