# BankOverTimeDTO.java

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

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

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Bank Over Time
     *
     * @author yyt
     * 2023/8/24
     */
    @Data
    public class BankOverTimeDTO {

        /**
         * 数据 id
         */
        private Integer id;

        /**
         * bank id
         */
        @NotNull(message = "the bankId must not be null")
        private Integer bankId;

        /**
         * bank name
         */
        private String name;

        /**
         * 天数
         */
        @NotNull(message = "the day must not be null")
        @Range(min = 1, max = 10000, message = "the day must in 1~10000")
        private Integer day;

    }