@ningboyz/types 1.8.115 → 1.8.116

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.8.115",
4
+ "version": "1.8.116",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -0,0 +1,53 @@
1
+ import _ from "lodash";
2
+
3
+ export interface IGztbBillResponse {
4
+ whoBuild: number;
5
+ userIndx: number;
6
+ gztbIndx: number;
7
+ idEntity: number;
8
+ dataStat: number;
9
+ dataHide: number;
10
+ dataOrdr: number;
11
+ dataFrom: number;
12
+ dataDate: number;
13
+ dataTime: number;
14
+ createBy: string;
15
+ createAt: number;
16
+ updateBy: string;
17
+ updateAt: number;
18
+ deleteBy: string;
19
+ deleteAt: number;
20
+
21
+ dictMain: number; // 岗位ID
22
+ dictText: string; // 岗位名称
23
+ userSize: number; // 应选人数
24
+ }
25
+
26
+ export class TGztbBillResponse implements IGztbBillResponse {
27
+ whoBuild: number = 0;
28
+ userIndx: number = 0;
29
+ gztbIndx: number = 0;
30
+ idEntity: number = 0;
31
+ dataStat: number = 0;
32
+ dataHide: number = 0;
33
+ dataOrdr: number = 0;
34
+ dataFrom: number = 0;
35
+ dataDate: number = 0;
36
+ dataTime: number = 0;
37
+ createBy: string = "";
38
+ createAt: number = 0;
39
+ updateBy: string = "";
40
+ updateAt: number = 0;
41
+ deleteBy: string = "";
42
+ deleteAt: number = 0;
43
+
44
+ dictMain: number = 0; // 岗位ID
45
+ dictText: string = ""; // 岗位名称
46
+ userSize: number = 0; // 应选人数
47
+
48
+ constructor(data: Partial<IGztbBillResponse> = {}) {
49
+ if (data) {
50
+ _.merge(this, _.pick(data, Object.keys(this)));
51
+ }
52
+ }
53
+ }
@@ -7,6 +7,8 @@ import { IGzzdMainResponse } from "../gzzd/IGzzdMainResponse";
7
7
  import { ITablMainResponse } from "../tabl/ITablMainResponse";
8
8
  import { ITaskMainResponse } from "../task/ITaskMainResponse";
9
9
  import { IWzpzK8kmResponse } from "../wzpz";
10
+ import { IGztbBillResponse } from "./IGztbBillResponse";
11
+
10
12
 
11
13
  export interface IGztbMainResponse {
12
14
  whoBuild: number;
@@ -81,6 +83,8 @@ export interface IGztbMainResponse {
81
83
  listPath: TCore.IPathResponse[];
82
84
  listWZK8: IWzpzK8kmResponse[];
83
85
  listYSDWLite: IUnitResponse[];
86
+ // 竞选职位
87
+ listBill: IGztbBillResponse[];
84
88
  }
85
89
 
86
90
  export class TGztbMainResponse implements IGztbMainResponse {
@@ -146,10 +150,11 @@ export class TGztbMainResponse implements IGztbMainResponse {
146
150
  readUnit: IUnitResponse[] = [];
147
151
  listWZK8: IWzpzK8kmResponse[] = [];
148
152
  listYSDWLite: IUnitResponse[] = [];
153
+ listBill: IGztbBillResponse[] = [];
149
154
 
150
- constructor(card: Partial<IGztbMainResponse> = {}) {
151
- if (card) {
152
- _.merge(this, _.pick(card, Object.keys(this)));
155
+ constructor(data: Partial<IGztbMainResponse> = {}) {
156
+ if (data) {
157
+ _.merge(this, _.pick(data, Object.keys(this)));
153
158
  }
154
159
  }
155
160
  }