Files
gott/Models/ScannedKeyRecord.cs

20 lines
1.0 KiB
C#

namespace Gott.Models;
public class ScannedKeyRecord
{
public long Id { get; set; }
public string ScannedKeyId { get; set; }
public string ApiKey { get; set; }
public string Source { get; set; } // Herkunft: github, serper, gist, pastebin
public string Type { get; set; } // Key-Typ: anthropic_oauth, etc.
public string SourceUrl { get; set; } // URL wo der Key gefunden wurde
public string Status { get; set; } // valid, invalid, auth_error, rate_limited, quota_exceeded, error
public string Plan { get; set; } // Pro, Max, Pro/Max, API, Unknown
public double? Usage7d { get; set; }
public double? Usage5h { get; set; }
public string ScannedAt { get; set; } // Wann gefunden
public string CheckedAt { get; set; } // Wann zuletzt geprüft
public int Deleted { get; set; } // Soft-Delete (1 = gelöscht/ignoriert)
public string AdoptedApiKeyId { get; set; } // Verknüpfung zur api_keys.key_id (null = nicht übernommen)
}