| | |
| | | package cn.iocoder.yudao.module.ai.controller.admin.model.vo.apikey; |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | import lombok.Data; |
| | | import java.time.LocalDateTime; |
| | | |
| | | @Schema(description = "管理后台 - AI API 密钥 Response VO") |
| | | @Data |
| | | public class AiApiKeyRespVO { |
| | | |
| | | @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23538") |
| | | @Schema(description = "编号", example = "1") |
| | | private Long id; |
| | | |
| | | @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "文心一言") |
| | | @Schema(description = "密钥名称", example = "通义千问") |
| | | private String name; |
| | | |
| | | @Schema(description = "密钥", requiredMode = Schema.RequiredMode.REQUIRED, example = "ABC") |
| | | private String apiKey; |
| | | |
| | | @Schema(description = "平台", requiredMode = Schema.RequiredMode.REQUIRED, example = "OpenAI") |
| | | @Schema(description = "平台", example = "TongYi") |
| | | private String platform; |
| | | |
| | | @Schema(description = "自定义 API 地址", example = "https://aip.baidubce.com") |
| | | @Schema(description = "API 地址") |
| | | private String url; |
| | | |
| | | @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @Schema(description = "状态", example = "0") |
| | | private Integer status; |
| | | |
| | | @Schema(description = "创建时间") |
| | | private LocalDateTime createTime; |
| | | |
| | | } |