More new convenience fields for person_model
This commit is contained in:
@@ -119,6 +119,15 @@ class Person_Base(BaseModel):
|
|||||||
cc_email: Optional[str]
|
cc_email: Optional[str]
|
||||||
# Maybe add timezone in the future?
|
# Maybe add timezone in the future?
|
||||||
|
|
||||||
|
username: Optional[str]
|
||||||
|
user_name: Optional[str]
|
||||||
|
user_email: Optional[str]
|
||||||
|
user_allow_auth_key: Optional[bool]
|
||||||
|
user_super: Optional[bool]
|
||||||
|
user_manager: Optional[bool]
|
||||||
|
user_administrator: Optional[bool]
|
||||||
|
user_public: Optional[bool]
|
||||||
|
|
||||||
# Including JSON data
|
# Including JSON data
|
||||||
data_json: Optional[Json]
|
data_json: Optional[Json]
|
||||||
other_json: Optional[Json]
|
other_json: Optional[Json]
|
||||||
|
|||||||
Reference in New Issue
Block a user