Example #1
0
 def declarative_base():
     return BaseModel.declarative_base(clsname='Fournisseur',
                                       name=Fournisseur.table_name,
                                       dbcols=[
                                           f.dbcol()
                                           for f in Fournisseur.l_index +
                                           Fournisseur.l_fields()
                                       ])
Example #2
0
 def declarative_base():
     return BaseModel.declarative_base(
         clsname='Affaire',
         name=Affaire.table_name,
         dbcols=[f.dbcol() for f in Affaire.l_index + Affaire.l_fields()])
Example #3
0
 def declarative_base():
     return BaseModel.declarative_base(
         clsname='Devis', name=Devis.table_name, dbcols=[f.dbcol() for f in Devis.l_index + Devis.l_fields()]
     )
Example #4
0
 def declarative_base():
     return BaseModel.declarative_base(
         clsname='Client',
         name=Client.table_name,
         dbcols=[f.dbcol() for f in Client.l_index + Client.l_fields()])
Example #5
0
 def declarative_base():
     return BaseModel.declarative_base(
         clsname='Facture',
         name=Facture.table_name,
         dbcols=[f.dbcol() for f in Facture.l_index + Facture.l_fields()])
Example #6
0
 def declarative_base():
     return BaseModel.declarative_base(
         clsname='Employe', name=Employe.table_name, dbcols=[f.dbcol() for f in Employe.l_index + Employe.l_fields()]
     )
Example #7
0
 def declarative_base():
     return BaseModel.declarative_base(
         clsname='Chantier',
         name=Chantier.table_name,
         dbcols=[f.dbcol() for f in Chantier.l_index + Chantier.l_fields()])
Example #8
0
 def declarative_base():
     return BaseModel.declarative_base(
         clsname='Commande',
         name=Commande.table_name,
         dbcols=[f.dbcol() for f in Commande.l_index + Commande.l_fields()])