<?php

namespace App\DataObjects;

use Illuminate\Database\Eloquent\Model;
use Spatie\LaravelData\Data;

class CreateTransactionDTO extends Data
{
    public function __construct(
        public array $data,
        public ?Model $transaction = null,
        public ?Model $transactionable = null,
    ) {}
}
