package com.xhkjedu.slive.model.liveplay;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName LCourseSectionChatroom
 * Description TODO 课程课节聊天室表
 * Author WN
 * Date 2021/3/6 9:56
 **/
@Table(name = "l_course_section_chatroom")
@Data
public class LCourseSectionChatroom {
    @Id
    private Integer chatrid;//课程课节聊天室表

    private Integer sectionid;//课节id

    private Integer userid;//用户id

    private String username;//用户姓名

    private String headpic;//头像地址

    private Integer usertype;//用户类型1老师2学生

    private Integer timeunix;//消息发送时间（时间戳）

    private Integer msgtype;//消息类型1文字

    private String msg;//消息内容

    private String mid;//消息id
    
    private String device;//设备
}
