# Itticket.java

    package cloud.wconnect.it.entity.itrequest;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     *  it request
     * </p>
     *
     * @author yyt
     * @since 2023-03-25
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class Itticket implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 主键编号
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * category
         */
        private Integer category;

        /**
         * 0:Normal 1:Urgent 2:Critical
         */
        private Integer priority;

        /**
         * 资产
         */
        private Integer propertyId;

        /**
         * 创建人
         */
        private Integer userId;

        /**
         * 0: 正常  1:已解决 2:处理中 3:进行中
         */
        private Integer ticketStatus;

        /**
         * 备注
         */
        private String comments;

        /**
         * 联系人信息
         */
        private String contactInfo;

        /**
         * 通知人邮件
         */
        private String ccemail;

        /**
         * 完成人
         */
        private Integer dutyUser;

        /**
         * 创建时间
         */
        private Long ticketCreateTime;

        /**
         * 解决时间
         */
        private Long resolveTime;

        /**
         * Service Vendor Ticket
         */
        private String serviceVendorTicket;

        /**
         * Problem Starts On
         */
        private Long problemStartsOn;

        /**
         * 接收/分配 时间
         */
        private Long acceptTime;

        /**
         * 关闭人，系统关闭时为0
         */
        private Integer closedBy;

        /**
         * 关闭时间
         */
        private Long closedTime;

        public static final int STATUS_OPEN = 0;

        public static final int STATUS_RESOLVE = 1;

        public static final int STATUS_IN_PROGRESS = 2;

    }