package org.dromara.talk.domain.vo;

import java.util.Date;

import org.dromara.talk.domain.TalkSession;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 对话会话视图对象 talk_session
 *
 * @author Lion Li
 * @date 2026-01-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TalkSession.class)
public class TalkSessionVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 会话ID
     */
    @ExcelProperty(value = "会话ID")
    private Long id;

    /**
     * 会话唯一标识
     */
    @ExcelProperty(value = "会话唯一标识")
    private String sessionId;

    /**
     * 客服ID
     */
    @ExcelProperty(value = "客服ID")
    private Long agentId;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 客户电话
     */
    @ExcelProperty(value = "客户电话")
    private String customerPhone;

    /**
     * 对话详细数据
     */
    @ExcelProperty(value = "对话详细数据")
    private String conversationJson;

    /**
     * 会话开始时间
     */
    @ExcelProperty(value = "会话开始时间")
    private Date startTime;

    /**
     * 会话结束时间
     */
    @ExcelProperty(value = "会话结束时间")
    private Date endTime;


}
