Commit 3610eb64 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Suppression totalHetd du contrat

parent 1529f3ad
Loading
Loading
Loading
Loading
Loading
+0 −37
Changes for module/Contrat/src/Entity/Db/Contrat.php: 0 added lines, 37 removed lines.
Original line number Diff line number Diff line
@@ -79,11 +79,6 @@ class Contrat implements HistoriqueAwareInterface, ResourceInterface
     */
    private $fichier;

    /**
     * @var float
     */
    private $totalHetd;

    /**
     * @var ?Process
     */
@@ -525,38 +520,6 @@ class Contrat implements HistoriqueAwareInterface, ResourceInterface



    /**
     * Retourne le total Hetd enregistré au moment de la création de ce contrat/avenant.
     *
     * Attention: il est null pour ceux créés avant l'ajout de cette colonne dans la table CONTRAT.
     *
     * @return float|null
     * @since 1.5
     */
    public function getTotalHetd()
    {
        return $this->totalHetd;
    }



    /**
     * Spécifie le total Hetd à enregistrer au moment de la création de ce contrat/avenant.
     *
     * @param float $totalHetd
     *
     * @return self
     * @since 1.5
     */
    public function setTotalHetd($totalHetd)
    {
        $this->totalHetd = $totalHetd;

        return $this;
    }



    /**
     * Returns the string identifier of the Resource
     *
+0 −1
Changes for module/Contrat/src/Entity/Db/Mapping/Contrat.Entity.Db.Contrat.dcm.xml: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
        <field name="debutValidite" type="datetime" column="DEBUT_VALIDITE" nullable="true"/>
        <field name="finValidite" type="datetime" column="FIN_VALIDITE" nullable="true"/>
        <field name="dateEnvoiEmail" type="datetime" column="DATE_ENVOI_EMAIL" nullable="true"/>
        <field name="totalHetd" type="float" column="TOTAL_HETD" precision="126" scale="0" nullable="true"/>
        <field name="histoCreation" type="datetime" column="HISTO_CREATION" nullable="false"/>
        <field name="histoDestruction" type="datetime" column="HISTO_DESTRUCTION" nullable="true"/>
        <field name="histoModification" type="datetime" column="HISTO_MODIFICATION" nullable="false"/>