diff options
| author | s <[email protected]> | 2025-11-25 09:38:31 -0500 |
|---|---|---|
| committer | s <[email protected]> | 2025-11-25 09:38:31 -0500 |
| commit | 8472267b60b204cea5fbdeaf8fe06443822d1bfb (patch) | |
| tree | eba71104733067072ded109bf96904cd825c2f7f /internal/models/admin.go | |
| parent | bc31d9cc8f93a5efef958872f48f3f4370ed5e29 (diff) | |
| download | dborg-8472267b60b204cea5fbdeaf8fe06443822d1bfb.tar.gz dborg-8472267b60b204cea5fbdeaf8fe06443822d1bfb.zip | |
feat: add crypto analysis, email verification, and telegram lookup commands
Diffstat (limited to 'internal/models/admin.go')
| -rw-r--r-- | internal/models/admin.go | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/internal/models/admin.go b/internal/models/admin.go index 852e80f..ee551f3 100644 --- a/internal/models/admin.go +++ b/internal/models/admin.go @@ -1,15 +1,16 @@ package models type Account struct { - ID int `json:"id"` - APIKey string `json:"api_key"` - Name string `json:"name"` - Credits int `json:"credits"` - Unlimited bool `json:"unlimited"` - Disabled bool `json:"disabled"` - IsPremium bool `json:"is_premium"` - IsAdmin bool `json:"is_admin"` - CreatedAt interface{} `json:"created_at,omitempty"` + ID int `json:"id"` + APIKey string `json:"api_key"` + Name string `json:"name"` + Credits int `json:"credits"` + Unlimited bool `json:"unlimited"` + Disabled bool `json:"disabled"` + IsPremium bool `json:"is_premium"` + IsAdmin bool `json:"is_admin"` + PremiumDiscountPct int `json:"premium_discount_pct,omitempty"` + CreatedAt interface{} `json:"created_at,omitempty"` } type AccountCreateRequest struct { |
