Improved Licensing
This commit is contained in:
@@ -365,8 +365,7 @@ class LicenseKey(DBModel):
|
||||
|
||||
# Limits
|
||||
max_employees: int = 5
|
||||
max_posts_per_day: int = 10
|
||||
max_researches_per_day: int = 5
|
||||
daily_token_limit: Optional[int] = None # None = unlimited
|
||||
|
||||
# Usage
|
||||
used: bool = False
|
||||
@@ -382,7 +381,6 @@ class CompanyDailyQuota(DBModel):
|
||||
id: Optional[UUID] = None
|
||||
company_id: UUID
|
||||
date: date
|
||||
posts_created: int = 0
|
||||
researches_created: int = 0
|
||||
tokens_used: int = 0
|
||||
created_at: Optional[datetime] = None
|
||||
updated_at: Optional[datetime] = None
|
||||
|
||||
Reference in New Issue
Block a user