diff --git a/lib/Db/Ticket.php b/lib/Db/Ticket.php index 26f173d..04c0943 100644 --- a/lib/Db/Ticket.php +++ b/lib/Db/Ticket.php @@ -8,14 +8,20 @@ use OCP\AppFramework\Db\Entity; class Ticket extends Entity implements JsonSerializable { protected $title; - protected $content; - protected $userId; + protected $description; + protected $helperId; + protected $creatorId; // The ID of the person who created the Ticked. Usually the person who needs help. + protected $dueDate; + protected $status; public function jsonSerialize(): array { return [ 'id' => $this->id, 'title' => $this->title, - 'content' => $this->content + 'description' => $this->description, + 'helperId' => $this->helperId, + 'dueDate' => $this->dueDate, + 'status' => $this->status, ]; } }