Created
December 25, 2016 12:53
-
-
Save LifeMoroz/0f22a4e9f1b46135f2477ba2f9c2d654 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User: | |
def __init__(self, login=None, password=None, first_name=None, last_name=None, phone=None): | |
self.login = login | |
self.password = password | |
self.first_name = first_name | |
self.last_name = last_name | |
self.phone = phone | |
class Hotel: | |
def __init__(self, title=None, category=None, address=None, rating=None, phone=None): | |
self.title = title | |
self.category = category | |
self.address = address | |
self.rating = rating | |
self.phone = phone | |
class HotelCategory: | |
def __init__(self, title=None, parent=None): | |
self.title = title | |
self.parent = parent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment