
Project/Gameple
[Project - Gameple] Project Gameple(6) - Game Entity 설계
개요 저번 포스팅에서는 프로젝트에 Spring Security를 적용하여 임시적인 옵션들을 구성해 주었다. 이번 포스팅에서는 본격적인 API 개발을 위해 루트가 되는 Game 엔티티를 설계해 보겠다. Game Entity 설계(1) - 디렉토리 생성 및 클래스 생성 사진과 같이 Game이라는 도메인을 대표하는 루트 디렉토리 밑에 Entity라는 하위 디렉토리를 생성하여 Game이라는 클래스 파일을 생성해 준다. Game Entity 설계(2) - Entity 설계 package com.gamepleconnect.game.entity; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import javax.persi..