package org.xyzh.common.dto.ai;

import org.xyzh.common.dto.BaseDTO;
import java.util.Date;

/**
 * @description 对话会话表
 * @filename TbAiConversation.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
public class TbAiConversation extends BaseDTO {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * @description 用户ID
     */
    private String userID;
    
    /**
     * @description 会话标题
     */
    private String title;
    
    /**
     * @description 状态（0已结束 1进行中）
     */
    private Integer status;
    
    /**
     * @description 消息数量
     */
    private Integer messageCount;
    
    /**
     * @description 最后消息时间
     */
    private Date lastMessageTime;

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getTitle() {
        return title;
    }

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

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getMessageCount() {
        return messageCount;
    }

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

    public Date getLastMessageTime() {
        return lastMessageTime;
    }

    public void setLastMessageTime(Date lastMessageTime) {
        this.lastMessageTime = lastMessageTime;
    }

    @Override
    public String toString() {
        return "TbAiConversation{" +
                "id=" + getID() +
                ", userID='" + userID + '\'' +
                ", title='" + title + '\'' +
                ", status=" + status +
                ", messageCount=" + messageCount +
                ", lastMessageTime=" + lastMessageTime +
                '}';
    }
}
