@yolo-croket-dev/entity-v2 0.2.43-sj4 → 0.2.43-sj5

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.
@@ -15,23 +15,33 @@ export interface RequestedSellerInfo {
15
15
  sellerId: Types.ObjectId | string;
16
16
  regDate: Date;
17
17
  }
18
+ export interface ApprovedBrandInfo {
19
+ approvedBrandName: string;
20
+ approvedEngBrandName?: string;
21
+ }
22
+ export interface BrandInspectionResolutionInfo {
23
+ /** @description 관리자 정보 */
24
+ managerInfo: ManagerInfo;
25
+ /** @description 검토 일자 */
26
+ inspectionDate: Date;
27
+ /** @description 검토 알림 (셀러에게 보내는 문구) */
28
+ inspectionResultMessage?: string;
29
+ /** @description 승인 시 최종 반영된 브랜드 값 */
30
+ approvedBrandInfo?: ApprovedBrandInfo;
31
+ }
18
32
  export default interface BrandInspectionEntity {
19
33
  /** @description 브랜드 검토 고유 아이디 */
20
34
  _id: Types.ObjectId | string;
21
- /** @description 브랜드 이름 */
22
- brandName: string;
23
- /** @description 브랜드 영문 이름 */
24
- engBrandName?: string;
35
+ /** @description 브랜드 이름 (셀러 요청 값) */
36
+ requestedBrandName: string;
37
+ /** @description 브랜드 영문 이름 (셀러 요청 값)*/
38
+ requestedEngBrandName?: string;
25
39
  /** @description 검토 상태 */
26
40
  inspectionStatus: InspectionStatusEnum;
27
- /** @description 검토 알림 (셀러에게 보내는 문구) */
28
- inspectionResultMessage?: string;
29
- /** @description 관리자 정보 */
30
- managerInfo?: ManagerInfo;
31
41
  /** @description 요청 셀러 정보 */
32
42
  requestedSellerInfos: RequestedSellerInfo[];
33
- /** @description 검토 일자 (검토 완료 시 저장) */
34
- inspectionDate?: Date;
43
+ /** @description 승인/반려 최종 결과 */
44
+ resolutionInfo?: BrandInspectionResolutionInfo;
35
45
  /** @description 저장날짜 */
36
46
  regDate: Date;
37
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.43-sj4",
3
+ "version": "0.2.43-sj5",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",