Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
41 lines (28 sloc) 1.12 KB
""" This is the entity, Issue"""
class Issue:
def __init__(self): # a method to create objects
self.__title = "" # private attribute
self.__typeOfIssue = "" # private attribute
self.__description = "" # private attribute
self.__postcode = "" # private attribute
self.__time = "" # private attribute
def get_title(self): # get method
return self.__title
def set_title(self, title): # set method
self.__title = title
def get_issue_type(self): # get method
return self.__typeOfIssue
def set_issue_type(self, issue): # set method
self.__typeOfIssue = issue
def get_description(self): # get method
return self.__description
def set_description(self, description): # set method
self.__description = description
def get_postcode(self): # get method
return self.__postcode
def set_postcode(self, postcode): # set method
self.__postcode = postcode
def get_time(self): # get method
return self.__time
def set_time(self, time): # set method
self.__time = time
You can’t perform that action at this time.