Renamed hooks on frontend and started working on shop registration
This commit is contained in:
1 parent
3b42ea6914
commit
9c2b88b103
35 files changed
+180
-37
No files matched your search
@@ -0,0 +1,8 @@
|
||||
|
||||
from sqlmodel import Field, SQLModel
|
||||
|
||||
|
||||
class ShopCreate(SQLModel):
|
||||
name: str = Field(max_length=100, nullable=False, unique=True)
|
||||
description: str = Field(max_length=500, nullable=False)
|
||||
currency: str = Field(max_length=3, nullable=False)
|
||||
Reference in new issue
Block a user