Co-authored-by: Jan-Marlon Leibl <jleibl@proton.me> Reviewed-on: http://git.simonis.lol/projects/abiball/pulls/13 Reviewed-by: jank1619 <jan@kjan.email>
20 lines
400 B
PHP
20 lines
400 B
PHP
<?php
|
|
|
|
namespace App\DataObjects;
|
|
|
|
use Symfony\Component\Serializer\Attribute\SerializedName;
|
|
|
|
class TicketFormData
|
|
{
|
|
/**
|
|
* @param PersonalData $personal
|
|
* @param TicketData[] $tickets
|
|
*/
|
|
public function __construct(
|
|
#[SerializedName('personal')]
|
|
public PersonalData $personal,
|
|
#[SerializedName('tickets')]
|
|
public array $tickets,
|
|
) {
|
|
}
|
|
} |