# GmwrStrDataNoteDTO.java

    package cloud.wconnect.workperformance.pojo.dto.gmwr.strdata.note;

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

    /**
     * DTO: Str Data Note
     *
     * @author zc
     * @date 2024/11/5
     */
    @Data
    public class GmwrStrDataNoteDTO {
        /**
         * Category
         */
        @NotNull(message = "The category cannot be null")
        @Range(min = 1, max = 3, message = "The category must be int [1 - 3]")
        private Integer category;
        /**
         * Content
         */
        private String content;

    }