Entity는 영속화에 관한것 커맨드 처리할때 필요한것이다.

데이터를 읽기전용으로 불러올땐 전혀 필요없다.

Domain Model과 Persistence Entity는 구분

DTO와 Entity쓰는 방법

Domain Model은 어떠한 프레임워크나 ORM에 의존되지 않는 순수한 코드이고

Persistence Entity는 DB에 저장되는 단위가 서버단에서 매핑된것

Request -> Command -> Service -> Persistence Adapter -> Repository 이렇게

Reference

[DAO] DAO, DTO, Entity Class의 차이 - Heee's Development Blog

Entity, DAO, DTO가 무엇이며 왜 사용할까?