server/test/datacomputed/schema.py
changeset 9970 671bbfed459b
parent 9969 0f64ef873f7a
child 9971 5e44dd9dde6b
equal deleted inserted replaced
9969:0f64ef873f7a 9970:671bbfed459b
    36 class Company(EntityType):
    36 class Company(EntityType):
    37     pass
    37     pass
    38 
    38 
    39 class Note(EntityType):
    39 class Note(EntityType):
    40     note = Int()
    40     note = Int()
    41 
    41     note20 = Int(formula='Any N*20 WHERE X note N')
    42 
    42 
    43 class concerns(RelationDefinition):
    43 class concerns(RelationDefinition):
    44     subject = 'Note'
    44     subject = 'Note'
    45     object = 'Employee'
    45     object = 'Employee'
    46 
    46