Initial Version
This commit is contained in:
31
shared/lib/Chrono/Event/EventParticipantObject.php
Normal file
31
shared/lib/Chrono/Event/EventParticipantObject.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user