# UpdateEngineeringRequestStatusDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.engineeringrequest;

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

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Update Engineering Request Status
     *
     * @author yyt
     * 2023/3/29
     */
    @Data
    public class UpdateEngineeringRequestStatusDTO {

        /**
         * 新状态（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;

    }