# CreatedByHandleDTO.java

    package cloud.wconnect.it.pojo.dto.itrequest;

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

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Created By Handle
     *
     * @author: yyt
     * 2024-04-15
     */
    @Data
    public class CreatedByHandleDTO {

        /**
         * 未解决：1，关闭：2
         */
        @NotNull(message = "the status must not be null")
        @Range(min = 1, max = 2, message = "the status must in [1:unsolved, 2:close]")
        private Integer status;

        /**
         * 备注（未解决时，必须填写）
         */
        private String comment;

        public static final int UNSOLVED = 1;

        public static final int CLOSED = 2;

    }