public function asArray()
    {
        $array = [];
        foreach (get_object_vars($this) as $property => $value) {
            if (empty($value)) {
                continue;
            }
            $array[$property] = $value;
        }

        return $array;
    }