# SaveMepsGroupConfigDTO.java

    package cloud.wconnect.rateshop.pojo.dto.revenue;

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotEmpty;
    import jakarta.validation.constraints.Pattern;
    import lombok.Data;

    import java.util.Set;

    /**
     * DTO: Save Meps Group Config
     *
     * @author: yyt
     * 2025-06-10
     */
    @Data
    public class SaveMepsGroupConfigDTO {

        /**
         * 指定日期（yyyyMMdd）
         */
        @NotBlank(message = "The date can not be blank")
        @Pattern(regexp = "^\\d{4}\\d{2}\\d{2}$", message = "The date format is incorrect, right format is [yyyyMMdd]")
        private String date;

        /**
         * 关键字
         */
        @NotEmpty(message = "The keyWords can not be empty")
        private Set<String> keyWords;

    }