package org.xyzh.common.dto.ai;

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

/**
 * @description AI使用统计表
 * @filename TbAiUsageStatistics.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
public class TbAiUsageStatistics extends BaseDTO {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * @description 用户ID
     */
    private String userID;
    
    /**
     * @description 统计日期
     */
    private Date statDate;
    
    /**
     * @description 会话数量
     */
    private Integer conversationCount;
    
    /**
     * @description 消息数量
     */
    private Integer messageCount;
    
    /**
     * @description 总Token数
     */
    private Integer totalTokens;
    
    /**
     * @description 上传文件数
     */
    private Integer fileCount;

    public String getUserID() {
        return userID;
    }

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

    public Date getStatDate() {
        return statDate;
    }

    public void setStatDate(Date statDate) {
        this.statDate = statDate;
    }

    public Integer getConversationCount() {
        return conversationCount;
    }

    public void setConversationCount(Integer conversationCount) {
        this.conversationCount = conversationCount;
    }

    public Integer getMessageCount() {
        return messageCount;
    }

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

    public Integer getTotalTokens() {
        return totalTokens;
    }

    public void setTotalTokens(Integer totalTokens) {
        this.totalTokens = totalTokens;
    }

    public Integer getFileCount() {
        return fileCount;
    }

    public void setFileCount(Integer fileCount) {
        this.fileCount = fileCount;
    }

    @Override
    public String toString() {
        return "TbAiUsageStatistics{" +
                "id=" + getID() +
                ", userID='" + userID + '\'' +
                ", statDate=" + statDate +
                ", conversationCount=" + conversationCount +
                ", messageCount=" + messageCount +
                ", totalTokens=" + totalTokens +
                ", fileCount=" + fileCount +
                '}';
    }
}
