#-*- coding: utf-8 -*-
from stalker.models import entity
########################################################################
[docs]class Comment(entity.AuditEntity):
"""The Comment data model which derives from the entity.AuditEntity
:param body: the body of the comment, it is a string or unicode variable,
it can be empty but it is then meaningles to have an empty comment.
Anything other than a string or unicode will raise a ValueError.
:param to: the relation variable, that holds the connection that this
comment is related to. it should be an Entity object, any other will
raise a ValueError
"""
#----------------------------------------------------------------------