package com.ruoyi.message.frequency.interactionmessagerecord.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 互动消息记录对象 t_interaction_message_record
 * 
 * @author liwenlong
 * @date 2023-10-17
 */
@Data
@Accessors(chain = true)
@TableName("t_interaction_message_record")
public class InteractionMessageRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("租户号")
    private Long id;

    @ApiModelProperty("删除标志;1 正常 2 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty("用户id;设计师和表现师")
    @Excel(name = "用户id;设计师和表现师")
    private Long userId;

    @ApiModelProperty("用户类型")
    @Excel(name = "用户类型")
    private Integer userType;

    @ApiModelProperty("消息类型;1点赞消息 2评论消息 3关注消息")
    @Excel(name = "消息类型;1点赞消息 2评论消息 3关注消息")
    private Integer messageType;

    @ApiModelProperty("标语")
    @Excel(name = "标语")
    private String title;

    @ApiModelProperty("内容")
    @Excel(name = "内容")
    private String content;

    @ApiModelProperty("是否已读;1未读 2 已读")
    @Excel(name = "是否已读;1未读 2 已读")
    private String isRead;

    @ApiModelProperty("是否清空;1 不清空 2 清空")
    @Excel(name = "是否清空;1 不清空 2 清空")
    private String isShow;

    @ApiModelProperty("跳转主体id")
    @Excel(name = "跳转主体id")
    private Long skipId;

    @ApiModelProperty("用户类型 ")
    @Excel(name = "用户类型 ")
    private Integer interactionUserType;

    @ApiModelProperty("互动消息用户id")
    @Excel(name = "互动消息用户id")
    private Long interactionUserId;

    @ApiModelProperty("对应的主体id")
    @Excel(name = "对应的主体id")
    private Long objectId;

    @ApiModelProperty("具体类型看 InteractionMessageEnums 枚举")
    private Integer type;


}
