-
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.
Merge pull request #136 from CoolPeace-yanolza/develop
2024-01-19 release
- Loading branch information
Showing
26 changed files
with
201 additions
and
177 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
15 changes: 7 additions & 8 deletions
15
src/main/java/com/coolpeace/domain/coupon/dto/request/CouponUpdateRequest.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
11 changes: 0 additions & 11 deletions
11
...ava/com/coolpeace/domain/coupon/dto/request/converter/CouponRoomTypeRequestConverter.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
.../java/com/coolpeace/domain/coupon/dto/request/converter/CustomerTypeRequestConverter.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...ain/java/com/coolpeace/domain/coupon/dto/request/converter/DayOfWeekRequestConverter.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
.../java/com/coolpeace/domain/coupon/dto/request/converter/DiscountTypeRequestConverter.java
This file was deleted.
Oops, something went wrong.
14 changes: 12 additions & 2 deletions
14
src/main/java/com/coolpeace/domain/coupon/dto/request/type/SearchCouponDateFilterType.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 |
---|---|---|
@@ -1,5 +1,15 @@ | ||
package com.coolpeace.domain.coupon.dto.request.type; | ||
|
||
public enum SearchCouponDateFilterType { | ||
YEAR, THREE_MONTHS, SIX_MONTHS | ||
import com.coolpeace.global.common.ValuedEnum; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
public enum SearchCouponDateFilterType implements ValuedEnum { | ||
YEAR("1년"), | ||
THREE_MONTHS("3개월"), | ||
SIX_MONTHS("6개월"); | ||
|
||
private final String value; | ||
} |
15 changes: 13 additions & 2 deletions
15
src/main/java/com/coolpeace/domain/coupon/dto/request/type/SearchCouponStatusFilterType.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 |
---|---|---|
@@ -1,5 +1,16 @@ | ||
package com.coolpeace.domain.coupon.dto.request.type; | ||
|
||
public enum SearchCouponStatusFilterType { | ||
All, EXPOSURE_ON, EXPOSURE_OFF, EXPIRED | ||
import com.coolpeace.global.common.ValuedEnum; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
public enum SearchCouponStatusFilterType implements ValuedEnum { | ||
All("전체"), | ||
EXPOSURE_ON("노출 ON"), | ||
EXPOSURE_OFF("노출 OFF"), | ||
EXPIRED("만료"); | ||
|
||
private final String value; | ||
} |
3 changes: 2 additions & 1 deletion
3
src/main/java/com/coolpeace/domain/coupon/entity/type/CouponIssuerType.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
10 changes: 5 additions & 5 deletions
10
src/main/java/com/coolpeace/domain/coupon/entity/type/CouponRoomType.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package com.coolpeace.domain.coupon.entity.type; | ||
|
||
import com.coolpeace.global.common.ValuedEnum; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
public enum CouponRoomType { | ||
RENTAL(0, "대실"), | ||
LODGE(1, "숙박"), | ||
TWO_NIGHT(2, "2박 이상"); | ||
public enum CouponRoomType implements ValuedEnum { | ||
RENTAL("대실"), | ||
LODGE("숙박"), | ||
TWO_NIGHT("2박 이상"); | ||
|
||
private final Integer index; | ||
private final String value; | ||
} |
11 changes: 6 additions & 5 deletions
11
src/main/java/com/coolpeace/domain/coupon/entity/type/CouponStatusType.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
9 changes: 4 additions & 5 deletions
9
src/main/java/com/coolpeace/domain/coupon/entity/type/CustomerType.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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
package com.coolpeace.domain.coupon.entity.type; | ||
|
||
import com.coolpeace.global.common.ValuedEnum; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
public enum CustomerType { | ||
@RequiredArgsConstructor | ||
public enum CustomerType implements ValuedEnum { | ||
ALL_CLIENT("모든 고객"), | ||
FIRST_CLIENT("첫방문 고객"), | ||
RE_CLIENT("재방문 고객"); | ||
|
||
private final String value; | ||
|
||
CustomerType(String value) { | ||
this.value = value; | ||
} | ||
} |
9 changes: 4 additions & 5 deletions
9
src/main/java/com/coolpeace/domain/coupon/entity/type/DiscountType.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 |
---|---|---|
@@ -1,15 +1,14 @@ | ||
package com.coolpeace.domain.coupon.entity.type; | ||
|
||
import com.coolpeace.global.common.ValuedEnum; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
public enum DiscountType { | ||
@RequiredArgsConstructor | ||
public enum DiscountType implements ValuedEnum { | ||
FIXED_RATE("정률"), | ||
FIXED_PRICE("정액"); | ||
|
||
private final String value; | ||
|
||
DiscountType(String value) { | ||
this.value = 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.