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;
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
@Schema(description = "生效日期")
|
private String effectiveDate;
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
@Schema(description = "到期日期")
|
private String expirationDate;
|
|
@Schema(description = "合同附件URL")
|
private String attachmentUrl;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
private List<ContractPaymentSchedule> contractPaymentSchedule;
|
|
private List<ContractSubjectMatter> contractSubjectMatter;
|
}
|