Commit c1ad4c37 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Eclatement de l'adresse dans les différents champs disponibles dans SIHAM...

Eclatement de l'adresse dans les différents champs disponibles dans SIHAM (Numero de voie, type de voie etc...)
parent 6e732fc7
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -21,6 +21,18 @@ return [
            'position'    => 2,
            'commentaire' => NULL,
        ],
        'CODE_RH'    => [
            'name'        => 'CODE_RH',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 10,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 4,
            'commentaire' => NULL,
        ],
        'ID'      => [
            'name'        => 'ID',
            'type'        => 'int',
+12 −0
Original line number Diff line number Diff line
@@ -21,6 +21,18 @@ return [
            'position'    => 2,
            'commentaire' => NULL,
        ],
        'CODE_RH'                  => [
            'name'        => 'CODE_RH',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 10,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 12,
            'commentaire' => NULL,
        ],
        'HISTO_CREATEUR_ID'     => [
            'name'        => 'HISTO_CREATEUR_ID',
            'type'        => 'int',
+15 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@ class AdresseNumeroCompl
     */
    protected $code;

    /**
     * @var string
     */
    protected $codeRh;

    /**
     * @var string
     */
@@ -44,6 +49,16 @@ class AdresseNumeroCompl



    /**
     * @return string
     */
    public function getCodeRh(): ?string
    {
        return $this->codeRh;
    }



    /**
     * @return string
     */
+6 −5
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
    <entity name="Application\Entity\Db\AdresseNumeroCompl" table="ADRESSE_NUMERO_COMPL">
        <id name="id" type="integer" column="ID"/>
        <field name="code" type="string" column="CODE" length="5" nullable="false"/>
        <field name="codeRh" type="string" column="CODE_RH" length="10" nullable="true"/>
        <field name="libelle" type="string" column="LIBELLE" length="60" nullable="false"/>
    </entity>
</doctrine-mapping>
+32 −31
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
            <generator strategy="SEQUENCE"/>
        </id>
        <field name="code" type="string" column="CODE" length="5" nullable="false"/>
        <field name="codeRh" type="string" column="CODE_RH" length="10" nullable="true"/>
        <field name="libelle" type="string" column="LIBELLE" length="60" nullable="false"/>

        <many-to-one field="source" target-entity="UnicaenImport\Entity\Db\Source">
Loading