<?phpnamespace App\Entity;use App\Repository\VideoRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: VideoRepository::class)]class Video{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $name = null; #[ORM\Column(length: 255, nullable: true)] private ?string $files = null; #[ORM\Column(length: 255, nullable: true)] private ?string $link = null; #[ORM\Column] private ?int $pool = 0; #[ORM\Column] private ?int $time = 30; #[ORM\Column] private ?bool $enable = false; #[ORM\Column] private ?int $view = 0; public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): static { $this->name = $name; return $this; } public function getFiles(): ?string { return $this->files; } public function setFiles(?string $files): static { $this->files = $files; return $this; } public function getLink(): ?string { return $this->link; } public function setLink(?string $link): static { $this->link = $link; return $this; } public function getPool(): ?int { return $this->pool; } public function setPool(int $pool): static { $this->pool = $pool; return $this; } public function getTime(): ?int { return $this->time; } public function setTime(int $time): static { $this->time = $time; return $this; } public function isEnable(): ?bool { return $this->enable; } public function setEnable(bool $enable): static { $this->enable = $enable; return $this; } public function getView(): ?int { return $this->view; } public function setView(int $view): static { $this->view = $view; return $this; }}