| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- package com.cyksj.model.views;
- import com.fasterxml.jackson.annotation.JsonProperty;
- import lombok.Getter;
- import lombok.Setter;
- import java.util.Date;
- /**
- * 项目名: yhlxj11111111
- * 文件名: ClaudeCodeUserApiKeysView
- * 创建者: JavaZou
- * 创建时间:2025/8/8 12:13
- */
- @Getter
- @Setter
- public class ClaudeCodeUserApiKeysView {
- /**
- * API Key ID
- */
- private Long id;
- /**
- * 用户ID
- */
- private Long userId;
- /**
- * API Key值(仅创建时返回)
- */
- @JsonProperty("key_value")
- private String keyValue;
- /**
- * 最后使用时间
- */
- @JsonProperty("last_used_at")
- private Date lastUsedAt;
- /**
- * 最后使用IP
- */
- @JsonProperty("last_used_ip")
- private String lastUsedIp;
- /**
- * API Key名称
- */
- private String name;
- /**
- * 前缀
- */
- private String prefix;
- /**
- * 状态
- * active(活跃), inactive(禁用), revoked(已撤销)
- */
- private String status;
- /**
- * 创建时间
- */
- @JsonProperty("created_at")
- private Date createdAt;
- /**
- * 过期时间
- */
- @JsonProperty("expires_at")
- private Date expiresAt;
- }
|