backend_update_260130

This commit is contained in:
lusixing
2026-01-30 14:59:48 -08:00
parent 4b5b6fb976
commit 1991717399
5 changed files with 244 additions and 30 deletions

View File

@@ -67,7 +67,7 @@ class AssetClaimOut(AssetClaim):
class AssetAssign(BaseModel):
asset_id: int
heir_name: str
heir_email: str
class DeclareGuale(BaseModel):
username: str
@@ -87,4 +87,19 @@ class AIResponse(BaseModel):
created: int
model: str
choices: List[dict]
usage: dict
usage: dict
# Subscription Plans Schemas
class SubscriptionPlansBase(BaseModel):
name: str
max_heirs: int
weekly_token_limit: int
max_assets: int
max_storage_mb: int
can_use_ai_proxy: bool
description: Optional[str] = None
class SubscriptionPlansOut(SubscriptionPlansBase):
id: int
model_config = ConfigDict(from_attributes=True)