package com.xxfc.platform.im.entity;

import lombok.Data;

import javax.persistence.*;

@Table(name = "im_praise")
@Data
public class ImPraise {
    @Id
    private Long id;

    /**
     * 问题id
     */
    @Column(name = "question_id")
    private Long questionId;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 时间
     */
    private Long time;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 是否显示
     */
    private Integer visible = 1;

    /**
     * 是否删除
     */
    @Column(name = "is_del")
    private Boolean isDel = false;

    private String nickname;

    private String picUrl;

    /**
     * 创建时间
     */
    @Column(name = "crt_time")
    private Long crtTime;
    /**
     * 更新时间
     */
    @Column(name = "upd_time")
    private Long updTime;

}