package com.ruoyi.jarvis.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 企微 inbound 消息追踪 wecom_inbound_trace
 */
public class WeComInboundTrace extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "消息ID")
    private String msgId;

    @Excel(name = "AgentID")
    private String agentId;

    @Excel(name = "CorpId")
    private String corpId;

    @Excel(name = "发送人UserID")
    private String fromUserName;

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "微信发送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date wxMsgTime;

    private String replyContent;

    @Excel(name = "会话进行中", readConverterExp = "0=否,1=是")
    private Integer sessionActive;

    @Excel(name = "会话场景")
    private String sessionScene;

    @Excel(name = "会话步骤")
    private String sessionStep;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getWxMsgTime() {
        return wxMsgTime;
    }

    public void setWxMsgTime(Date wxMsgTime) {
        this.wxMsgTime = wxMsgTime;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public Integer getSessionActive() {
        return sessionActive;
    }

    public void setSessionActive(Integer sessionActive) {
        this.sessionActive = sessionActive;
    }

    public String getSessionScene() {
        return sessionScene;
    }

    public void setSessionScene(String sessionScene) {
        this.sessionScene = sessionScene;
    }

    public String getSessionStep() {
        return sessionStep;
    }

    public void setSessionStep(String sessionStep) {
        this.sessionStep = sessionStep;
    }
}
