# GmwrMonthEndNoteDTO.java

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

    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    /**
     * DTO: Month End Note
     *
     * @author zc
     * @date 2024/11/2
     */
    @Data
    public class GmwrMonthEndNoteDTO {
        /**
         * Category
         */
        @NotNull(message = "The category cannot be null")
        @Range(min = 1, max = 7, message = "The category must be in [1 - 7]")
        private Integer category;
        /**
         * Content
         */
        private String content;
    }