<?php

namespace App\Tmdb\Dto;

use App\Base\Enum\MediaType;
use Symfony\Component\Serializer\Attribute\SerializedPath;

class TmdbEpisodeDto
{
    public function __construct(
        #[SerializedPath('[id]')]
        public ?int $tmdbId = null,
        #[SerializedPath('[show_id]')]
        public ?int $tmdbShowId = null,
        public ?string $mediaType = MediaType::TvShow->value,
        public ?string $imdbId = null,
        public ?string $name = null,
        #[SerializedPath('[air_date]')]
        public ?string $airDate = null,
        #[SerializedPath('[overview]')]
        public ?string $description = null,
        public ?string $poster = null,
        public ?int $runtime = 0,
        #[SerializedPath('[season_number]')]
        public ?int $seasonNumber = 0,
        #[SerializedPath('[episode_number]')]
        public ?int $episodeNumber = 0,
    ) {}
}
