diff --git a/city_model_structure/transport/prohibition.py b/city_model_structure/transport/prohibition.py new file mode 100644 index 00000000..5b8ad957 --- /dev/null +++ b/city_model_structure/transport/prohibition.py @@ -0,0 +1,48 @@ +""" +Prohibition module +SPDX - License - Identifier: LGPL - 3.0 - or -later +Copyright © 2020 Project Author Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca +Contributor Milad milad.aghamohamadnia@concordia.ca +""" + + +class Prohibition: + """ + Prohibition class + """ + + def __init__(self): + self._prohibitor = None + self._prohibited = None + + @property + def prohibitor(self): + """ + prohibitor + :return: str + """ + return self._prohibitor + + @prohibitor.setter + def prohibitor(self, value): + """ + prohibitor setter + :param value: str + """ + self._prohibitor = value + + @property + def prohibited(self): + """ + prohibited + :return: str + """ + return self._prohibited + + @prohibited.setter + def prohibited(self, value): + """ + prohibited setter + :param value: str + """ + self._prohibited = value