<?phpnamespace App\Entity;use App\Repository\TeamRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=TeamRepository::class) */class Team{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $name; /** * @ORM\Column(type="string", length=255) */ private $image; /** * @ORM\Column(type="text", nullable=true) */ private $description; /** * @ORM\Column(type="boolean", nullable=true) */ private $status; /** * @ORM\Column(type="datetime_immutable", nullable=true) */ private $created_at; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $fonction; 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 getImage(): ?string { return $this->image; } public function setImage(string $image): self { $this->image = $image; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function isStatus(): ?bool { return $this->status; } public function setStatus(?bool $status): self { $this->status = $status; return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->created_at; } public function setCreatedAt(?\DateTimeImmutable $created_at): self { $this->created_at = $created_at; return $this; } public function getFonction(): ?string { return $this->fonction; } public function setFonction(?string $fonction): self { $this->fonction = $fonction; return $this; }}