package com.fs.live.websocket.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SendMsgVo {
    @ApiModelProperty("直播ID")
    private Long liveId;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("企业ID")
    private Long companyId;
    @ApiModelProperty("企业用户ID")
    private Long companyUserId;
    @ApiModelProperty("用户类型0用户1管理员")
    private Long userType;
    @ApiModelProperty("消息代码")
    private String cmd;
    @ApiModelProperty("发送消息")
    private String msg;
    @ApiModelProperty("消息")
    private String data;
    @ApiModelProperty("名称")
    private String nickName;
    @ApiModelProperty("头像")
    private String avatar;
    private boolean on = false;
    private Integer status;
    private Integer duration;
    /** App 端直播间角色编码，与总后台配置中的角色列表对应，如 USER、ASSISTANT、ANCHOR、ADMIN */
    private String liveRoleCode;
    /** 置顶/取消置顶目标评论 msg_id */
    private Long targetMsgId;

}
