# TaComparePortalContractPriceConfigDTO.java

    package cloud.wconnect.finance.pojo.dto.ta.compare;

    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: TA 报告比对 Portal 合约价配置
     *
     * @author zc
     * @since 2023-07-07
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public class TaComparePortalContractPriceConfigDTO {

        /**
         * id
         */
        private Long id;

        /**
         * 开始应用日期
         */
        @NotNull(message = "The startingDate cannot be null.")
        private Long startingDate;

        /**
         * 合约价[119,120...]
         */
        @NotBlank(message = "The contractPrice cannot be blank.")
        private String contractPrice;
    }