|
|
@ -37,6 +37,7 @@ class HintCollection:
|
|
|
|
|
|
|
|
|
|
|
|
class Hint:
|
|
|
|
class Hint:
|
|
|
|
def __init__(self, hint, user):
|
|
|
|
def __init__(self, hint, user):
|
|
|
|
|
|
|
|
self._hint = hint
|
|
|
|
self._user = user
|
|
|
|
self._user = user
|
|
|
|
self._active = True
|
|
|
|
self._active = True
|
|
|
|
self._days = None
|
|
|
|
self._days = None
|
|
|
@ -58,6 +59,9 @@ class Hint:
|
|
|
|
def set_active(self, active):
|
|
|
|
def set_active(self, active):
|
|
|
|
self._active = active
|
|
|
|
self._active = active
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def __str__(self):
|
|
|
|
|
|
|
|
return self._hint
|
|
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
@property
|
|
|
|
def type(self):
|
|
|
|
def type(self):
|
|
|
|
return self._type
|
|
|
|
return self._type
|
|
|
|