equal
deleted
inserted
replaced
62 __specializes_schema__ = True |
62 __specializes_schema__ = True |
63 |
63 |
64 class Societe(EntityType): |
64 class Societe(EntityType): |
65 nom = String(maxsize=64, fulltextindexed=True) |
65 nom = String(maxsize=64, fulltextindexed=True) |
66 web = String(maxsize=128) |
66 web = String(maxsize=128) |
67 tel = Int() |
67 tel = Int(unique=True) |
68 fax = Int(constraints=[BoundaryConstraint('<=', Attribute('tel'))]) |
68 fax = Int(constraints=[BoundaryConstraint('<=', Attribute('tel'))]) |
69 rncs = String(maxsize=32) |
69 rncs = String(maxsize=32) |
70 ad1 = String(maxsize=128) |
70 ad1 = String(maxsize=128) |
71 ad2 = String(maxsize=128) |
71 ad2 = String(maxsize=128) |
72 ad3 = String(maxsize=128) |
72 ad3 = String(maxsize=128) |