shiyunteng
21 小时以前 fca21683e1b5b906d2514082ddfbae8eb820c9ea
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
package com.by4cloud.platformx.business.vo;
 
import com.by4cloud.platformx.business.dto.ContractPaymentScheduleAddDTO;
import com.by4cloud.platformx.business.dto.ContractSubjectMatterAddDTO;
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 lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.List;
 
@Data
public class ContractDetailVo {
 
    private Long id;
 
    @Schema(description = "合同名称")
    private String contractName;
 
    @Schema(description = "甲方id")
    private Long partyAId;
 
    @Schema(description = "甲方名称")
    private String partyA;
 
    @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 Integer supplyAttribute;
 
    @Schema(description = "合同状态(0-草稿 1-已生效 2-已终止 3-已过期)")
    private Integer contractStatus;
 
    @Schema(description = "合同服务属性(0-产品销售 1-无形服务)")
    private Integer contractAttribute;
 
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "签署日期")
    private String signDate;
 
    @Schema(description = "交付周期")
    private Integer deliveryCycle;
 
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "生效日期")
    private String effectiveDate;
 
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "到期日期")
    private String expirationDate;
 
    @Schema(description = "合同附件URL")
    private String attachmentUrl;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "模版ID")
    private Long templateId;
 
    private List<ContractPaymentSchedule> contractPaymentSchedule;
 
    private List<ContractSubjectMatter> contractSubjectMatter;
}