Create models/user.py
Browse files- 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
|