wip
This commit is contained in:
parent
28eda9e899
commit
4ad297a291
6 changed files with 45 additions and 18 deletions
|
|
@ -12,7 +12,7 @@ class {{ modelname }}Base(SQLModel, table=False):
|
|||
|
||||
|
||||
class {{ modelname }}({{ modelname }}Base, table=True):
|
||||
id: Optional[int] = Field(default=None, primary_key=True)
|
||||
id: int = Field(default=None, primary_key=True)
|
||||
|
||||
|
||||
class {{ modelname }}Create({{ modelname }}Base):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue