-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path04.18.2019_procedureClass.py
48 lines (36 loc) · 1.12 KB
/
04.18.2019_procedureClass.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ToniP
#INF103
#procedureClass
class Procedure:
#constructor
def __init__(self, proName, proDate, drName, proCharge):
self.__proName = proName
self.__proDate = proDate
self.__drName = drName
self.__proCharge = proCharge
##MUTATOR METHODS##
#setproName -- set prodcedure name
def setproName (self, proName):
self.__proName = proName
#setproDate -- set procedure date
def setproDate(self, setproDate):
self.__proDate = proDate
#setdrName -- set doctors name
def setdrName(self,drName):
self.__drName = drName
#setproCharge -- set procedure charge
def setproCharge(self,proCharge):
self.__proCharge = proCharge
##ACCESSOR METHOD##
#getproName -- update prodcedure name
def getproName(self):
return self.__proName
#getproDate -- update procedure date
def getproDate(self):
return self.__proDate
#getdrName -- update doctor name
def getdrName(self):
return self.__drName
#getproCharge -- update procedure charge
def getproCharge(self):
return self.__proCharge