-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MATE-136 : [FEAT] 사용자 활동에 따른 매너 타율 업데이트 기능 구현 (#128)
* MATE-136 : [FEAT] Member 엔티티에 매너타율 업데이트 기능 구현 - 리뷰 시 Rating에 따라 매너타율 업데이트 - 회원 활동 유형에 따라 매너타율 업데이트 * MATE-136 : [FEAT] 메이트 리뷰 시 매너타율 업데이트 서비스 구현 및 리뷰 제약 조건 추가 - 메이트 구인글의 상태가 VISIT_COMPLETE일 때만 리뷰할 수 있도록 제약 - 중복해서 리뷰 작성이 불가능하도록 제약 * MATE-136 : [TEST] 메이트 리뷰 시 매너타율 업데이트 테스트 * MATE-136 : [FEAT] 굿즈 거래 리뷰 시 매너타율 업데이트 서비스 구현 * MATE-136 : [TEST] 굿즈 거래 리뷰 시 매너타율 업데이트 테스트 * MATE-136 : [FEAT] Member 엔티티에 게시글 삭제 시 매너타율 감소 기능 구현 * MATE-136 : [FEAT] 메이트 구인글 등록/삭제 시 매너타율 업데이트 서비스 구현 * MATE-136 : [TEST] 메이트 구인글 등록/삭제 시 매너타율 업데이트 테스트 * MATE-136 : [FEAT] 굿즈 거래글 등록/삭제 시 매너타율 업데이트 서비스 구현 * MATE-136 : [TEST] 굿즈 거래글 등록/삭제 시 매너타율 업데이트 테스트 * MATE-136 : [FEAT] 굿즈 거래글 거래 완료 시 매너타율 업데이트 서비스 구현 * MATE-136 : [TEST] 굿즈 거래글 거래 완료 시 매너타율 업데이트 테스트 * MATE-136 : [FEAT] 직관 참여 시 매너타율 업데이트 서비스 구현 * MATE-136 : [TEST] 직관 참여 시 매너타율 업데이트 테스트
- Loading branch information
Showing
17 changed files
with
324 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/com/example/mate/domain/member/entity/ActivityType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.example.mate.domain.member.entity; | ||
|
||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
public enum ActivityType { | ||
POST(0.001F), | ||
DELETE(-0.001F), | ||
GOODS(0.002F), | ||
MATE(0.003F); | ||
|
||
private final Float value; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.