@yolo-croket-dev/entity-v2 0.2.37-hj-1 → 0.2.37-hj-2

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.
@@ -1,15 +1,17 @@
1
1
  import { Types } from 'mongoose';
2
2
  /** @description 랜덤 쿠폰 정보 */
3
- export interface RandomCouponInfo {
3
+ export interface RandomCoupon {
4
4
  /** @description 쿠폰 템플릿 ID */
5
5
  couponTemplateId: string | Types.ObjectId;
6
+ /** @description 쿠폰 코드 */
7
+ couponCode: string;
6
8
  /** @description 최대 일일 발급 개수 - 없으면 제한 없음 */
7
9
  maxDailyIssueCount?: number;
8
10
  }
9
11
  export interface DailyRandomCouponEntity {
10
12
  _id: string | Types.ObjectId;
11
13
  /** @description 랜덤 쿠폰 리스트 */
12
- randomCoupons: RandomCouponInfo[];
14
+ randomCoupons: RandomCoupon[];
13
15
  /** @description 발급 시작 날짜 */
14
16
  issuePeriodStartDate: Date;
15
17
  /** @description 발급 종료 날짜 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.37-hj-1",
3
+ "version": "0.2.37-hj-2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",