mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-01-11 17:18:40 +00:00
add/change docs
This commit is contained in:
parent
c2115464a5
commit
cddd525926
|
|
@ -36,12 +36,39 @@ class Ticket
|
|||
*/
|
||||
protected int $id = 0;
|
||||
|
||||
/**
|
||||
* The ticket is using a task.
|
||||
*
|
||||
* @var Task
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public Task $task;
|
||||
|
||||
/**
|
||||
* App this ticket belongs to.
|
||||
*
|
||||
* @var SupportApp
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public SupportApp $app;
|
||||
|
||||
/**
|
||||
* Ticket elements.
|
||||
*
|
||||
* @var TicketElement[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private array $ticketElements = [];
|
||||
|
||||
/**
|
||||
* Account this ticket is for
|
||||
*
|
||||
* This is not the person who is working on the ticket but the person who needs help.
|
||||
* This can be different from the person who created it.
|
||||
*
|
||||
* @var null|Account
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public ?Account $for = null;
|
||||
|
||||
/**
|
||||
|
|
@ -55,6 +82,8 @@ class Ticket
|
|||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param null|Task $task Creates the ticket from a task
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct(Task $task = null)
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class TicketElement implements \JsonSerializable
|
|||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param null|TaskElement $taskElement Task element
|
||||
* @param null|TaskElement $taskElement Creates a ticket elmenet from a task element
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user