49 lines
873 B
Python
49 lines
873 B
Python
"""
|
|
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
|