added one more class in transport
This commit is contained in:
parent
2d71136d33
commit
77d1c01755
48
city_model_structure/transport/prohibition.py
Normal file
48
city_model_structure/transport/prohibition.py
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user