Skip to content

게시판 dto <-> entity 계층 분리 및 서비스 로직 구현 #2

Description

@Dong-Hyeon-Yu

board

  • Service<->repository : entity

  • Controller <-> Service : dto

Service 계층에서의 entity 와 dto 사이의 mapper => 최대한 간단하게. 생성자 (또는 파라미터가 많을 시 builder) 이용
entity가 dto를 의존하지 않게 코드를 작성하기!

Metadata

Metadata

Labels

new featureNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions