# GmwrCommentSaveDTO.java

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

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

    /**
     * DTO: Comment
     *
     * @author zc
     * @date 2024/10/19
     */
    @Data
    public class GmwrCommentSaveDTO {
        /**
         * Category
         */
        @NotNull(message = "The category cannot be null")
        @Range(min = 1, max = 10, message = "Category must be in [1 - 10]")
        private Integer category;
        /**
         * Content
         */
        private String content;

    }