19 lines
435 B
PHP
19 lines
435 B
PHP
<?php
|
|
|
|
namespace App\Fileshare\Data;
|
|
|
|
use Spatie\LaravelData\Attributes\MapInputName;
|
|
use Spatie\LaravelData\Attributes\MapOutputName;
|
|
use Spatie\LaravelData\Data;
|
|
use Spatie\LaravelData\Mappers\SnakeCaseMapper;
|
|
|
|
#[MapInputName(SnakeCaseMapper::class)]
|
|
#[MapOutputName(SnakeCaseMapper::class)]
|
|
class FileshareResourceData extends Data
|
|
{
|
|
|
|
public function __construct(public int $connectionId, public string $resource)
|
|
{
|
|
}
|
|
}
|