package com.fs.qw.domain;

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

import java.io.Serializable;

/**
 * 企微聊天记录对象 qw_msg
 *
 * @author fs
 * @date 2024-12-17
 */
@Data
public class QwMsg extends BaseEntity implements Serializable
{

    /** $column.columnComment */

    private Long msgId;

    /** 会话id */
    @Excel(name = "会话id")
    private Long sessionId;

    /** 外部联系人主键ID */
    @Excel(name = "外部联系人主键ID")
    private String qwExtId;

    /** 企微用户主键iD */
    @Excel(name = "企微用户主键iD")
    private String qwUserId;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String content;

    /** 消息类型 1文本 */
    @Excel(name = "消息类型 1文本")
    private Integer msgType;

    /** 发送类型 1用户发送 2客服发送 */
    @Excel(name = "发送类型 1用户发送 2客服发送")
    private Integer sendType;

    /** 公司ID */
    @Excel(name = "公司ID")
    private Long companyId;

    /** 角色ID */
    @Excel(name = "角色ID")
    private Long roleId;

    /** 销售ID */
    @Excel(name = "销售ID")
    private Long companyUserId;

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

    /** $column.columnComment */
    @Excel(name = "消息JSON")
    private Integer status;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** $column.columnComment */
    @Excel(name = "昵称")
    private String avatar;



}
