package com.fs.live.domain;


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

/**
 * 直播间观看用户对象 live_watch_user
 *
 * @author fs
 * @date 2025-01-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LiveWatchUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

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

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

    @Excel(name = "用户头像")
    private String avatar;

    /** 消息状态;0正常1禁言 */
    @Excel(name = "消息状态;0正常1禁言")
    private Integer msgStatus;

    /** 在线状态;0在线1离线 */
    @Excel(name = "在线状态;0在线1离线")
    private Integer online = 0;
    /** 全局用户自见 */
    private Integer globalVisible = 0;
    /** 用户自见 */
    private Integer singleVisible = 0;

    private Long onlineSeconds;

    /** 用户名字 */

    private String nickName;
    private String tabName;

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

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

    /** 用户所在位置 */
    @Excel(name = "用户所在位置")
    private String location;

}
