31 lines
627 B
Python
31 lines
627 B
Python
"""
|
|
Building module
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2020 Project Author Sanam Dabirian sanam.dabirian@mail.concordia.ca
|
|
"""
|
|
|
|
|
|
class Household:
|
|
"""
|
|
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 |