<?php

declare(strict_types=1);

namespace PHPMax\Domain\Attachments;

class ContactAttachment extends BaseAttachment
{
     
    public $contactId;
     
    public $firstName;
     
    public $lastName;
     
    public $name;
     
    public $photoUrl;

    protected static function schema(): array
    {
        return parent::schema() + [
            'contactId' => ['type' => 'int'],
            'firstName' => ['type' => 'string'],
            'lastName' => ['type' => 'string'],
            'name' => ['type' => 'string'],
            'photoUrl' => ['type' => 'string'],
        ];
    }
}
