@yolo-croket-dev/entity-v2 0.2.9-hj-2 → 0.2.9-hj-4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.9-hj-2",
3
+ "version": "0.2.9-hj-4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,3 +1,4 @@
1
+ import { Types } from 'mongoose';
1
2
  export interface Holiday {
2
3
  /** @description 휴일 이름 */
3
4
  dateName: string;
@@ -5,17 +6,15 @@ export interface Holiday {
5
6
  locdate: string;
6
7
  }
7
8
  export interface PublicHolidayEntity {
8
- _id: string;
9
- /** @description 년도 */
9
+ _id: Types.ObjectId | string;
10
+ /** @description 년도 yyyy */
10
11
  year: number;
11
- /** @description 월 */
12
+ /** @description 월 MM */
12
13
  month: number;
13
- /** @description 국가 */
14
- nation: string;
15
14
  /** @description 휴일 목록 */
16
15
  holidays: Holiday[];
17
- /** @description 생성일 */
18
- createdAt: Date;
19
- /** @description 수정일 */
20
- updatedAt: Date;
16
+ /** @description 휴일 데이터 갱신일 */
17
+ renewedAt: Date;
18
+ /** @description 휴일 데이터 api 호출일 */
19
+ apiCalledAt: Date;
21
20
  }