feat: initialize aivideo project
This commit is contained in:
18
backend/app/modules/system/schema.py
Normal file
18
backend/app/modules/system/schema.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class SystemConfigItemPayload(BaseModel):
|
||||
config_key: str
|
||||
config_value: str
|
||||
value_type: str = "string"
|
||||
group_name: str = "default"
|
||||
description: str = ""
|
||||
is_public: bool = False
|
||||
|
||||
|
||||
class RedeemBatchCreatePayload(BaseModel):
|
||||
batch_no: str
|
||||
points: int
|
||||
quantity: int
|
||||
remark: str = ""
|
||||
|
||||
Reference in New Issue
Block a user