Loading module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.Role.dcm.xml +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ <field name="histoModification" type="datetime" column="HISTO_MODIFICATION" nullable="false"/> <field name="libelle" type="string" column="LIBELLE" length="50" nullable="false"/> <field name="peutChangerStructure" type="boolean" column="PEUT_CHANGER_STRUCTURE" nullable="false" /> <field name="accessibleExterieur" type="boolean" column="ACCESSIBLE_EXTERIEUR" nullable="false" /> <many-to-one field="perimetre" target-entity="Application\Entity\Db\Perimetre"> <join-columns> <join-column name="PERIMETRE_ID" referenced-column-name="ID"/> Loading module/Application/src/Application/Entity/Db/Role.php +29 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,11 @@ class Role implements HistoriqueAwareInterface, RoleInterface */ protected $perimetre; /** * @var bool */ protected $accessibleExterieur = true; /** * @var boolean */ Loading Loading @@ -174,6 +179,30 @@ class Role implements HistoriqueAwareInterface, RoleInterface /** * @return bool */ public function getAccessibleExterieur(): bool { return $this->accessibleExterieur; } /** * @param bool $accessibleExterieur * * @return self */ public function setAccessibleExterieur(bool $accessibleExterieur): self { $this->accessibleExterieur = $accessibleExterieur; return $this; } /** * @return boolean */ Loading Loading
module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.Role.dcm.xml +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ <field name="histoModification" type="datetime" column="HISTO_MODIFICATION" nullable="false"/> <field name="libelle" type="string" column="LIBELLE" length="50" nullable="false"/> <field name="peutChangerStructure" type="boolean" column="PEUT_CHANGER_STRUCTURE" nullable="false" /> <field name="accessibleExterieur" type="boolean" column="ACCESSIBLE_EXTERIEUR" nullable="false" /> <many-to-one field="perimetre" target-entity="Application\Entity\Db\Perimetre"> <join-columns> <join-column name="PERIMETRE_ID" referenced-column-name="ID"/> Loading
module/Application/src/Application/Entity/Db/Role.php +29 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,11 @@ class Role implements HistoriqueAwareInterface, RoleInterface */ protected $perimetre; /** * @var bool */ protected $accessibleExterieur = true; /** * @var boolean */ Loading Loading @@ -174,6 +179,30 @@ class Role implements HistoriqueAwareInterface, RoleInterface /** * @return bool */ public function getAccessibleExterieur(): bool { return $this->accessibleExterieur; } /** * @param bool $accessibleExterieur * * @return self */ public function setAccessibleExterieur(bool $accessibleExterieur): self { $this->accessibleExterieur = $accessibleExterieur; return $this; } /** * @return boolean */ Loading