# ItHandleDTO.java

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

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

    import jakarta.validation.Valid;

    /**
     * DTO: It Handle
     *
     * @author: yyt
     * 2024-04-15
     */
    @Data
    public class ItHandleDTO {

        /**
         * 接收：1，分配：2，解决：3
         */
        @Range(min = 1, max = 3, message = "the status must in [1:accept, 2:distribution, 3:resolve]")
        private Integer status;

        /**
         * 分配信息（分配时必传）
         */
        @Valid
        private AcceptDTO accept;

        public static final int ACCEPT = 1;

        public static final int DISTRIBUTION = 2;

        public static final int RESOLVE = 3;

    }