Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] #46

Open
shmin98 opened this issue Sep 30, 2024 · 0 comments
Open

[Question] #46

shmin98 opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
❓ question Further information is requested

Comments

@shmin98
Copy link
Collaborator

shmin98 commented Sep 30, 2024

❓ 궁금하거나 이해가 되지 않는 부분

  • API에서 genre 데이터를 가져올 때 "드라마,액션,코메디,범죄" 와 같이 여러 장르가 포함되는데,
    CachedMovieEntity 에서 장르 변수를 String 이 아닌 enum 을 사용한 Genre 자료형을 사용하여 왜 한 장르로 확정 지은 건지 궁금합니다

📑 궁금한 코드 라인 혹은 코드 스니펫

public class CachedMovieEntity {
    private String movieId;
    private String title;
    private String posterUrl;
    private Genre genre;
    private String releaseDate;
    private String plot;
    private String runningTime;
    private String actors;
    private String director;
    private Long   dibCount;
    private Long   reviewCount;
    private Long   commentCount;
    private Long   sumOfRating;
}

ref: #39

@shmin98 shmin98 added the ❓ question Further information is requested label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants