2021-09-29 10:36:57 +02:00
|
|
|
"""ScoDoc 9 models : Formation BUT 2021
|
2022-05-22 03:26:39 +02:00
|
|
|
XXX inutilisé
|
2021-09-29 10:36:57 +02:00
|
|
|
"""
|
|
|
|
|
2021-11-08 19:44:25 +01:00
|
|
|
from app import db
|
|
|
|
|
|
|
|
|
2021-12-02 12:08:03 +01:00
|
|
|
class APCFormation(db.Model):
|
|
|
|
"""Formation par compétence"""
|
2021-11-08 19:44:25 +01:00
|
|
|
|
|
|
|
id = db.Column(db.Integer, primary_key=True)
|
2021-12-02 12:08:03 +01:00
|
|
|
dept_id = db.Column(db.Integer, db.ForeignKey("departement.id"), index=True)
|
|
|
|
specialite = db.Column(db.Text(), nullable=False) # "RT"
|
|
|
|
specialite_long = db.Column(
|
|
|
|
db.Text(), nullable=False
|
|
|
|
) # "Réseaux et télécommunications"
|