package tech.easyflow.admin.dto.chatworkspace;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/**
 * 工作台会话摘要。
 */
public class ChatWorkspaceSessionView implements Serializable {

    private BigInteger sessionId;
    private BigInteger assistantId;
    private String assistantCode;
    private String assistantName;
    private String title;
    private String lastMessagePreview;
    private Integer messageCount;
    private Date accessAt;
    private Date lastMessageAt;
    private Boolean continuable;
    private ChatWorkspaceReadOnlyReason readOnlyReason;

    public BigInteger getSessionId() {
        return sessionId;
    }

    public void setSessionId(BigInteger sessionId) {
        this.sessionId = sessionId;
    }

    public BigInteger getAssistantId() {
        return assistantId;
    }

    public void setAssistantId(BigInteger assistantId) {
        this.assistantId = assistantId;
    }

    public String getAssistantCode() {
        return assistantCode;
    }

    public void setAssistantCode(String assistantCode) {
        this.assistantCode = assistantCode;
    }

    public String getAssistantName() {
        return assistantName;
    }

    public void setAssistantName(String assistantName) {
        this.assistantName = assistantName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLastMessagePreview() {
        return lastMessagePreview;
    }

    public void setLastMessagePreview(String lastMessagePreview) {
        this.lastMessagePreview = lastMessagePreview;
    }

    public Integer getMessageCount() {
        return messageCount;
    }

    public void setMessageCount(Integer messageCount) {
        this.messageCount = messageCount;
    }

    public Date getAccessAt() {
        return accessAt;
    }

    public void setAccessAt(Date accessAt) {
        this.accessAt = accessAt;
    }

    public Date getLastMessageAt() {
        return lastMessageAt;
    }

    public void setLastMessageAt(Date lastMessageAt) {
        this.lastMessageAt = lastMessageAt;
    }

    public Boolean getContinuable() {
        return continuable;
    }

    public void setContinuable(Boolean continuable) {
        this.continuable = continuable;
    }

    public ChatWorkspaceReadOnlyReason getReadOnlyReason() {
        return readOnlyReason;
    }

    public void setReadOnlyReason(ChatWorkspaceReadOnlyReason readOnlyReason) {
        this.readOnlyReason = readOnlyReason;
    }
}
