@ningboyz/types 1.7.94 → 1.7.95

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.7.94",
4
+ "version": "1.7.95",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -1,82 +0,0 @@
1
- import _ from "lodash";
2
-
3
- export interface IPublicInvestItemResponse {
4
- publicInvestItemId: number;
5
- publicInvestId: number;
6
- /**
7
- * 产品名称
8
- */
9
- product: string;
10
- /**
11
- * 公司id
12
- */
13
- companyGraphId: number;
14
- /**
15
- * 公司logo
16
- */
17
- companyLogo: string;
18
- /**
19
- * logo
20
- */
21
- logo: string;
22
- /**
23
- * 企业标签
24
- */
25
- tagList: string;
26
- /**
27
- * 产品id
28
- */
29
- productId: string;
30
- /**
31
- * 公司名
32
- */
33
- company: string;
34
- /**
35
- * 投资金额
36
- */
37
- money: string;
38
- /**
39
- * 轮次
40
- */
41
- round: string;
42
- /**
43
- * 投资时间
44
- */
45
- investDate: number;
46
- /**
47
- * 介绍
48
- */
49
- intro: string;
50
- /**
51
- * 国民经济行业分类门类
52
- */
53
- category: string;
54
- /**
55
- * 行政区县
56
- */
57
- district: string;
58
- }
59
-
60
- export class TPublicInvestItemResponse implements IPublicInvestItemResponse {
61
- publicInvestItemId: number = 0;
62
- publicInvestId: number = 0;
63
- product: string = "";
64
- companyGraphId: number = 0;
65
- companyLogo: string = "";
66
- logo: string = "";
67
- tagList: string = "";
68
- productId: string = "";
69
- company: string = "";
70
- money: string = "";
71
- round: string = "";
72
- investDate: number = 0;
73
- intro: string = "";
74
- category: string = "";
75
- district: string = "";
76
-
77
- constructor(data: Partial<IPublicInvestItemResponse> = {}) {
78
- if (data) {
79
- _.merge(this, _.pick(data, Object.keys(this)));
80
- }
81
- }
82
- }
@@ -1,29 +0,0 @@
1
- import _ from "lodash";
2
- import type { IPublicInvestItemResponse } from "./IPublicInvestItemResponse";
3
-
4
- export interface IPublicInvestResponse {
5
- publicInvestId: number;
6
- unitName: string;
7
- quantity: number;
8
- uploader: string;
9
- uploadDate: number;
10
- /**
11
- * 虚拟字段
12
- */
13
- publicInvestItems: IPublicInvestItemResponse[];
14
- }
15
-
16
- export class TPublicInvestResponse implements IPublicInvestResponse {
17
- publicInvestId: number = 0;
18
- unitName: string = "";
19
- quantity: number = 0;
20
- uploader: string = "";
21
- uploadDate: number = 0;
22
- publicInvestItems: IPublicInvestItemResponse[] = [];
23
-
24
- constructor(data: Partial<IPublicInvestResponse> = {}) {
25
- if (data) {
26
- _.merge(this, _.pick(data, Object.keys(this)));
27
- }
28
- }
29
- }