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

#3 그룹 팔로워 신청 기능 개발 #6

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

lee-maru
Copy link
Collaborator

@lee-maru lee-maru commented Mar 24, 2022

GroupFollowerCreator 기능 개발
카드정보 검증 기능 개발
Group중에 OTT 최대인원보다 적은 그룹 Query 개발

Closes #3

GroupFollowerCreator 기능 개발
카드정보 검증 기능 개발
Group중에 OTT 최대인원보다 적은 그룹 Query
기능 개발

Closes #3

// TODO:결제진행 은 PG사를 mocking 하고싶다.

productGroup.setCurrentParticipantsSize(productGroup.getCurrentParticipantsSize() + 1);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get/set 으로 진행하기 보다는 "증가" 를 수행하는 역할을 정의해보는게 좋을 것 같아요

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네 알겠습니다. !

@@ -17,15 +19,31 @@
@JoinColumn(name = "ott_product_id", referencedColumnName = "ott_product_id")
private OttProduct ottProduct;

@Getter
@Setter
@Column(name = "current_participants_size")
private Integer currentParticipantsSize;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 숫자는 어떤 의미의 숫자인가요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

current_participants_size 현재 그룹의 몇 명의 인원이 들어가 있는지 나타내는 숫자입니다. :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

뭔가 참여자 수를 세어 넣을 수 있다면 좋을 것 같은데 지금 구조로는 어렵군요
참여자와 참여자 수를 각각 다루고 있어서 데이터가 꼬이지 않도록 신경을 써야겠어요 ㅎㅎ

@@ -0,0 +1,63 @@
package me.maru.seeTogether.service.group.accout.groupFollower.create;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

impl 들은 /impl 패키지로 분리해보세요. 구현과 스펙을 구분하기 좋습니다

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#3 팔로워 그룹 API 개발
2 participants