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

Statut dans individu compte

parent 0365d64d
Loading
Loading
Loading
Loading
+10 −0
Changes for src/Octopus/Entity/Db/IndividuCompte.php: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@ class IndividuCompte {
    private $login;
    /** @var string */
    private $email;
    /** @var IndividuStatut */
    private $statut;

    /**
     * @return int
@@ -57,4 +59,12 @@ class IndividuCompte {
        return $this->email;
    }

    /**
     * @return IndividuStatut
     */
    public function getStatut(): int
    {
        return $this->statut;
    }

}
 No newline at end of file
+1 −0
Changes for src/Octopus/Entity/Db/Mapping/Octopus.Entity.Db.IndividuCompte.dcm.xml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
        </many-to-one>
        <field name="login"           column="LOGIN"           type="string" length="15"    nullable="false"/>
        <field name="email"           column="EMAIL"           type="string" length="255"    nullable="false"/>
        <field name="statut"          column="STATUT_ID"       type="integer"    nullable="false"/>

    </entity>
</doctrine-mapping>
 No newline at end of file