shiyunteng
2026-05-27 0527f90adf2aea086af681fb8f3dbf49c0a5ed31
platformx-business-finance-api/src/main/java/com/by4cloud/platformx/business/dto/ContractAddDTO.java
@@ -1,7 +1,6 @@
package com.by4cloud.platformx.business.dto;
import com.by4cloud.platformx.business.entity.ContractPaymentSchedule;
import com.by4cloud.platformx.business.entity.ContractSubjectMatter;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
@@ -10,6 +9,7 @@
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@Data
@@ -50,18 +50,16 @@
   @Schema(description = "合同服务属性(0-产品销售 1-无形服务)")
   private Integer contractAttribute;
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   @JsonFormat(pattern = "yyyy-MM-dd")
   @Schema(description = "签署日期")
   private String signDate;
   private Date signDate;
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
   @Schema(description = "生效日期")
   private String effectiveDate;
   @Schema(description = "交付周期")
   private Integer deliveryCycle;
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   @JsonFormat(pattern = "yyyy-MM-dd")
   @Schema(description = "到期日期")
   private String expirationDate;
@@ -71,6 +69,21 @@
   @Schema(description = "备注")
   private String remark;
   @Schema(description = "模版ID")
   private Long templateId;
   @Schema(description = "合同分类")
   private String contractCategory;
   @Schema(description = "执行周期 1/周 2/月 3/季度 4/半年 5/年")
   private String execFrequency;
   @Schema(description = "执行次数")
   private Integer execTimes;
   @Schema(description = "执行日期后多少天生成应收")
   private Integer execDay;
   private List<ContractPaymentScheduleAddDTO> contractPaymentSchedule;
   private List<ContractSubjectMatterAddDTO> contractSubjectMatter;