Add classes and files for voting
This commit is contained in:
23
DecisionSystem/vote.py
Normal file
23
DecisionSystem/vote.py
Normal file
@@ -0,0 +1,23 @@
|
||||
class Vote:
|
||||
def __init__(self, voter, vote):
|
||||
self._voter = voter
|
||||
self._vote = vote
|
||||
|
||||
@property
|
||||
def voter(self):
|
||||
return self._voter
|
||||
|
||||
@voter.setter
|
||||
def voter(self, value):
|
||||
self._voter = value
|
||||
|
||||
@property
|
||||
def vote(self):
|
||||
return self._vote
|
||||
|
||||
@vote.setter
|
||||
def vote(self, value):
|
||||
self._vote = value
|
||||
|
||||
def to_string(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user