-
Notifications
You must be signed in to change notification settings - Fork 0
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
10 changed files
with
118 additions
and
74 deletions.
There are no files selected for viewing
50 changes: 0 additions & 50 deletions
50
threedollar-application/src/main/java/com/threedollar/controller/poll/PollController.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
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
22 changes: 22 additions & 0 deletions
22
...r-application/src/main/java/com/threedollar/service/poll/dto/response/CursorResponse.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,22 @@ | ||
package com.threedollar.service.poll.dto.response; | ||
|
||
import com.threedollar.domain.poll.Poll; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@NoArgsConstructor | ||
@Getter | ||
public class CursorResponse { | ||
|
||
private boolean hasNext; | ||
|
||
private Long next; | ||
|
||
@Builder | ||
public CursorResponse(boolean hasNext, Long next) { | ||
this.hasNext = hasNext; | ||
this.next = next; | ||
} | ||
|
||
} |
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
17 changes: 17 additions & 0 deletions
17
threedollar-core/threedollar-domain/src/main/java/com/threedollar/domain/AccountType.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,17 @@ | ||
package com.threedollar.domain; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum AccountType { | ||
|
||
BOSS_ACCOUNT("사장님 계정"), | ||
USER_ACCOUNT("유저 계정"), | ||
; | ||
|
||
private final String description; | ||
|
||
AccountType(String description) { | ||
this.description = description; | ||
} | ||
} |
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
17 changes: 17 additions & 0 deletions
17
...edollar-core/threedollar-domain/src/main/java/com/threedollar/domain/poll/PollStatus.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,17 @@ | ||
package com.threedollar.domain.poll; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum PollStatus { | ||
|
||
ACTIVE("활성화"), | ||
DELETED("삭제됨"), | ||
; | ||
|
||
private final String description; | ||
|
||
PollStatus(String description) { | ||
this.description = description; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -10,6 +10,5 @@ public interface PollRepositoryCustom { | |
|
||
List<Poll> findAllPollList(Long cursor, int size, PollType pollType); | ||
|
||
|
||
|
||
|
||
} |