<?phpnamespace App\Security;use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;use Symfony\Component\Security\Core\User\UserInterface;use Sulu\Bundle\SecurityBundle\Entity\User as SuluUser;/** * The following annotations are required for replacing the table of the extended entity: * * @ORM\Table(name="se_users") * @ORM\Entity */class User extends SuluUser implements UserInterface, PasswordAuthenticatedUserInterface{ /** * @var string * * @ORM\Column(name="enterprise", type="string", length=255, nullable = true) */ protected $enterprise; /** * @var string * * @ORM\Column(name="actorType", type="string", length=255, nullable = true) */ protected $actorType; /** * @var bool * * @ORM\Column(name="isVisibleProfile", type="boolean") */ protected $isVisibleProfile = false; /** * Get enterprise. * * @return string */ public function getEnterprise() { return $this->enterprise; } /** * Set enterprise. * * @param string $enterprise * * @return self */ public function setEnterprise($enterprise) { $this->enterprise = $enterprise; return $this; } /** * Get actorType. * * @return string */ public function getActorType() { return $this->actorType; } /** * Set actorType. * * @param string $actorType * * @return self */ public function setActorType($actorType) { $this->actorType = $actorType; return $this; } /** * Get isVisibleProfile. * * @return bool */ public function getIsVisibleProfile() { return $this->isVisibleProfile; } /** * Set isVisibleProfile. * * @param string $isVisibleProfile * * @return self */ public function setIsVisibleProfile($isVisibleProfile) { $this->isVisibleProfile = $isVisibleProfile; return $this; } public function getPassword(): string { return $this->password; }}