--- /dev/null
+from elixir import *
+
+class Discussion(Entity):
+ """Represents a collection of comments attached to some other object."""
+ count = Field(Integer)
+ comments = OneToMany('Comment')
+
+class Comment(Entity):
+ discussion = ManyToOne('Discussion')
+ text = Field(Unicode(65536))
+