@@ -138,15 +138,15 @@ |
||
| 138 | 138 | public function toJson(): array |
| 139 | 139 | { |
| 140 | 140 | return [ |
| 141 | - 'id' => $this->mapper()->getColumn('id'), |
|
| 142 | - 'username' => $this->mapper()->getColumn('username'), |
|
| 143 | - 'email' => $this->mapper()->getColumn('email'), |
|
| 144 | - 'status' => $this->mapper()->getColumn('status'), |
|
| 145 | - 'lastname' => $this->mapper()->getColumn('lastname'), |
|
| 146 | - 'firstname' => $this->mapper()->getColumn('firstname'), |
|
| 147 | - 'role' => $this->mapper()->getColumn('role'), |
|
| 148 | - 'created_at' => $this->mapper()->getColumn('created_at'), |
|
| 149 | - 'updated_at' => $this->mapper()->getColumn('updated_at'), |
|
| 141 | + 'id' => $this->mapper()->getColumn('id'), |
|
| 142 | + 'username' => $this->mapper()->getColumn('username'), |
|
| 143 | + 'email' => $this->mapper()->getColumn('email'), |
|
| 144 | + 'status' => $this->mapper()->getColumn('status'), |
|
| 145 | + 'lastname' => $this->mapper()->getColumn('lastname'), |
|
| 146 | + 'firstname' => $this->mapper()->getColumn('firstname'), |
|
| 147 | + 'role' => $this->mapper()->getColumn('role'), |
|
| 148 | + 'created_at' => $this->mapper()->getColumn('created_at'), |
|
| 149 | + 'updated_at' => $this->mapper()->getColumn('updated_at'), |
|
| 150 | 150 | ]; |
| 151 | 151 | } |
| 152 | 152 | |