Add Contact type

This commit is contained in:
Dan 2018-03-09 14:45:40 +01:00
parent 33baf91a26
commit 3fa30b3a50

View File

@ -0,0 +1,10 @@
class Contact:
def __init__(self,
phone_number: str,
first_name: str,
last_name: str = None,
user_id: int = None):
self.phone_number = phone_number
self.first_name = first_name
self.last_name = last_name
self.user_id = user_id