sobjects/test/data/schema.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Sep 2009 11:06:42 +0200
branch3.5
changeset 3314 cfa77453e742
parent 2661 f8df42c9da6b
child 4212 ab6573088b4a
permissions -rw-r--r--
Added tag cubicweb-debian-version-3.5.1-1 for changeset f476cecd4690

"""

:organization: Logilab
:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from yams.buildobjs import RelationDefinition

class comments(RelationDefinition):
    subject = 'Comment'
    object = 'Card'
    cardinality='1*'
    composite='object'