<?php

declare(strict_types=1);

namespace PHPMax\Domain\Attachments;

class VideoAttachment extends BaseAttachment
{
     
    public $height;
     
    public $width;
     
    public $videoId;
     
    public $duration;
     
    public $previewData;
     
    public $token;
     
    public $thumbnail;
     
    public $videoType;
    protected static function schema(): array
    {
        return parent::schema() + [
            'height' => ['type' => 'int'],
            'width' => ['type' => 'int'],
            'videoId' => ['type' => 'int'],
            'duration' => ['type' => 'int'],
            'previewData' => ['type' => 'string'],
            'token' => ['type' => 'string'],
            'thumbnail' => ['type' => 'string'],
            'videoType' => ['type' => 'int'],
        ];
    }
}
