36 lines
661 B
Python
36 lines
661 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):
|
|
"""
|
|
Constructor
|
|
"""
|
|
|
|
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 |