+ return self.text
+
+
+class Rating(Entity):
+ art = ManyToOne('Art', ondelete='cascade')
+ rater = ManyToOne('User', ondelete='cascade')
+ score = Field(Integer)
+
+ # @score.setter
+ # def score(self, value):
+
+ options = {-1:"sucks", 0:"undecided", 1:"good", 2:"great"}
+ default = 0
+ # options = ["sucks","neutral","good","great"]
+
+
+Rating.reverse_options = dict (zip(Rating.options.values(), Rating.options.keys()))
+
+
+
+
+class UserRelation(Entity):
+ related = ManyToOne("User")
+ art = ManyToOne("Art")
+ type = Field(String) # by for of
+
+
+# class CharacterRelation(Entity):
+# pass
\ No newline at end of file