Skip to content

DTO 구현 및 리팩토링 #1

@sj7699

Description

@sj7699

DTO구현에 있어서 먼저 저희가 결정했던 부분 정리하겠습니다.

Notion에 존재하는 API명세를 참조하여 구현
API명세서 링크 https://peppermint-meteor-e97.notion.site/API-0509-203cb49f0d6d42398b56645a257e97d8

  1. Mybatis와 Builder 패턴은 양립하기 어려움. 따라서, Getter Setter 생성자를 사용한 기초적인 DTO를 작성
  2. DTO가 많아질것으로 예상됨. DAO구현 전에 패키지 정리 및 Inner Class를 사용하여 리팩토링
  3. 단순 테이블과 1대1 매핑이 아닌 API 호출에 따른 DAO Service Controller 사이의 흐름에 대해서 작성하는것을 목표!
  4. DTO 패키지 구조는 dto.도메인명

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions