# CaseCommonQuery.java

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

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

    /**
     * Query: Case Common
     *
     * @author yyt
     * 2023/8/26
     */
    @Data
    public class CaseCommonQuery {

        /**
         * issue date 排序，1正序，2倒序
         */
        @Range(min = 1, max = 2, message = "the sortIssueDate must in [1：asc，2：desc]")
        private Integer sortIssueDate;

        /**
         * due date 排序，1正序，2倒序
         */
        @Range(min = 1, max = 2, message = "the sortDueDate must in [1：asc，2：desc]")
        private Integer sortDueDate;

        /**
         * transaction date 排序，1正序，2倒序
         */
        @Range(min = 1, max = 2, message = "the sortTrxDate must in [1：asc，2：desc]")
        private Integer sortTrxDate;

        /**
         * dispute amount 排序，1正序，2倒序
         */
        @Range(min = 1, max = 2, message = "the sortDisputeAmount must in [1：asc，2：desc]")
        private Integer sortDisputeAmount;

        public static final int ASC = 1;

        public static final int DESC = 2;

    }