package com.seer.teach.admin.response;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * AiApiKey响应类
 */
@Data
public class AdminAiApiKeyResp {
    private Integer id;
    private String keyName;
    /**
     * 身份标识
     */
    private String ak;

    /**
     * 请求签名
     */
    private String sk;

    /**
     * URL
     */
    private String url;
    private String apiKey;
    private String platform;
    private Integer status;
    private Integer rateLimit;
    private Integer dailyLimit;
    /**
     * 已使用token总数
     */
    private Integer usedTokenCount;

    /**
     * 已使用的生成的img的总数
     */
    private Integer usedImgCount;
    private LocalDateTime lastUsed;
    private LocalDateTime expireTime;
    private Integer isDefault;
    private Integer ownerId;
    private Integer deleted;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String createBy;
    private String updateBy;
    private String tenantId;
}