Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Naming rule

Ji WooYoung edited this page Nov 18, 2021 · 2 revisions

명명 규칙을 정의합니다.

Controller

  • XXXList() – 목록 조회 유형의 서비스
  • XXXDetails() – 단 건 상세 조회 유형의 서비스
  • XXXSave() – 등록/수정/삭제 가 동시에 일어나는 유형의 서비스
  • XXXAdd() – 등록만 하는 유형의 서비스
  • XXXModify() – 수정만 하는 유형의 서비스
  • XXXRemove() – 삭제만 하는 유형의 서비스

Service

  • findByXXX() - XXX를 기준으로 검색
  • findAll() - 도메인의 모든 데이터 검색
  • add() - 데이터 추가
  • modify() - 데이터 수정
  • remove() - 데이터 삭제

Mapper

  • select()
  • insert()
  • update()
  • delete()
Clone this wiki locally