@@ -138,15 +138,15 @@ |
||
| 138 | 138 | public function jsonSerialize() |
| 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 | } |
@@ -75,12 +75,12 @@ |
||
| 75 | 75 | public function jsonSerialize() |
| 76 | 76 | { |
| 77 | 77 | return [ |
| 78 | - 'id' => $this->mapper()->getColumn('id'), |
|
| 79 | - 'code' => $this->mapper()->getColumn('code'), |
|
| 80 | - 'description' => $this->mapper()->getColumn('description'), |
|
| 81 | - 'depend' => $this->mapper()->getColumn('depend'), |
|
| 82 | - 'created_at' => $this->mapper()->getColumn('created_at'), |
|
| 83 | - 'updated_at' => $this->mapper()->getColumn('updated_at'), |
|
| 78 | + 'id' => $this->mapper()->getColumn('id'), |
|
| 79 | + 'code' => $this->mapper()->getColumn('code'), |
|
| 80 | + 'description' => $this->mapper()->getColumn('description'), |
|
| 81 | + 'depend' => $this->mapper()->getColumn('depend'), |
|
| 82 | + 'created_at' => $this->mapper()->getColumn('created_at'), |
|
| 83 | + 'updated_at' => $this->mapper()->getColumn('updated_at'), |
|
| 84 | 84 | ]; |
| 85 | 85 | } |
| 86 | 86 | } |
@@ -104,11 +104,11 @@ |
||
| 104 | 104 | public function jsonSerialize() |
| 105 | 105 | { |
| 106 | 106 | return [ |
| 107 | - 'id' => $this->mapper()->getColumn('id'), |
|
| 108 | - 'name' => $this->mapper()->getColumn('name'), |
|
| 109 | - 'description' => $this->mapper()->getColumn('description'), |
|
| 110 | - 'created_at' => $this->mapper()->getColumn('created_at'), |
|
| 111 | - 'updated_at' => $this->mapper()->getColumn('updated_at'), |
|
| 107 | + 'id' => $this->mapper()->getColumn('id'), |
|
| 108 | + 'name' => $this->mapper()->getColumn('name'), |
|
| 109 | + 'description' => $this->mapper()->getColumn('description'), |
|
| 110 | + 'created_at' => $this->mapper()->getColumn('created_at'), |
|
| 111 | + 'updated_at' => $this->mapper()->getColumn('updated_at'), |
|
| 112 | 112 | ]; |
| 113 | 113 | } |
| 114 | 114 | } |