# GmwrMonthEndForecastConfigBasicDTO.java

    package cloud.wconnect.workperformance.pojo.dto.gmwr.monthend;

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

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Month End Forecast Config Basic
     *
     * @author zc
     * @date 2024/10/16
     */
    @Data
    public class GmwrMonthEndForecastConfigBasicDTO {
        /**
         * Category
         */
        @NotNull(message = "The category cannot be null")
        @Range(min = 1, max = 6, message = "The category must be in [1 - 6]")
        private Integer category;
        /**
         * Mapping Name
         */
        @Length(max = 100, message = "The mappingName is limited 100 characters")
        private String mappingName;
    }