initial commit
This commit is contained in:
13
back/app/order/models.py
Normal file
13
back/app/order/models.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from datetime import datetime
|
||||
|
||||
from beanie import Document
|
||||
|
||||
|
||||
class Order(Document):
|
||||
id: str
|
||||
client: str
|
||||
created_at: datetime
|
||||
updated_at: datetime
|
||||
|
||||
class Settings:
|
||||
name = "order_collection"
|
||||
Reference in New Issue
Block a user