entities/test/data/schema.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 31 Aug 2009 17:38:38 +0200
branchstable
changeset 3064 3fbcdf220ce9
parent 2637 07103211e511
child 2920 64322aa83a1d
permissions -rw-r--r--
fix so that entity's summary appears in main content cell to avoid layout pb

"""

: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