-
Notifications
You must be signed in to change notification settings - Fork 2
#3 그룹 팔로워 신청 기능 개발 #6
base: develop
Are you sure you want to change the base?
Conversation
GroupFollowerCreator 기능 개발 카드정보 검증 기능 개발 Group중에 OTT 최대인원보다 적은 그룹 Query 기능 개발 Closes #3
|
||
// TODO:결제진행 은 PG사를 mocking 하고싶다. | ||
|
||
productGroup.setCurrentParticipantsSize(productGroup.getCurrentParticipantsSize() + 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get/set 으로 진행하기 보다는 "증가" 를 수행하는 역할을 정의해보는게 좋을 것 같아요
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 숫자는 어떤 의미의 숫자인가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
current_participants_size 현재 그룹의 몇 명의 인원이 들어가 있는지 나타내는 숫자입니다. :)
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
impl 들은 /impl 패키지로 분리해보세요. 구현과 스펙을 구분하기 좋습니다
GroupFollowerCreator 기능 개발
카드정보 검증 기능 개발
Group중에 OTT 최대인원보다 적은 그룹 Query 개발
Closes #3