From 2d3d7d49fc5c34cd0ae2304575b3ac299211f1f1 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 3 Jan 2023 09:36:55 -0300 Subject: [PATCH] Ajout commentaires --- app/models/but_refcomp.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app/models/but_refcomp.py b/app/models/but_refcomp.py index b1617212b..647e6ee89 100644 --- a/app/models/but_refcomp.py +++ b/app/models/but_refcomp.py @@ -54,13 +54,15 @@ class ApcReferentielCompetences(db.Model, XMLModel): "Référentiel de compétence d'une spécialité" id = db.Column(db.Integer, primary_key=True) dept_id = db.Column(db.Integer, db.ForeignKey("departement.id"), index=True) - annexe = db.Column(db.Text()) - specialite = db.Column(db.Text()) - specialite_long = db.Column(db.Text()) - type_titre = db.Column(db.Text()) - type_structure = db.Column(db.Text()) + annexe = db.Column(db.Text()) # '1', '22', ... + specialite = db.Column(db.Text()) # 'CJ', 'RT', 'INFO', ... + specialite_long = db.Column( + db.Text() + ) # 'Carrière Juridique', 'Réseaux et télécommunications', ... + type_titre = db.Column(db.Text()) # 'B.U.T.' + type_structure = db.Column(db.Text()) # 'type1', 'type2', ... type_departement = db.Column(db.Text()) # "secondaire", "tertiaire" - version_orebut = db.Column(db.Text()) + version_orebut = db.Column(db.Text()) # '2021-12-11 00:00:00' _xml_attribs = { # Orébut xml attrib : attribute "type": "type_titre", "version": "version_orebut",