src/Entity/Gestiform/Admin/Profil.php line 16
<?phpnamespace App\Entity\Gestiform\Admin;use App\Entity\AbstractEntity;use App\Entity\Gestiform\Admin\MasterListe\Masterlistelg;use App\Entity\Trait\ApiGestiformEntity;use App\Entity\Trait\SortableEntity;use App\Repository\Gestiform\Admin\ProfilRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ProfilRepository::class)]class Profil extends AbstractEntity{use SortableEntity, ApiGestiformEntity;#[ORM\Column(type: 'string', length: 255, nullable: false)]private string $intitule;#[ORM\Column(type: 'string', length: 255, nullable: true)]private ?string $code = null;#[ORM\ManyToOne(targetEntity: Masterlistelg::class)]private ?Masterlistelg $typeFormulaire = null;#[ORM\Column(type: 'decimal', precision: 10, scale: 2, nullable: true)]private ?string $remisePourc = null;public function getIntitule(): ?string{return $this->intitule;}public function setIntitule(string $intitule): self{$this->intitule = $intitule;return $this;}public function getCode(): ?string{return $this->code;}public function setCode(?string $code): self{$this->code = $code;return $this;}public function getTypeFormulaire(): ?Masterlistelg{return $this->typeFormulaire;}public function setTypeFormulaire(?Masterlistelg $typeFormulaire): self{$this->typeFormulaire = $typeFormulaire;return $this;}public function getRemisePourc(): ?float{return (float) $this->remisePourc;}public function setRemisePourc(?float $remisePourc): self{$this->remisePourc = $remisePourc !== null ? (string) $remisePourc : null;return $this;}}