owner = new NullAccount(); $this->organization = new NullAccount(); $this->createdAt = new \DateTimeImmutable('now'); } /** * Get id * * @return int * * @since 1.0.0 */ public function getId() : int { return $this->id; } /** * {@inheritdoc} */ public function toArray() : array { return [ 'id' => $this->id, 'createdAt' => $this->createdAt, 'owner' => $this->owner, ]; } /** * Get status * * @return int * * @since 1.0.0 */ public function getStatus() : int { return $this->status; } /** * {@inheritdoc} */ public function jsonSerialize() : mixed { return $this->toArray(); } }