entities/test/data/schema.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 11 Sep 2009 08:39:17 +0200
branchstable
changeset 3174 97273eeaaead
parent 2637 07103211e511
child 2920 64322aa83a1d
permissions -rw-r--r--
Added tag cubicweb-version-3.4.8 for changeset ba43e084e884

"""

: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 EntityType, String

class Company(EntityType):
    name = String()

class Division(Company):
    __specializes_schema__ = True

class SubDivision(Division):
    __specializes_schema__ = True