Commit 19644768 authored by Jo Sama's avatar Jo Sama 😱
Browse files

Phone and mobile is optional for operators/persons

parent 3c3a31e9
......@@ -166,8 +166,8 @@ class Operator(BaseModel):
first_name: str
last_name: str
user_name: str
phone: str
mobile: str
phone: Optional[str]
mobile: Optional[str]
email: str
branch: BranchReference
# TODO: Remove the password field when proper auth is in place
......@@ -195,8 +195,8 @@ class Person(BaseModel):
first_name: str
last_name: str
user_name: str
phone: str
mobile: str
phone: Optional[str]
mobile: Optional[str]
email: str
employee_number: str
branch: BranchReference
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment