package com.fs.live.domain;



import com.baomidou.mybatisplus.annotation.TableField;
import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 直播讨论对象 live_msg
 *
 * @author fs
 * @date 2025-01-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LiveMsg extends BaseEntity {

    /** id */

    private Long msgId;

    /** 直播ID */
    @Excel(name = "直播ID")
    private Long liveId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String nickName;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String avatar;

    /** 消息 */
    @Excel(name = "消息")
    private String msg;

    @TableField(exist = false)
    private Integer singleVisible;

    /** 直播消息标记：0-否 1-是 */
    @Excel(name = "直播消息标记")
    private Integer liveFlag = 0;

    /** 回放消息标记：0-否 1-是 */
    @Excel(name = "回放消息标记")
    private Integer replayFlag = 0;
}
