Search
Duplicate

Code Convention

β€’
Entity
β—¦
setter μ‚¬μš©κΈˆμ§€
β—¦
private Builder : private μƒμ„±μž μœ„μ— @Builder μ‚¬μš©
β€’
넀이밍 κ·œμΉ™
β—¦
dto : 도메인λͺ… + κΈ°λŠ₯ + Res/Req
β–ͺ
api 1κ°œλ‹Ή req,res ν•˜λ‚˜μ”©
β–ͺ
상속을 ν•΄μ•Όν•˜κ±°λ‚˜, ν•„λ“œμ— λŒ€ν•΄ 더 λ³΅μž‘ν•œ 검증 λ˜λŠ” μ΄ˆκΈ°ν™”κ°€ ν•„μš”ν•œ κ²½μš°κ°€ μ•„λ‹ˆλΌλ©΄ class λŒ€μ‹  record μ‚¬μš©
β—¦
entity : 도메인λͺ…+Entity
β—¦
table : tb_도메인λͺ…
β—¦
database : mpt
β€’
application.yml μ‚¬μš©
β€’
Custom ResultCode μ‚¬μš©
β—¦
Domain 별 ErrorCode + CommonCode
β€’
Custom ResponseEntity μ‚¬μš©
β€’
주석은 기본적으둜 μ–΄λ €μš΄ κΈ°μˆ μ—λ§Œ μ μš©ν•˜κ³ , ν•„μš”ν•˜λ‹€ νŒλ‹¨ μ‹œ μ†Œν†΅ ν›„ 적용
β€’
μ˜ˆμ™Έμ²˜λ¦¬
β—¦
GlobalException
β—¦
custom μ˜ˆμ™Έμ²˜λ¦¬
β€’
GoogleStyle, spotless
β€’
Actions On Save
β—¦
Reformat code
β—¦
Optimize imports
β€’
νŒ¨ν‚€μ§€ κ΅¬μ‘°λŠ” domain/global
μ˜ˆμ‹œ
β€’
Optionalλ₯Ό λͺ¨λ“  λ©”μ„œλ“œ λ°˜ν™˜ 값에 μ“°μž β†’ Optional<User> findById(Long Id)
β€’
test
β—¦
λ‹¨μœ„ ν…ŒμŠ€νŠΈ
β—¦
μžμ‹ μ΄ 맑은 뢀뢄은 μžμ‹ μ΄ μž‘μ„±
β—¦
μ‹œκ°„ 될 λ•Œ
β€’
μ„œλΉ„μŠ€μ—μ„œ λ‹€λ₯Έ 도메인 κΈ°λŠ₯ 이용 μ‹œ μ„œλΉ„μŠ€ μ£Όμž… λ°›μ•„μ„œ μ‚¬μš©