package com.qiuguo.iot.data.entity.user;
import org.hswebframework.ezorm.rdb.mapping.annotation.Comment;
import org.hswebframework.web.crud.annotation.EnableEntityEvent;
import org.hswebframework.web.api.crud.entity.GenericEntity;
import javax.persistence.Column;
import javax.persistence.Table;import lombok.Data;
import java.util.Date;
/**
* <p>
* </p>*意见反馈记录
* @author wulin
* @since 2023-08-08
*/

@Data
@Comment("意见反馈记录")
@Table(name = "user_suggestion_record")
@EnableEntityEvent
public class UserSuggestionRecordEntity  extends GenericEntity<Long> {
    @Comment("id")
    @Column(name = "id", length = 11, nullable = false, unique = true)
    private Long id;

    @Comment("是否删除：0 否 1 删除")
    @Column(name = "is_delete", nullable = false)
    private Integer isDelete;

    @Comment("创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @Comment("修改时间")
    @Column(name = "modify_time")
    private Date modifyTime;

    @Comment("用户id")
    @Column(name = "user_id", nullable = false)
    private Long userId;

    @Comment("反馈内容")
    @Column(name = "suggestion", length = 255, nullable = false)
    private String suggestion;

    @Comment("处理人id")
    @Column(name = "system_user_id", length = 255, nullable = false)
    private Long systemUserId;

    @Comment("处理意见")
    @Column(name = "resolution", length = 255)
    private String resolution;

    @Comment("意见类型：0：设备问题 1 技能服务 2 app问题")
    @Column(name = "suggestion_type")
    private Integer suggestionType;

}