Skip to content
Permalink
f893ee80fc
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
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