@yolo-croket-dev/entity-v2 0.0.132 → 0.0.133-receipt-coupon-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ export interface ReceiptCouponTemplateDiscountRateInfo {
|
|
|
3
3
|
/** @description 할인율 */
|
|
4
4
|
rate: number;
|
|
5
5
|
/** @description 최대 할인 금액 */
|
|
6
|
-
maxDiscountPrice
|
|
6
|
+
maxDiscountPrice: number;
|
|
7
7
|
}
|
|
8
8
|
export interface ReceiptCouponTemplateDiscountPriceInfo {
|
|
9
9
|
/** @description 할인 금액 */
|
|
@@ -41,9 +41,9 @@ export default interface ReceiptCouponTemplateEntity {
|
|
|
41
41
|
_id: Types.ObjectId | string;
|
|
42
42
|
/** @description 사용자가 쿠폰을 발급할 수 있는지 여부 */
|
|
43
43
|
isCanUserIssue: boolean;
|
|
44
|
-
/** @description 쿠폰
|
|
44
|
+
/** @description 쿠폰 템플릿 수정 여부 */
|
|
45
45
|
isEdit: boolean;
|
|
46
|
-
/** @description
|
|
46
|
+
/** @description 쿠폰 템플릿 정지 상태 여부 */
|
|
47
47
|
isPause: boolean;
|
|
48
48
|
/** @description 쿠폰 할인 방식 (율 할인 or 금액 할인) */
|
|
49
49
|
discountType: ReceiptCouponTemplateDiscountTypeEnum;
|
|
@@ -55,9 +55,9 @@ export default interface ReceiptCouponTemplateEntity {
|
|
|
55
55
|
couponName: string;
|
|
56
56
|
/** @description 쿠폰 코드 */
|
|
57
57
|
couponCode: string;
|
|
58
|
-
/** @description 쿠폰 사용 조건 정보
|
|
58
|
+
/** @description 쿠폰 사용 조건 정보 */
|
|
59
59
|
useConditionInfo: ReceiptCouponTemplateUseConditionInfo;
|
|
60
|
-
/** @description 쿠폰 발급
|
|
60
|
+
/** @description 쿠폰 발급 무제한 여부 */
|
|
61
61
|
isInfinity: boolean;
|
|
62
62
|
/** @description 쿠폰 발급 가능 기간 정보 */
|
|
63
63
|
canIssuePeriodInfo: ReceiptCouponTemplateCanIssuePeriodInfo;
|