# TaImportResultDTO.java

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

    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: TA Import Result
     *
     * @author zc
     * @date 2023/07/10
     */
    @Data
    public class TaImportResultDTO {

        /**
         * 导入日期
         */
        @NotNull(message = "The theDate cannot be null")
        private Long theDate;

        /**
         * 导入结果：1：成功；2：失败
         */
        @NotNull(message = "The importResult cannot be null")
        @Range(min = 1, max = 2, message = "The importResult must be 1:success or 2:fail")
        private Integer importResult;
    }