mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-15 09:49:41 +00:00
39 lines
990 B
PHP
39 lines
990 B
PHP
<?php
|
|
|
|
/**
|
|
* Chill is a software for social workers.
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
/*
|
|
* Chill is a software for social workers
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Chill\CalendarBundle\RemoteCalendar\Model;
|
|
|
|
use Symfony\Component\Serializer\Annotation as Serializer;
|
|
|
|
class RemoteEvent
|
|
{
|
|
public function __construct(
|
|
#[Serializer\Groups(['read'])]
|
|
public string $id,
|
|
#[Serializer\Groups(['read'])]
|
|
public string $title,
|
|
public string $description,
|
|
#[Serializer\Groups(['read'])]
|
|
public \DateTimeImmutable $startDate,
|
|
#[Serializer\Groups(['read'])]
|
|
public \DateTimeImmutable $endDate,
|
|
#[Serializer\Groups(['read'])]
|
|
public bool $isAllDay = false,
|
|
) {}
|
|
}
|