-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor(ticketItem) : 티켓타입 기획 수정 * refactor(ticketItem) : 티켓타입 기획 수정
- Loading branch information
1 parent
9b1b629
commit 4b3f96c
Showing
11 changed files
with
152 additions
and
21 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
21 changes: 21 additions & 0 deletions
21
...ng-Domain/src/main/java/band/gosrock/domain/domains/ticket_item/domain/TicketPayType.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,21 @@ | ||
package band.gosrock.domain.domains.ticket_item.domain; | ||
|
||
|
||
import com.fasterxml.jackson.annotation.JsonValue; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public enum TicketPayType { | ||
// 두둥티켓 | ||
DUDOONG_TICKET("DUDOONG_TICKET", "두둥티켓"), | ||
// 무료티켓 | ||
FREE_TICKET("FREE_TICKET", "무료티켓"), | ||
// 유료티켓 | ||
PRICE_TICKET("PRICE_TICKET", "유료티켓"); | ||
|
||
private String value; | ||
|
||
@JsonValue private String kr; | ||
} |
13 changes: 13 additions & 0 deletions
13
...n/java/band/gosrock/domain/domains/ticket_item/exception/EmptyAccountNumberException.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,13 @@ | ||
package band.gosrock.domain.domains.ticket_item.exception; | ||
|
||
|
||
import band.gosrock.common.exception.DuDoongCodeException; | ||
|
||
public class EmptyAccountNumberException extends DuDoongCodeException { | ||
|
||
public static final DuDoongCodeException EXCEPTION = new EmptyAccountNumberException(); | ||
|
||
private EmptyAccountNumberException() { | ||
super(TicketItemErrorCode.EMPTY_ACCOUT_NUMBER); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
.../main/java/band/gosrock/domain/domains/ticket_item/exception/InvalidPartnerException.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,13 @@ | ||
package band.gosrock.domain.domains.ticket_item.exception; | ||
|
||
|
||
import band.gosrock.common.exception.DuDoongCodeException; | ||
|
||
public class InvalidPartnerException extends DuDoongCodeException { | ||
|
||
public static final DuDoongCodeException EXCEPTION = new InvalidPartnerException(); | ||
|
||
private InvalidPartnerException() { | ||
super(TicketItemErrorCode.INVALID_PARTNER); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...in/java/band/gosrock/domain/domains/ticket_item/exception/InvalidTicketTypeException.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,13 @@ | ||
package band.gosrock.domain.domains.ticket_item.exception; | ||
|
||
|
||
import band.gosrock.common.exception.DuDoongCodeException; | ||
|
||
public class InvalidTicketTypeException extends DuDoongCodeException { | ||
|
||
public static final DuDoongCodeException EXCEPTION = new InvalidTicketTypeException(); | ||
|
||
private InvalidTicketTypeException() { | ||
super(TicketItemErrorCode.INVALID_TICKET_TYPE); | ||
} | ||
} |
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