Commit 85456531 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction des mappings

parent 80f9f0d2
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2,6 +2,11 @@
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
    <entity name="Octopus\Entity\Db\IndividuInscription" table="INDIVIDU_INSCRIPTION">

        <id name="individu" association-key="true" />
        <id name="diplome"  association-key="true" />
        <id name="annee"    column="ANNEE_UNIV"   type="string" length="4"/>


        <many-to-one target-entity="Octopus\Entity\Db\Individu" field="individu">
            <join-column name="INDIVIDU_ID" referenced-column-name="C_INDIVIDU_CHAINE" />
        </many-to-one>
@@ -14,7 +19,6 @@
            <join-column name="DIPLOME_ID" referenced-column-name="DIPLOME_ID" />
        </many-to-one>

        <field name="anne"                  column="ANNEE_UNIV"             type="string" length="4"            nullable="true" />
        <field name="etatInscription"       column="ETAT_INSCRIPTION"       type="string" length="4"            nullable="true" />
        <field name="regimeSISE"            column="REGIME_SISE"            type="string" length="2"            nullable="true" />
        <field name="obtenu"                column="T_OBTENU"               type="string" length="1"            nullable="true" />
+2 −2
Original line number Diff line number Diff line
@@ -12,8 +12,8 @@
        <field name="typeDiplomeSISE"       column="TYPE_DIPLOME_SISE"      type="string" length="2"            nullable="true" />
        <field name="codeDiplomeSISE"       column="CODE_DIPLOME_SISE"      type="string" length="20"           nullable="true" />
        <field name="secteurDiscplineSISE"  column="SECTEUR_DISC_SISE"      type="string" length="65"           nullable="true" />
        <field name="anneDebut"             column="ANNEE_DEB"              type="string" length="4"           nullable="true" />
        <field name="anneFin"               column="ANNEE_FIN"              type="string" length="4"           nullable="true" />
        <field name="anneeDebut"            column="ANNEE_DEB"              type="string" length="4"           nullable="true" />
        <field name="anneeFin"              column="ANNEE_FIN"              type="string" length="4"           nullable="true" />

    </entity>
</doctrine-mapping>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@
        <field name="supprime"              column="T_SUPPRIME"             type="string" length="1"            nullable="true" />
        <field name="libelleCourt"          column="LIB_COURT"              type="string" length="60"           nullable="true" />
        <field name="libelleLong"           column="LIB_LONG"               type="string" length="200"          nullable="true" />
        <field name="anneDebut"             column="ANNEE_DEB"              type="string" length="4"            nullable="true" />
        <field name="anneFin"               column="ANNEE_FIN"              type="string" length="4"            nullable="true" />
        <field name="anneeDebut"            column="ANNEE_DEB"              type="string" length="4"            nullable="true" />
        <field name="anneeFin"              column="ANNEE_FIN"              type="string" length="4"            nullable="true" />
        <field name="diplomante"            column="T_DIPLOMANTE"           type="string" length="1"            nullable="true" />
        <field name="aDistance"             column="T_A_DISTANCE"           type="string" length="1"            nullable="true" />