ScoDocMM/app/models/but_pn.py

17 lines
455 B
Python
Raw Normal View History

2021-09-29 10:36:57 +02:00
"""ScoDoc 9 models : Formation BUT 2021
2022-07-05 16:09:26 +02:00
XXX inutilisé
2021-09-29 10:36:57 +02:00
"""
from app import db
2021-12-02 12:08:03 +01:00
class APCFormation(db.Model):
"""Formation par compétence"""
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"