entities/test/data/schema.py
branch3.5
changeset 2924 b5aadbd3fc5b
parent 2920 64322aa83a1d
child 4212 ab6573088b4a
equal deleted inserted replaced
2923:b97a0f8dd4dc 2924:b5aadbd3fc5b
     1 """
     1 """entities tests schema
     2 
     2 
     3 :organization: Logilab
     3 :organization: Logilab
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     7 """
     7 """
       
     8 
     8 from yams.buildobjs import EntityType, String
     9 from yams.buildobjs import EntityType, String
     9 from cubicweb.schema import make_workflowable
    10 from cubicweb.schema import make_workflowable
    10 
    11 
    11 class Company(EntityType):
    12 class Company(EntityType):
    12     name = String()
    13     name = String()