ContractPaymentDTO.java 667 Bytes
package vion.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class ContractPaymentDTO {
    private Long id;

    /**
     * 合同ID
     */
    private Long contractId;

    /**
     * 付款方式:1-签订 2-发货 3-货到 4-安装 5-验收 6-质保
     */
    private Integer paymentType;

    /**
     * 付款比例
     */
    private BigDecimal paymentRatio;

    /**
     * 节点日期,指合同到这一阶段时的时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date nodeDate;

}