| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?php
- declare(strict_types=1);
- namespace App\Entity\Network;
- use App\Repository\Network\NetworkRepository;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * Enum des différents réseaux auxquels peut appartenir une Organization
- */
- #[ORM\Entity(repositoryClass: NetworkRepository::class)]
- class Network
- {
- #[ORM\Id]
- #[ORM\Column]
- #[ORM\GeneratedValue]
- private ?int $id = null;
- #[ORM\Column(length: 255)]
- private string $name;
- #[ORM\Column(length: 255, nullable: true)]
- private ?string $logo = null;
- #[ORM\Column(length: 255, nullable: true)]
- private ?string $url = null;
- public function setId($id): self
- {
- $this->id = $id;
- return $this;
- }
- 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 getLogo(): ?string
- {
- return $this->logo;
- }
- public function setLogo(?string $logo): self
- {
- $this->logo = $logo;
- return $this;
- }
- public function getUrl(): ?string
- {
- return $this->url;
- }
- public function setUrl(?string $url): self
- {
- $this->url = $url;
- return $this;
- }
- }
|