<?php
namespace App\Entity;
use App\Repository\EntrepriseRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=EntrepriseRepository::class)
*/
class Entreprise
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $name;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isEnabled;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isPrejeance;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isAlteria;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getIsEnabled(): ?bool
{
return $this->isEnabled;
}
public function setIsEnabled(?bool $isEnabled): self
{
$this->isEnabled = $isEnabled;
return $this;
}
public function getIsPrejeance(): ?bool
{
return $this->isPrejeance;
}
public function setIsPrejeance(?bool $isPrejeance): self
{
$this->isPrejeance = $isPrejeance;
return $this;
}
public function getIsAlteria(): ?bool
{
return $this->isAlteria;
}
public function setIsAlteria(?bool $isAlteria): self
{
$this->isAlteria = $isAlteria;
return $this;
}
}