# ImportJournalDTO.java

    package cloud.wconnect.finance.pojo.dto.chargeback.journal;

    import cloud.wconnect.commonlib.pojo.dto.group.Addition;
    import jakarta.validation.constraints.NotBlank;
    import lombok.Data;

    import jakarta.validation.constraints.NotNull;
    import org.springframework.web.multipart.MultipartFile;

    /**
     * DTO: Import Journal
     *
     * @author yyt
     * 2023/9/8
     */
    @Data
    public class ImportJournalDTO {

        /**
         * 选择日期时间戳
         */
        @NotNull(message = "the theDate must not be null", groups = Addition.class)
        private Long theDate;

        /**
         * 来源
         */
        @NotBlank(message = "the source must not be blank", groups = Addition.class)
        private String source;

        /**
         * 报告文件
         */
        @NotNull(message = "the file must not be null", groups = Addition.class)
        private MultipartFile file;

    }