package com.mosquito.project.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;
import java.time.OffsetDateTime;

/**
 * API密钥列表项响应DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ApiKeyListItemResponse {
    private Long id;
    private String name;
    private String keyPrefix;
    private Long activityId;
    private Boolean enabled;
    private OffsetDateTime createdAt;
    private OffsetDateTime lastUsedAt;
    private OffsetDateTime revealedAt;
    private OffsetDateTime revokedAt;
}
