summer_course_2024/city_model_structure/attributes/household.py

31 lines
627 B
Python
Raw Normal View History

2020-10-28 13:42:58 -04:00
"""
Building module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
"""
class Household:
2020-10-28 13:42:58 -04:00
"""
Household class
"""
def __init__(self, resident_type, household_type):
self._resident_type = resident_type
self._household_type = household_type
@property
def resident_type(self):
"""
Get resident type
:return: resident type
"""
return self._resident_type
@property
def household_type(self):
"""
Get household type
:return: household type
"""
return self._household_type