# CheckCaseExistQuery.java

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

    import lombok.Data;

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

    /**
     * Query: Check Case Exist
     *
     * @author yyt
     * 2023/9/8
     */
    @Data
    public class CheckCaseExistQuery {

        /**
         * case numer
         */
        @NotBlank(message = "the caseNumber must not be blank")
        private String caseNumber;

        /**
         * issue date
         */
        @NotBlank(message = "the issueDate must not be blank")
        @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "The issueDate format is incorrect, right format is [yyyy-MM-dd]")
        private String issueDate;

        /**
         * 平台
         */
        @NotNull(message = "the vendor must not be null")
        private Integer vendor;

    }