mirror of
https://github.com/Karaka-Management/oms-EventManagement.git
synced 2026-02-13 00:08:42 +00:00
add/change docs
This commit is contained in:
parent
6ef5445b6d
commit
cd73430b74
|
|
@ -39,10 +39,28 @@ class Event
|
||||||
*/
|
*/
|
||||||
private int $id = 0;
|
private int $id = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Type.
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private int $type = EventType::DEFAULT;
|
private int $type = EventType::DEFAULT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event start.
|
||||||
|
*
|
||||||
|
* @var \DateTime
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public \DateTime $start;
|
public \DateTime $start;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event end.
|
||||||
|
*
|
||||||
|
* @var \DateTime
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public \DateTime $end;
|
public \DateTime $end;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -61,20 +79,68 @@ class Event
|
||||||
*/
|
*/
|
||||||
public string $description = '';
|
public string $description = '';
|
||||||
|
|
||||||
public Calendar $calendar;
|
/**
|
||||||
|
* Calendar.
|
||||||
|
*
|
||||||
|
* @var Calendar
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private Calendar $calendar;
|
||||||
|
|
||||||
public Money $costs;
|
/**
|
||||||
|
* Costs.
|
||||||
|
*
|
||||||
|
* @var Money
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private Money $costs;
|
||||||
|
|
||||||
public Money $budget;
|
/**
|
||||||
|
* Budget.
|
||||||
|
*
|
||||||
|
* @var Money
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private Money $budget;
|
||||||
|
|
||||||
public Money $earnings;
|
/**
|
||||||
|
* Earnings.
|
||||||
|
*
|
||||||
|
* @var Money
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private Money $earnings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tasks.
|
||||||
|
*
|
||||||
|
* @var Task[]
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private array $tasks = [];
|
private array $tasks = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Media.
|
||||||
|
*
|
||||||
|
* @var Media[]
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private array $media = [];
|
private array $media = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Progress (0-100).
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private int $progress = 0;
|
private int $progress = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Progress type.
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private int $progressType = ProgressType::MANUAL;
|
private int $progressType = ProgressType::MANUAL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user