# ItticketPriorityDTO.java

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

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

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Itticket Priority
     *
     * @author yyt
     * 2023/10/10
     */
    @Data
    public class ItticketPriorityDTO {

        /**
         * 分类 id
         */
        private Integer id;

        /**
         * 名称
         */
        @NotBlank(message = "the name must not be blank")
        @Length(max = 100, message = "the name max length is 100")
        private String name;

        /**
         * 短描述
         */
        @NotNull(message = "the shortDescription must not be null")
        @Length(max = 255, message = "the shortDescription max length is 255")
        private String shortDescription;

        /**
         * 长描述
         */
        @NotNull(message = "the longDescription must not be null")
        @Length(max = 2000, message = "the longDescription max length is 2000")
        private String longDescription;

    }