entities/test/data/schema.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 15 Sep 2009 16:31:45 +0200
branchstable
changeset 3235 bad0ff9b0c13
parent 2637 07103211e511
child 2920 64322aa83a1d
permissions -rw-r--r--
fix when Interval is coming from date substraction

"""

: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