10-15-2020, 09:00 PM
hi all,
i recently implement entity to my project, i successfull setup it to work with the backend module, but when i call that model in the frontend module, it does not return an entity object, i return the normal object. Here is my project structure and code
my folder structure
![[Image: eb-err-entity.png]](https://s1.uphinh.org/2020/10/16/eb-err-entity.png)
when i run and debug the code in acp module
![[Image: eb-err-entity-2.png]](https://s1.uphinh.org/2020/10/16/eb-err-entity-2.png)
as you can see, i got my post item return successfully in entity object
but when i call it in my site module
![[Image: eb-err-entity-1.png]](https://s1.uphinh.org/2020/10/16/eb-err-entity-1.png)
it does not return entity object but a normal object, does any one have this problem? or i missing something?
i recently implement entity to my project, i successfull setup it to work with the backend module, but when i call that model in the frontend module, it does not return an entity object, i return the normal object. Here is my project structure and code
my folder structure
![[Image: eb-err-entity.png]](https://s1.uphinh.org/2020/10/16/eb-err-entity.png)
when i run and debug the code in acp module
![[Image: eb-err-entity-2.png]](https://s1.uphinh.org/2020/10/16/eb-err-entity-2.png)
as you can see, i got my post item return successfully in entity object
but when i call it in my site module
![[Image: eb-err-entity-1.png]](https://s1.uphinh.org/2020/10/16/eb-err-entity-1.png)
it does not return entity object but a normal object, does any one have this problem? or i missing something?