change type datetime
This commit is contained in:
parent
531656c169
commit
587763d808
@ -11,7 +11,7 @@ class User(BaseModel):
|
|||||||
roles: str = "User"
|
roles: str = "User"
|
||||||
status: int = 0
|
status: int = 0
|
||||||
email: EmailStr
|
email: EmailStr
|
||||||
birth: str | None = None
|
birth: datetime | None = None
|
||||||
created_at: datetime = datetime.today()
|
created_at: datetime = datetime.today()
|
||||||
connected_at: datetime | None = None
|
connected_at: datetime | None = None
|
||||||
updated_at: datetime | None = None
|
updated_at: datetime | None = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user