-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
51 additions
and
133 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
backend/src/main/java/com/zzang/chongdae/comment/service/dto/CommentRoomStatusResponse.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
backend/src/main/java/com/zzang/chongdae/offering/controller/OfferingController.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
29 changes: 29 additions & 0 deletions
29
backend/src/main/java/com/zzang/chongdae/offering/domain/CommentRoomStatus.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,29 @@ | ||
package com.zzang.chongdae.offering.domain; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum CommentRoomStatus { | ||
|
||
GROUPING, | ||
BUYING, | ||
TRADING, | ||
DONE; | ||
|
||
static { | ||
GROUPING.nextStatus = BUYING; | ||
BUYING.nextStatus = TRADING; | ||
TRADING.nextStatus = DONE; | ||
DONE.nextStatus = DONE; | ||
} | ||
|
||
private CommentRoomStatus nextStatus; | ||
|
||
public CommentRoomStatus nextStatus() { | ||
return this.nextStatus; | ||
} | ||
|
||
public boolean isGrouping() { | ||
return this == GROUPING; | ||
} | ||
} |
17 changes: 0 additions & 17 deletions
17
backend/src/main/java/com/zzang/chongdae/offering/domain/status/Buying.java
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
backend/src/main/java/com/zzang/chongdae/offering/domain/status/CommentRoomCondition.java
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
backend/src/main/java/com/zzang/chongdae/offering/domain/status/CommentRoomStatus.java
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
backend/src/main/java/com/zzang/chongdae/offering/domain/status/Done.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
backend/src/main/java/com/zzang/chongdae/offering/domain/status/Grouping.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
backend/src/main/java/com/zzang/chongdae/offering/domain/status/Trading.java
This file was deleted.
Oops, something went wrong.
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
4 changes: 2 additions & 2 deletions
4
backend/src/main/java/com/zzang/chongdae/offering/service/OfferingService.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
6 changes: 6 additions & 0 deletions
6
backend/src/main/java/com/zzang/chongdae/offering/service/dto/CommentRoomStatusResponse.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,6 @@ | ||
package com.zzang.chongdae.offering.service.dto; | ||
|
||
import com.zzang.chongdae.offering.domain.CommentRoomStatus; | ||
|
||
public record CommentRoomStatusResponse(CommentRoomStatus updatedStatus) { | ||
} |
2 changes: 1 addition & 1 deletion
2
backend/src/main/java/com/zzang/chongdae/offering/service/dto/OfferingSaveRequest.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
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
2 changes: 1 addition & 1 deletion
2
backend/src/test/java/com/zzang/chongdae/global/domain/OfferingFixture.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