mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-17 18:38:41 +00:00
add/change docs
This commit is contained in:
parent
c446dbf01e
commit
217e7b06c6
|
|
@ -38,8 +38,20 @@ class Promotion
|
||||||
*/
|
*/
|
||||||
protected int $id = 0;
|
protected int $id = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Start of the promotion.
|
||||||
|
*
|
||||||
|
* @var \DateTime
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private \DateTime $start;
|
private \DateTime $start;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* End of the promotion.
|
||||||
|
*
|
||||||
|
* @var \DateTime
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private \DateTime $end;
|
private \DateTime $end;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -58,18 +70,60 @@ class Promotion
|
||||||
*/
|
*/
|
||||||
public string $description = '';
|
public string $description = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Calendar.
|
||||||
|
*
|
||||||
|
* @var Calendar
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private Calendar $calendar;
|
private Calendar $calendar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Costs.
|
||||||
|
*
|
||||||
|
* @var Money
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private Money $costs;
|
private Money $costs;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Budget.
|
||||||
|
*
|
||||||
|
* @var Money
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private Money $budget;
|
private Money $budget;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Earnings.
|
||||||
|
*
|
||||||
|
* @var Money
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private Money $earnings;
|
private Money $earnings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -88,6 +142,12 @@ class Promotion
|
||||||
*/
|
*/
|
||||||
public Account $createdBy;
|
public Account $createdBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tasks.
|
||||||
|
*
|
||||||
|
* @var Task[]
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private array $tasks = [];
|
private array $tasks = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user