@ningboyz/types 1.2.108 → 1.2.109

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.2.108",
4
+ "version": "1.2.109",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -187,6 +187,8 @@ export const CONST_SYS_TYPEU_房产管理_共有情况 = "房产管理-共有情
187
187
  export const CONST_SYS_TYPEU_房产管理_权利类型 = "房产管理-权利类型";
188
188
  export const CONST_SYS_TYPEU_房产管理_权利性质 = "房产管理-权利性质";
189
189
  export const CONST_SYS_TYPEU_房产管理_不动产权用途 = "房产管理-不动产权用途";
190
+ export const CONST_SYS_TYPEU_房产管理_招租方式 = "房产管理-招租方式";
191
+ export const CONST_SYS_TYPEU_房产管理_底价确定方式 = "房产管理-底价确定方式";
190
192
 
191
193
 
192
194
 
@@ -1,3 +1,5 @@
1
+ import _ from "lodash";
2
+
1
3
  export interface IHznkDataNbyhResponse {
2
4
  whoBuild: number;
3
5
  userIndx: number;
@@ -45,4 +47,10 @@ export class THznkDataNbyhResponse implements IHznkDataNbyhResponse {
45
47
  userMain: number = 0;
46
48
  userName: string = "";
47
49
  dataUses: string = "";
50
+
51
+ constructor(response?: any) {
52
+ if (response) {
53
+ _.merge(this, _.pick(response, Object.keys(this)));
54
+ }
55
+ }
48
56
  }