added comments and enum

This commit is contained in:
Dennis Eichhorn 2021-08-29 10:47:37 +02:00
parent 2f6f634ce8
commit 47cc815686
2 changed files with 16 additions and 0 deletions

View File

@ -32,7 +32,19 @@ class IncomeStatement
*/
protected int $id = 0;
/**
* Date.
*
* @var null|\DateTime
* @since 1.0.0
*/
private ?\DateTime $date = null;
/**
* Income statement structure.
*
* @var array
* @since 1.0.0
*/
private array $incomeStatement = [];
}

View File

@ -33,4 +33,8 @@ abstract class TimeRangeType extends Enum
public const RECEIPT_DATE = 2; /* Date of the receipt */
public const ASSOCIATED_DATE = 3; /* Date of the association (e.g. when did the articles arrive) */
public const PERIOD_DATE = 4; /* Date of the period this booking is assoziated with */
public const SQUARED_DATE = 5; /* Date of when the entry got squared/balanced */
}