# UpdateItticketStatusDTO.java

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

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

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Update Itticket Status
     *
     * @author yyt
     * 2023/3/27
     */
    @Data
    public class UpdateItticketStatusDTO {

        /**
         * 新状态（1:已解决 2:处理中）
         */
        @NotNull(message = "the newStatus must not be null")
        @Range(min = 1, max = 2, message = "the newStatus must in [1:resolve 2:in progress]")
        private Integer newStatus;

    }