Commit 02026f12 authored by David Surville's avatar David Surville
Browse files

Suppression colonne "is_auto" des catégories de périmètre

parent 2d97b8e6
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
@@ -23,11 +23,6 @@ abstract class AbstractPerimetreCategorie implements PerimetreCategorieInterface
     */
    protected $libelle;

    /**
     * @var boolean
     */
    protected $auto = false;

    /**
     * @var int
     */
@@ -129,29 +124,6 @@ abstract class AbstractPerimetreCategorie implements PerimetreCategorieInterface
        return $this;
    }

    /**
     * Is auto ?
     *
     * @return boolean
     */
    public function isAuto()
    {
        return $this->auto;
    }

    /**
     * Set auto.
     *
     * @param boolean $auto
     * @return PerimetreCategorieInterface
     */
    public function setAuto($auto)
    {
        $this->auto = $auto;

        return $this;
    }

    /**
     * Get ordre.
     *
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@

        <field name="code" type="string" column="CODE" length="150" nullable="false"/>
        <field name="libelle" type="string" column="LIBELLE" length="200" nullable="false"/>
        <field name="auto" type="boolean" column="IS_AUTO" nullable="false"/>
        <field name="ordre" type="integer" column="ORDRE" nullable="false"/>

        <one-to-many field="perimetres" target-entity="UnicaenPrivilege\Entity\Db\Perimetre" mapped-by="categorie"/>