# ItticketComment.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 comment
     * </p>
     *
     * @author yyt
     * @since 2023-03-25
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class ItticketComment implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

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

        private Integer itticketId;

        private Integer createId;

        private Long createTime;

        private String content;

        /**
         * 0:comment文字评论 1.comment附件  2.itticket附件
         */
        private Integer commentType;

        /**
         * 拓展.\r\n1.【分配】操作，需要记录分配的【负责人】，也就是分配给谁，{"acceptBy":"分配的责任人 id"}
         */
        private String expansionJson;

        public static final int TYPE_TEXT = 0;

        public static final int TYPE_ATTACHMENT = 1;

        public static final int TYPE_ITTICKET_ATTACHMENT = 2;

        public static final int TYPE_DISTRIBUTION = 3;

        public static final int TYPE_UN_RESOLVE = 4;

    }