# UpdateItticketDTO.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;
    import java.util.List;

    /**
     * DTO: Update Itticket
     *
     * @author yyt
     * 2023/3/25
     */
    @Data
    public class UpdateItticketDTO {

        /**
         * category
         */
        @NotNull(message = "the category must not be null")
        private Integer category;

        /**
         * priority
         */
        @NotNull(message = "the priority must not be null")
        private Integer priority;

        /**
         * ccemail，多个中间逗号隔开
         */
        @Length(max = 255, message = "the ccemail max length is 255")
        private String ccemail;

        /**
         * Contact Info
         */
        @NotBlank(message = "the contactInfo must not be blank")
        @Length(max = 255, message = "the contactInfo max length is 255")
        private String contactInfo;

        /**
         * Comments
         */
        private String comments;

        /**
         * 附件
         */
        private List<String> attachments;

        /**
         * Service Vendor Ticket
         */
        @Length(max = 255, message = "the serviceVendorTicket max length is 255")
        private String serviceVendorTicket;

        /**
         * Problem Starts On
         */
        @NotNull(message = "the problemStartsOn must not be null")
        private Long problemStartsOn;

    }