<?php

declare(strict_types=1);

namespace PHPMax\Domain;

use PHPMax\Support\Model;

class FolderUpdate extends Model
{
     
    public $foldersOrder = [];
     
    public $folder;
     
    public $folderSync = 0;

    protected static function schema(): array
    {
        return [
            'foldersOrder' => ['type' => 'list<string>', 'default' => static function (): array {
                return [];
            }],
            'folder' => ['type' => Folder::class],
            'folderSync' => ['type' => 'int', 'default' => 0],
        ];
    }
}
