1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| package com.iailab.module.ai.controller.admin.model.vo.apikey;
|
| import io.swagger.v3.oas.annotations.media.Schema;
| import lombok.*;
|
| @Schema(description = "管理后台 - AI API 密钥 Response VO")
| @Data
| public class AiApiKeyRespVO {
|
| @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23538")
| private Long id;
|
| @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "文心一言")
| private String name;
|
| @Schema(description = "密钥", requiredMode = Schema.RequiredMode.REQUIRED, example = "ABC")
| private String apiKey;
|
| @Schema(description = "平台", requiredMode = Schema.RequiredMode.REQUIRED, example = "OpenAI")
| private String platform;
|
| @Schema(description = "自定义 API 地址", example = "https://aip.baidubce.com")
| private String url;
|
| @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
| private Integer status;
|
| }
|
|