package com.fs.chat.vo;

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;

/**
 * 会话对象 chat_session
 *
 * @author fs
 * @date 2024-05-11
 */
@Data
public class ChatSessionListCVO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

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

    /** 客户ID */
    @Excel(name = "客户ID")
    private String userId;

    private String nickname;//客户名称

    private String roleName;//客服名称

    /** 客服ID */
    @Excel(name = "客服ID")
    private String kfId;

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


    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Integer isLook;

    private String companyName;


}
