feat: initialize aivideo project
This commit is contained in:
15
backend/app/modules/pricing/schema.py
Normal file
15
backend/app/modules/pricing/schema.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from datetime import datetime
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class PricingRulePayload(BaseModel):
|
||||
rule_name: str
|
||||
video_model_id: int
|
||||
points_per_second: int
|
||||
minimum_points: int
|
||||
effective_at: datetime
|
||||
expired_at: datetime | None = None
|
||||
version_no: int = 1
|
||||
status: int = 1
|
||||
|
||||
Reference in New Issue
Block a user