<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Sulu\Bundle\SecurityBundle\Entity\User as SuluUser;
use JMS\Serializer\Annotation\ExclusionPolicy;
/**
* The following annotations are required for replacing the table of the extended entity:
*
* @ORM\Table(name="se_users")
* @ORM\Entity
* @ExclusionPolicy("all")
*
*/
class User extends SuluUser
{
/**
* @ORM\Column(name="enterprise", type="string", length=255, nullable = true)
*/
protected string $enterprise;
/**
* @ORM\Column(name="actorType", type="string", length=255, nullable = true)
*/
protected string $actorType;
/**
* @ORM\Column(name="isVisibleProfile", type="boolean")
*/
protected bool $isVisibleProfile = false;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $typologieStructure;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $fonction;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $typologieActeurValue = 'Aucun';
public function __construct()
{
parent::__construct();
}
/**
* 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 isIsVisibleProfile(): ?bool
{
return $this->isVisibleProfile;
}
public function getTypologieStructure(): ?string
{
return $this->typologieStructure;
}
public function setTypologieStructure(?string $typologieStructure): self
{
$this->typologieStructure = $typologieStructure;
return $this;
}
public function getFonction(): ?string
{
return $this->fonction;
}
public function setFonction(?string $fonction): self
{
$this->fonction = $fonction;
return $this;
}
public function getTypologieActeurValue(): ?string
{
return $this->typologieActeurValue;
}
public function setTypologieActeurValue(string $typologieActeurValue): self
{
$this->typologieActeurValue = $typologieActeurValue;
return $this;
}
}