package com.fs.aiChat.domain;

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

import java.util.Date;

@Data
public class InterestAiSession extends BaseEntity {


    /** 会话ID */
    private Long sessionId;

    /** 会话标识 */
    @Excel(name = "会话标识")
    private String chatId;

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

    /** 客服ID */
    @Excel(name = "客服ID")
    private Long roleId;

    /** 客服名称 */
    @Excel(name = "客服名称")
    private String roleName;

    /** 状态 1会话中 2已结束 */
    @Excel(name = "状态 1会话中 2已结束")
    private Integer status;

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

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /**
     * 当前会话最后一条消息记录
     */
    @Excel(name = "最后一条消息记录")
    private String lastContent;

    /**
     * 角色头像
     */
    @Excel(name = "角色头像")
    private String roleAvatar;

    /**
     * 标签
     */
    @Excel(name = "标签")
    private String roleTag;

    @Excel(name = "欢迎语")
    private String welcomeMessage;

    @Excel(name = "文本说明")
    private String textDescription;

    @Excel(name = "最后回复时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastCreateTime;

}
