Commit 087d9c62 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Gestion des heures de formation dans les entités

parent 407b71b6
Loading
Loading
Loading
Loading
+12 −0
Changes for data/ddl/table/MISSION.php: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -69,6 +69,18 @@ return [
            'position'    => 16,
            'commentaire' => NULL,
        ],
        'HEURES_FORMATION'      => [
            'name'        => 'HEURES_FORMATION',
            'type'        => 'float',
            'bdd-type'    => 'FLOAT',
            'length'      => 0,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 18,
            'commentaire' => NULL,
        ],
        'HISTO_CREATEUR_ID'     => [
            'name'        => 'HISTO_CREATEUR_ID',
            'type'        => 'int',
+12 −0
Changes for data/ddl/table/TYPE_MISSION.php: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -33,6 +33,18 @@ return [
            'position'    => 4,
            'commentaire' => NULL,
        ],
        'BESOIN_FORMATION'         => [
            'name'        => 'BESOIN_FORMATION',
            'type'        => 'bool',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
            'scale'       => '0',
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 14,
            'commentaire' => NULL,
        ],
        'CODE'                     => [
            'name'        => 'CODE',
            'type'        => 'string',
+2 −0
Changes for data/ddl_columns_pos.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -2169,6 +2169,7 @@ return [
        'TAUX_REMU_ID',
        'ACCOMPAGNEMENT_ETUDIANTS',
        'TAUX_REMU_MAJORE_ID',
        'BESOIN_FORMATION',
    ],
    'MISSION'                        => [
        'ID',
@@ -2188,6 +2189,7 @@ return [
        'TAUX_REMU_ID',
        'ETUDIANTS_SUIVIS',
        'TAUX_REMU_MAJORE_ID',
        'HEURES_FORMATION',
    ],
    'MISSION_ETUDIANT'               => [
        'MISSION_ID',
+1 −0
Changes for module/Mission/src/Entity/Db/Mapping/Mission.Entity.Db.Mission.dcm.xml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
        </many-to-one>
        <field name="dateDebut" type="datetime" column="DATE_DEBUT" nullable="false"/>
        <field name="dateFin" type="datetime" column="DATE_FIN" nullable="false"/>
        <field name="heuresFormation" type="float" column="HEURES_FORMATION" precision="126" scale="0" nullable="true"/>
        <field name="description" type="string" column="DESCRIPTION" length="4000" nullable="true"/>
        <field name="etudiantsSuivis" type="string" column="ETUDIANTS_SUIVIS" length="4000" nullable="true"/>

+1 −0
Changes for module/Mission/src/Entity/Db/Mapping/Mission.Entity.Db.TypeMission.dcm.xml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
            <join-column name="ANNEE_ID" referenced-column-name="ID"/>
        </many-to-one>
        <field name="accompagnementEtudiants" type="boolean" column="ACCOMPAGNEMENT_ETUDIANTS" nullable="false"/>
        <field name="besoinFormation" type="boolean" column="BESOIN_FORMATION" nullable="false"/>

        <field name="histoCreation" type="datetime" column="HISTO_CREATION" nullable="false"/>
        <many-to-one field="histoCreateur" target-entity="Application\Entity\Db\Utilisateur">
Loading