Working on user and person
This commit is contained in:
@@ -38,7 +38,7 @@ class User_New_Base(BaseModel):
|
||||
allow_auth_key: Optional[int]
|
||||
|
||||
enable: Optional[bool] = False
|
||||
enable_from: Optional[datetime.datetime]
|
||||
enable_from: Optional[datetime.datetime] = datetime.datetime.now(datetime.timezone.utc)
|
||||
enable_to: Optional[datetime.datetime] = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(days=365)
|
||||
|
||||
#super: Optional[bool] = False
|
||||
|
||||
Reference in New Issue
Block a user