mgbam commited on
Commit
07314be
·
verified ·
1 Parent(s): bb4d538

Create models/user.py

Browse files
Files changed (1) hide show
  1. models/user.py +7 -0
models/user.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from sqlmodel import SQLModel, Field
2
+
3
+ class User(SQLModel, table=True):
4
+ id: int = Field(default=None, primary_key=True)
5
+ username: str
6
+ full_name: str
7
+ hashed_password: str