true])] #[Assert\Type(type: 'boolean')] #[Assert\NotNull] #[Groups(['organizationresponsability'])] private $isPhysical = true; /** * Sets id. * * @param int $id * * @return $this */ public function setId($id) { $this->id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Set responsability * * @param string $responsability * * @return OrganizationResponsability */ public function setResponsability($responsability) { $this->responsability = $responsability; return $this; } /** * Get responsability * * @return string */ public function getResponsability() { return $this->responsability; } /** * Set access * * @param \AppBundle\Entity\AccessAndFunction\Access $access * * @return OrganizationResponsability */ public function setAccess(\AppBundle\Entity\AccessAndFunction\Access $access) { $this->access = $access; return $this; } /** * Get access * * @return \AppBundle\Entity\AccessAndFunction\Access */ public function getAccess() { return $this->access; } /** * Sets isPhysical. * * @param bool $isPhysical * * @return $this */ public function setIsPhysical($isPhysical) { $this->isPhysical = $isPhysical; return $this; } /** * Gets isPhysical. * * @return bool */ public function getIsPhysical() { return $this->isPhysical; } }