cubicweb/server/test/data-schema2sql/schema/Company.py
changeset 12508 a8c1ea390400
parent 11057 0b59724cb3f2
equal deleted inserted replaced
12507:211472ab15c8 12508:a8c1ea390400
    15 #
    15 #
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with yams. If not, see <http://www.gnu.org/licenses/>.
    17 # with yams. If not, see <http://www.gnu.org/licenses/>.
    18 from yams.buildobjs import EntityType, RelationType, RelationDefinition, \
    18 from yams.buildobjs import EntityType, RelationType, RelationDefinition, \
    19      SubjectRelation, String
    19      SubjectRelation, String
       
    20 
       
    21 from cubicweb import _
    20 
    22 
    21 class Company(EntityType):
    23 class Company(EntityType):
    22     name = String()
    24     name = String()
    23 
    25 
    24 class Subcompany(Company):
    26 class Subcompany(Company):