<?phpnamespace App\Entity;use App\Repository\MovieRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use JMS\Serializer\Annotation as Serializer;#[ORM\Entity(repositoryClass: MovieRepository::class)]class Movie{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'movies')] private ?Business $node = null; #[ORM\Column(length: 255)] private ?string $cinemaId = null; #[ORM\Column(length: 255)] private ?string $name = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $previewDate = null; #[ORM\Column] private ?float $price = null; #[ORM\Column(nullable: true)] private ?int $length = null; #[ORM\Column(length: 20, nullable: true)] private ?string $room = null; #[ORM\Column(length: 255, nullable: true)] private ?string $type = null; #[ORM\Column] private ?int $programId = null; public function getId(): ?int { return $this->id; } public function getNode(): ?Business { return $this->node; } public function setNode(?Business $node): static { $this->node = $node; return $this; } public function getCinemaId(): ?string { return $this->cinemaId; } public function setCinemaId(string $cinemaId): static { $this->cinemaId = $cinemaId; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): static { $this->name = $name; return $this; } public function getPreviewDate(): ?\DateTimeInterface { return $this->previewDate; } public function setPreviewDate(\DateTimeInterface $previewDate): static { $this->previewDate = $previewDate; return $this; } public function getPrice(): ?float { return $this->price; } public function setPrice(float $price): static { $this->price = $price; return $this; } public function getLength(): ?int { return $this->length; } public function setLength(?int $length): static { $this->length = $length; return $this; } public function getRoom(): ?string { return $this->room; } public function setRoom(?string $room): static { $this->room = $room; return $this; } public function getType(): ?string { return $this->type; } public function setType(?string $type): static { $this->type = $type; return $this; } public function getProgramId(): ?int { return $this->programId; } public function setProgramId(int $programId): static { $this->programId = $programId; return $this; }}