1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
package com.by4cloud.platformx.business.vo;
 
import com.by4cloud.platformx.business.entity.ContractPaymentSchedule;
import com.by4cloud.platformx.business.entity.ContractSubjectMatter;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Column;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
@Data
public class ContractDetailVo {
 
    private Long id;
 
    @Schema(description = "合同名称")
    private String contractName;
 
    @Schema(description = "合同名称")
    private String contractNo;
 
    @Schema(description = "甲方id")
    private Long partyAId;
 
    @Schema(description = "甲方名称")
    private String partyA;
 
    @Schema(description = "甲方税号")
    private String partyAOrgCode;
 
    @Schema(description = "乙方id")
    private Long partyBId;
 
    @Schema(description = "乙方名称")
    private String partyB;
 
    @Schema(description = "合同金额")
    private Double amount;
 
    @Schema(description = "币种(CNY/USD等)")
    private String currency;
 
    @Schema(description = "合同类型(0-生成式 1-备案式)")
    private Integer contractType;
 
    @Schema(description = "供应属性 0-成品 1-备件 2-大修 3-其他")
    private String supplyAttribute;
 
    @Schema(description = "合同状态(0-草稿 1-已生效 2-已终止 3-已过期)")
    private Integer contractStatus;
 
    @Schema(description = "合同服务属性(0-产品销售 1-无形服务)")
    private Integer contractAttribute;
 
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "签署日期")
    private Date signDate;
 
    @Schema(description = "交付周期")
    private Integer deliveryCycle;
 
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "生效日期")
    private Date effectiveDate;
 
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "到期日期")
    private Date expirationDate;
 
    @Schema(description = "合同附件URL")
    private String attachmentUrl;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "模版ID")
    private Long templateId;
 
    @Schema(description = "合同分类")
    private String contractCategory;
 
    @Schema(description = "签订地点")
    private String signPlace;
 
    @Schema(description = "执行周期 1/周 2/月 3/季度 4/半年 5/年")
    private String execFrequency;
 
    @Schema(description = "执行次数")
    private Integer execTimes;
 
    @Schema(description = "执行日期后多少天生成应收")
    private Integer execDay;
 
    @Schema(description = "环境")
    private String environment;
 
    @Schema(description = "标准")
    private String standard;
 
    @Schema(description = "质保期 使用月数")
    private BigDecimal useMonth;
 
    @Schema(description = "质保期 发货后月数")
    private BigDecimal afterShipMonth;
 
    @Schema(description = "货运方式")
    private String shipMethod;
 
    @Schema(description = "货运地址")
    private String shipAddress;
 
    @Schema(description = "包装")
    private String packaging;
 
    @Schema(description = "维修或换货期限")
    private BigDecimal repairPeriod;
 
    @Schema(description = "维修或换货 违约金")
    private BigDecimal repairBreachAmount;
 
    @Schema(description = "货物数量不足 补货天数")
    private BigDecimal goodsShort;
 
    @Schema(description = "货物数量不足 违约金")
    private BigDecimal goodsShortBreachAmount;
 
    @Schema(description = "每逾期一日,承担本合同总额 违约金")
    private BigDecimal overdueBreachAmount;
 
    @Schema(description = "逾期  日以上的,甲方有权解除合同")
    private BigDecimal terminateContract;
 
    @Schema(description = "双方均可向 人民法院")
    private String court;
 
    @Schema(description = "本合同附件包括:")
    private String contractAttchment;
 
    @Schema(description = "合同签订市")
    private String city;
 
    @Schema(description = "合同签订区")
    private String region;
 
    @Schema(description = "开票通知在 个工作日内")
    private BigDecimal invoiceNotice;
 
    @Schema(description = "合同总价税率")
    private BigDecimal contractTax;
 
    @Schema(description = "经济事项 bip推送应收用")
    private String economicMatters;
 
    private String industryCode;
 
    @Schema(description = "需方在接到通知后    日内进行检验")
    private BigDecimal inspectDay;
 
    @Schema(description = "收到供方通知后   日内派人验收")
    private BigDecimal acceptDay;
 
    @Schema(description = "延验收超过   日")
    private BigDecimal delayAcceptDay;
 
    @Schema(description = "验收合格后      个工作日")
    private BigDecimal acceptPassDay;
 
    @Schema(description = "验收合格向供方足额支付合同总价的")
    private BigDecimal acceptPassAmount;
 
    @Schema(description = "日内开始发货")
    private BigDecimal deliverDay;
 
    @Schema(description = "日内发完")
    private BigDecimal deliverCompleteDay;
 
    @Schema(description = "供方代理")
    private String supplierAgent;
 
    @Schema(description = "供方代理身份证")
    private String supplierAgentIdCard;
 
    @Schema(description = "需方代理")
    private String buyerAgent;
 
    @Schema(description = "需方代理身份证")
    private String buyerAgentIdCard;
 
    private String agentAuthority;
 
    @Schema(description = "延期支付预付款")
    private BigDecimal delayPayAdvancePayment;
 
    @Schema(description = "延期支付进度款")
    private BigDecimal delayPayProcessPayment;
 
    @Schema(description = "收到预付款之日起   个月内未生产完成")
    private BigDecimal receiveAdvancePaymentMonth;
 
    @Schema(description = "并提前    各工作日通知需方验收")
    private BigDecimal noticeSupplierAcceptDay;
 
    @Schema(description = "每逾期    日")
    private BigDecimal overdueDay;
 
    @Schema(description = "按合同总价的      偿付需方损失")
    private BigDecimal lossAmount;
 
    @Schema(description = "违约金最高不超过合同总价的")
    private BigDecimal liquidatedDamagesHighSupplier;
 
    @Schema(description = "需方如逾期付款每逾期    日")
    private BigDecimal overdueDayXf;
 
    @Schema(description = "需方如逾期付款按合同总价的      偿付需方损失")
    private BigDecimal lossAmountXf;
 
    @Schema(description = "违约金最高不超过合同总价的")
    private BigDecimal liquidatedDamagesHighBuyer;
 
    @Schema(description = "本合同一式     份")
    private BigDecimal totalParts;
 
    @Schema(description = "供方执   份")
    private BigDecimal supplierPart;
 
    @Schema(description = "需方执    份")
    private BigDecimal buyerPart;
 
    @Schema(description = "付款方式")
    private String paymentMethod;
 
    private BigDecimal advancePayment;
 
    private List<ContractPaymentSchedule> contractPaymentSchedule;
 
    private List<ContractSubjectMatter> contractSubjectMatter;
}