@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -190,12 +190,12 @@ discard block |
||
| 190 | 190 | public function getEntityFromDatabaseArray(array $data) |
| 191 | 191 | { |
| 192 | 192 | $entity = new RemovedObjectsEntity(); |
| 193 | - $entity->id = (int) $data['id']; |
|
| 194 | - $entity->localID = (int) $data['localID']; |
|
| 195 | - $entity->uuid = (string) $data['uuid']; |
|
| 196 | - $entity->type = (int) $data['type']; |
|
| 197 | - $entity->removedDate = new DateTime($data['removed_date']); |
|
| 198 | - $entity->node = (int) $data['node']; |
|
| 193 | + $entity->id = (int)$data['id']; |
|
| 194 | + $entity->localID = (int)$data['localID']; |
|
| 195 | + $entity->uuid = (string)$data['uuid']; |
|
| 196 | + $entity->type = (int)$data['type']; |
|
| 197 | + $entity->removedDate = new DateTime($data['removed_date']); |
|
| 198 | + $entity->node = (int)$data['node']; |
|
| 199 | 199 | |
| 200 | 200 | return $entity; |
| 201 | 201 | } |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->wpOc = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->wpOc = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -186,8 +186,8 @@ discard block |
||
| 186 | 186 | public function getEntityFromDatabaseArray(array $data) |
| 187 | 187 | { |
| 188 | 188 | $entity = new GeoCacheWaypointPoolEntity(); |
| 189 | - $entity->wpOc = (string) $data['wp_oc']; |
|
| 190 | - $entity->uuid = (string) $data['uuid']; |
|
| 189 | + $entity->wpOc = (string)$data['wp_oc']; |
|
| 190 | + $entity->uuid = (string)$data['uuid']; |
|
| 191 | 191 | |
| 192 | 192 | return $entity; |
| 193 | 193 | } |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -194,16 +194,16 @@ discard block |
||
| 194 | 194 | public function getEntityFromDatabaseArray(array $data) |
| 195 | 195 | { |
| 196 | 196 | $entity = new GeoCacheReportsEntity(); |
| 197 | - $entity->id = (int) $data['id']; |
|
| 198 | - $entity->dateCreated = new DateTime($data['date_created']); |
|
| 199 | - $entity->cacheid = (int) $data['cacheid']; |
|
| 200 | - $entity->userid = (int) $data['userid']; |
|
| 201 | - $entity->reason = (int) $data['reason']; |
|
| 202 | - $entity->note = (string) $data['note']; |
|
| 203 | - $entity->status = (int) $data['status']; |
|
| 204 | - $entity->adminid = (int) $data['adminid']; |
|
| 205 | - $entity->lastmodified = (string) $data['lastmodified']; |
|
| 206 | - $entity->comment = (string) $data['comment']; |
|
| 197 | + $entity->id = (int)$data['id']; |
|
| 198 | + $entity->dateCreated = new DateTime($data['date_created']); |
|
| 199 | + $entity->cacheid = (int)$data['cacheid']; |
|
| 200 | + $entity->userid = (int)$data['userid']; |
|
| 201 | + $entity->reason = (int)$data['reason']; |
|
| 202 | + $entity->note = (string)$data['note']; |
|
| 203 | + $entity->status = (int)$data['status']; |
|
| 204 | + $entity->adminid = (int)$data['adminid']; |
|
| 205 | + $entity->lastmodified = (string)$data['lastmodified']; |
|
| 206 | + $entity->comment = (string)$data['comment']; |
|
| 207 | 207 | |
| 208 | 208 | return $entity; |
| 209 | 209 | } |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -193,15 +193,15 @@ discard block |
||
| 193 | 193 | public function getEntityFromDatabaseArray(array $data) |
| 194 | 194 | { |
| 195 | 195 | $entity = new ProfileOptionsEntity(); |
| 196 | - $entity->id = (int) $data['id']; |
|
| 197 | - $entity->name = (string) $data['name']; |
|
| 198 | - $entity->transId = (int) $data['trans_id']; |
|
| 199 | - $entity->internalUse = (int) $data['internal_use']; |
|
| 200 | - $entity->defaultValue = (string) $data['default_value']; |
|
| 201 | - $entity->checkRegex = (string) $data['check_regex']; |
|
| 202 | - $entity->optionOrder = (int) $data['option_order']; |
|
| 203 | - $entity->optionInput = (string) $data['option_input']; |
|
| 204 | - $entity->optionset = (int) $data['optionset']; |
|
| 196 | + $entity->id = (int)$data['id']; |
|
| 197 | + $entity->name = (string)$data['name']; |
|
| 198 | + $entity->transId = (int)$data['trans_id']; |
|
| 199 | + $entity->internalUse = (int)$data['internal_use']; |
|
| 200 | + $entity->defaultValue = (string)$data['default_value']; |
|
| 201 | + $entity->checkRegex = (string)$data['check_regex']; |
|
| 202 | + $entity->optionOrder = (int)$data['option_order']; |
|
| 203 | + $entity->optionInput = (string)$data['option_input']; |
|
| 204 | + $entity->optionset = (int)$data['optionset']; |
|
| 205 | 205 | |
| 206 | 206 | return $entity; |
| 207 | 207 | } |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -197,19 +197,19 @@ discard block |
||
| 197 | 197 | public function getEntityFromDatabaseArray(array $data) |
| 198 | 198 | { |
| 199 | 199 | $entity = new GeoCacheListsEntity(); |
| 200 | - $entity->id = (int) $data['id']; |
|
| 201 | - $entity->uuid = (string) $data['uuid']; |
|
| 202 | - $entity->node = (int) $data['node']; |
|
| 203 | - $entity->userId = (int) $data['user_id']; |
|
| 204 | - $entity->dateCreated = new DateTime($data['date_created']); |
|
| 205 | - $entity->lastModified = new DateTime($data['last_modified']); |
|
| 206 | - $entity->lastAdded = new DateTime($data['last_added']); |
|
| 207 | - $entity->lastStateChange = new DateTime($data['last_state_change']); |
|
| 208 | - $entity->name = (string) $data['name']; |
|
| 209 | - $entity->isPublic = (int) $data['is_public']; |
|
| 210 | - $entity->description = (string) $data['description']; |
|
| 211 | - $entity->descHtmledit = (int) $data['desc_htmledit']; |
|
| 212 | - $entity->password = (string) $data['password']; |
|
| 200 | + $entity->id = (int)$data['id']; |
|
| 201 | + $entity->uuid = (string)$data['uuid']; |
|
| 202 | + $entity->node = (int)$data['node']; |
|
| 203 | + $entity->userId = (int)$data['user_id']; |
|
| 204 | + $entity->dateCreated = new DateTime($data['date_created']); |
|
| 205 | + $entity->lastModified = new DateTime($data['last_modified']); |
|
| 206 | + $entity->lastAdded = new DateTime($data['last_added']); |
|
| 207 | + $entity->lastStateChange = new DateTime($data['last_state_change']); |
|
| 208 | + $entity->name = (string)$data['name']; |
|
| 209 | + $entity->isPublic = (int)$data['is_public']; |
|
| 210 | + $entity->description = (string)$data['description']; |
|
| 211 | + $entity->descHtmledit = (int)$data['desc_htmledit']; |
|
| 212 | + $entity->password = (string)$data['password']; |
|
| 213 | 213 | |
| 214 | 214 | return $entity; |
| 215 | 215 | } |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -189,11 +189,11 @@ discard block |
||
| 189 | 189 | public function getEntityFromDatabaseArray(array $data) |
| 190 | 190 | { |
| 191 | 191 | $entity = new GeoCacheAdoptionsEntity(); |
| 192 | - $entity->id = (int) $data['id']; |
|
| 193 | - $entity->cacheId = (int) $data['cache_id']; |
|
| 194 | - $entity->date = new DateTime($data['date']); |
|
| 195 | - $entity->fromUserId = (int) $data['from_user_id']; |
|
| 196 | - $entity->toUserId = (int) $data['to_user_id']; |
|
| 192 | + $entity->id = (int)$data['id']; |
|
| 193 | + $entity->cacheId = (int)$data['cache_id']; |
|
| 194 | + $entity->date = new DateTime($data['date']); |
|
| 195 | + $entity->fromUserId = (int)$data['from_user_id']; |
|
| 196 | + $entity->toUserId = (int)$data['to_user_id']; |
|
| 197 | 197 | |
| 198 | 198 | return $entity; |
| 199 | 199 | } |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -186,8 +186,8 @@ discard block |
||
| 186 | 186 | public function getEntityFromDatabaseArray(array $data) |
| 187 | 187 | { |
| 188 | 188 | $entity = new GkItemWaypointEntity(); |
| 189 | - $entity->id = (int) $data['id']; |
|
| 190 | - $entity->wp = (string) $data['wp']; |
|
| 189 | + $entity->id = (int)$data['id']; |
|
| 190 | + $entity->wp = (string)$data['wp']; |
|
| 191 | 191 | |
| 192 | 192 | return $entity; |
| 193 | 193 | } |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->cacheId = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->cacheId = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -186,8 +186,8 @@ discard block |
||
| 186 | 186 | public function getEntityFromDatabaseArray(array $data) |
| 187 | 187 | { |
| 188 | 188 | $entity = new GeoCachesAttributesEntity(); |
| 189 | - $entity->cacheId = (int) $data['cache_id']; |
|
| 190 | - $entity->attribId = (int) $data['attrib_id']; |
|
| 189 | + $entity->cacheId = (int)$data['cache_id']; |
|
| 190 | + $entity->attribId = (int)$data['attrib_id']; |
|
| 191 | 191 | |
| 192 | 192 | return $entity; |
| 193 | 193 | } |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | public function fetchOneBy(array $where = []) |
| 51 | 51 | { |
| 52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
| 53 | - ->select('*') |
|
| 54 | - ->from(self::TABLE) |
|
| 55 | - ->setMaxResults(1); |
|
| 53 | + ->select('*') |
|
| 54 | + ->from(self::TABLE) |
|
| 55 | + ->setMaxResults(1); |
|
| 56 | 56 | |
| 57 | 57 | if (count($where) > 0) { |
| 58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | public function fetchBy(array $where = []) |
| 79 | 79 | { |
| 80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
| 81 | - ->select('*') |
|
| 82 | - ->from(self::TABLE); |
|
| 81 | + ->select('*') |
|
| 82 | + ->from(self::TABLE); |
|
| 83 | 83 | |
| 84 | 84 | if (count($where) > 0) { |
| 85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $databaseArray |
| 122 | 122 | ); |
| 123 | 123 | |
| 124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
| 124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
| 125 | 125 | |
| 126 | 126 | return $entity; |
| 127 | 127 | } |
@@ -190,12 +190,12 @@ discard block |
||
| 190 | 190 | public function getEntityFromDatabaseArray(array $data) |
| 191 | 191 | { |
| 192 | 192 | $entity = new CoordinatesTypeEntity(); |
| 193 | - $entity->id = (int) $data['id']; |
|
| 194 | - $entity->name = (string) $data['name']; |
|
| 195 | - $entity->transId = (int) $data['trans_id']; |
|
| 196 | - $entity->image = (string) $data['image']; |
|
| 197 | - $entity->preposition = (string) $data['preposition']; |
|
| 198 | - $entity->ppTransId = (int) $data['pp_trans_id']; |
|
| 193 | + $entity->id = (int)$data['id']; |
|
| 194 | + $entity->name = (string)$data['name']; |
|
| 195 | + $entity->transId = (int)$data['trans_id']; |
|
| 196 | + $entity->image = (string)$data['image']; |
|
| 197 | + $entity->preposition = (string)$data['preposition']; |
|
| 198 | + $entity->ppTransId = (int)$data['pp_trans_id']; |
|
| 199 | 199 | |
| 200 | 200 | return $entity; |
| 201 | 201 | } |