From c05ddf57634572b43869e00d426efe05d2df5077 Mon Sep 17 00:00:00 2001
From: shiyunteng <shiyunteng@example.com>
Date: 星期三, 10 六月 2026 08:16:23 +0800
Subject: [PATCH] feat:模版合同加备注、水电房屋租赁执行次数改为合同有效期、合同履约列表新增双方履约、开票新增拟开票数量
---
platformx-business-finance-api/src/main/java/com/by4cloud/platformx/business/entity/ContractOutBound.java | 78 +++++++++++++++++++++++++++++++++++++++
1 files changed, 78 insertions(+), 0 deletions(-)
diff --git a/platformx-business-finance-api/src/main/java/com/by4cloud/platformx/business/entity/ContractOutBound.java b/platformx-business-finance-api/src/main/java/com/by4cloud/platformx/business/entity/ContractOutBound.java
index d4d3c81..23e92ef 100644
--- a/platformx-business-finance-api/src/main/java/com/by4cloud/platformx/business/entity/ContractOutBound.java
+++ b/platformx-business-finance-api/src/main/java/com/by4cloud/platformx/business/entity/ContractOutBound.java
@@ -21,6 +21,10 @@
@jakarta.persistence.Table(name = "contract_out_bound")//鏁版嵁搴撳垱寤虹殑琛ㄦ槑
public class ContractOutBound extends BaseModel<ContractOutBound> {
+ @Schema(description = "Erp鍑哄簱Id")
+ @Column(columnDefinition = "bigint comment 'Erp鍑哄簱Id'")
+ private Long OutBoundId;
+
@Schema(description = "鍏宠仈鍚堝悓ID")
@Column(columnDefinition = "bigint not null comment '鍏宠仈鍚堝悓ID'")
private Long contractId;
@@ -61,4 +65,78 @@
@Schema(description = "鍗曟嵁璺緞")
@Column(columnDefinition="text comment '鍗曟嵁璺緞'")
private String outBoundAttPaths;
+
+ @Schema(description = "鍒拌揣鏃堕棿")
+ @Column(columnDefinition="datetime comment '鍒拌揣鏃堕棿'")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date arrivalTime;
+
+ @Schema(description = "鍒拌揣鍗曟嵁鍚嶇О")
+ @Column(columnDefinition="text comment '鍒拌揣鍗曟嵁鍚嶇О'")
+ private String arrivalAttNames;
+
+ @Schema(description = "鍒拌揣鍗曟嵁璺緞")
+ @Column(columnDefinition="text comment '鍒拌揣鍗曟嵁璺緞'")
+ private String arrivalAttPaths;
+
+ @Schema(description = "寮�绁ㄧ姸鎬侊紙0-鏈紑绁� 1-寮�绁ㄤ腑 2-宸插紑绁級")
+ @Column(columnDefinition = "char default 0 comment '寮�绁ㄧ姸鎬侊紙0-鏈紑绁� 1-寮�绁ㄤ腑 2-宸插紑绁級'")
+ private String invoiceStatus;
+
+ @Schema(description = "宸插紑绁ㄦ暟閲�")
+ @Column(columnDefinition="decimal(10,2) comment '宸插紑绁ㄦ暟閲�'")
+ private BigDecimal invoiceNum;
+
+
+// //浠ヤ笅寮�绁ㄧ浉鍏�
+//
+// @Schema(description = "缁撶畻id")
+// @Column(columnDefinition = "bigint default null comment '缁撶畻id'")
+// private Long saleCreditId;
+//
+
+//
+// @Schema(description = "鎬诲崟浠�")
+// @Column(columnDefinition = "decimal(10,0) comment '鎬诲崟浠�'")
+// private BigDecimal totalPrice;
+//
+// @Schema(description = "鎬荤◣棰�")
+// @Column(columnDefinition = "decimal(10,0) comment '鎬荤◣棰�'")
+// private BigDecimal totalTax;
+//
+// //浜у搧淇℃伅
+//
+// @Schema(description = "浜у搧id")
+// @Column(columnDefinition = "bigint comment '浜у搧id'")
+// private Long productId;
+//
+// @Schema(description = "寮�绁ㄤ骇鍝佸悕绉�")
+// @Column(columnDefinition = "VARCHAR(50) comment '寮�绁ㄤ骇鍝佸悕绉�'")
+// private String invoiceName;
+//
+// @Schema(description = "绋庣巼锛堢櫨鍒嗘瘮锛屽13琛ㄧず13%锛�")
+// @Column(columnDefinition = "double default 0.00 comment '绋庣巼'")
+// private Double taxRate;
+//
+// @Schema(description = "绋庢敹鍒嗙被")
+// @Column(columnDefinition = "VARCHAR(50) comment '绋庢敹鍒嗙被'")
+// private String taxClass;
+//
+// @Schema(description = "绋庢敹缂栫爜")
+// @Column(columnDefinition = "VARCHAR(80) comment '绋庢敹缂栫爜'")
+// private String taxCode;
+//
+// //鍚堝悓鏍囩殑鐗╀腑淇℃伅
+//
+// @Schema(description = "鏍囩殑鐗╄鏍�/鍨嬪彿")
+// @Column(columnDefinition = "VARCHAR(200) comment '鏍囩殑鐗╄鏍�/鍨嬪彿'")
+// private String specification;
+//
+// @Schema(description = "璁¢噺鍗曚綅锛堜釜/鍙�/鍚�/椤�/濂楃瓑锛�")
+// @Column(columnDefinition = "VARCHAR(20) comment '璁¢噺鍗曚綅'")
+// private String unit;
+//
+// @Schema(description = "鍗曚环")
+// @Column(columnDefinition = "decimal(10,2) comment '鍗曚环'")
+// private BigDecimal unitPrice;
}
--
Gitblit v1.9.1