32 lines
677 B
PHP
32 lines
677 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 DateTimeInterface;
|
|
|
|
class EventObject extends EventCommonObject {
|
|
|
|
// Meta Information
|
|
public string $type = 'event';
|
|
public int $version = 1;
|
|
public string|null $urid = null;
|
|
public ?DateTimeInterface $created = null;
|
|
public ?DateTimeInterface $modified = null;
|
|
|
|
public EventOccurrenceObject|null $pattern = null;
|
|
public EventMutationCollection $mutations;
|
|
|
|
public function __construct() {
|
|
parent::__construct();
|
|
$this->mutations = new EventMutationCollection();
|
|
}
|
|
|
|
}
|