entities/test/data/schema.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 27 May 2009 15:00:38 +0200
branchstable
changeset 1963 c97c03082de9
parent 0 b97547f5f1fa
child 1977 606923dff11b
permissions -rw-r--r--
not necessary here, else we see it in the generated input

class Company(EntityType):
    name = String()

class Division(Company):
    __specializes_schema__ = True

class SubDivision(Division):
    __specializes_schema__ = True