23 lines
412 B
Python
23 lines
412 B
Python
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 |