32 lines
846 B
PHP
32 lines
846 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace KTXF\Chrono\Event;
|
|
|
|
use KTXF\Json\JsonSerializableObject;
|
|
|
|
class EventParticipantObject extends JsonSerializableObject {
|
|
|
|
public string|null $identifier = null;
|
|
public EventParticipantRealm|null $realm = null; // E - external, I - internal
|
|
public string|null $name = null;
|
|
public string|null $description = null;
|
|
public string|null $language = null;
|
|
public string|null $address = null;
|
|
public EventParticipantTypes|null $type = null;
|
|
public EventParticipantStatusTypes|null $status = null;
|
|
public string|null $comment = null;
|
|
public EventParticipantRoleCollection $roles;
|
|
|
|
public function __construct() {
|
|
$this->roles = new EventParticipantRoleCollection();
|
|
}
|
|
|
|
}
|