|
@@ -1,15 +1,60 @@
|
|
1
|
+// class Person {
|
|
2
|
+// String? personId;
|
|
3
|
+// String? appId;
|
|
4
|
+// String? openid;
|
|
5
|
+// String? nickName;
|
|
6
|
+// String? userName;
|
|
7
|
+// String? avatar;
|
|
8
|
+// int? sex;
|
|
9
|
+// String? phone;
|
|
10
|
+// String? userId;
|
|
11
|
+// int? status;
|
|
12
|
+// String? createDate;
|
|
13
|
+//
|
|
14
|
+// Person();
|
|
15
|
+//
|
|
16
|
+// Person.fromJson(Map<String, dynamic> json)
|
|
17
|
+// : personId = json["personId"],
|
|
18
|
+// appId = json["appId"],
|
|
19
|
+// openid = json["openid"],
|
|
20
|
+// nickName = json["nickName"],
|
|
21
|
+// userName = json["userName"],
|
|
22
|
+// avatar = json["avatar"],
|
|
23
|
+// sex = json["sex"],
|
|
24
|
+// phone = json["phone"],
|
|
25
|
+// userId = json["userId"],
|
|
26
|
+// status = json["status"],
|
|
27
|
+// createDate = json["createDate"];
|
|
28
|
+//
|
|
29
|
+// Map<String, dynamic> toJson() => {
|
|
30
|
+// 'personId': personId,
|
|
31
|
+// 'appId': appId,
|
|
32
|
+// 'openid': openid,
|
|
33
|
+// 'nickName': nickName,
|
|
34
|
+// 'userName': userName,
|
|
35
|
+// 'avatar': avatar,
|
|
36
|
+// 'sex': sex,
|
|
37
|
+// 'phone': phone,
|
|
38
|
+// 'userId': userId,
|
|
39
|
+// 'status': status,
|
|
40
|
+// 'createDate': createDate,
|
|
41
|
+// };
|
|
42
|
+// }
|
|
43
|
+
|
|
44
|
+
|
1
|
45
|
class Person {
|
2
|
46
|
String? personId;
|
3
|
47
|
String? appId;
|
4
|
48
|
String? openid;
|
5
|
49
|
String? nickName;
|
6
|
|
- String? userName;
|
7
|
50
|
String? avatar;
|
8
|
|
- int? sex;
|
|
51
|
+ num? sex;
|
9
|
52
|
String? phone;
|
10
|
53
|
String? userId;
|
11
|
|
- int? status;
|
|
54
|
+ num? status;
|
12
|
55
|
String? createDate;
|
|
56
|
+ String? identity;
|
|
57
|
+ bool? isOrgManager;
|
13
|
58
|
|
14
|
59
|
Person();
|
15
|
60
|
|
|
@@ -18,25 +63,28 @@ class Person {
|
18
|
63
|
appId = json["appId"],
|
19
|
64
|
openid = json["openid"],
|
20
|
65
|
nickName = json["nickName"],
|
21
|
|
- userName = json["userName"],
|
22
|
66
|
avatar = json["avatar"],
|
23
|
67
|
sex = json["sex"],
|
24
|
68
|
phone = json["phone"],
|
25
|
69
|
userId = json["userId"],
|
26
|
70
|
status = json["status"],
|
27
|
|
- createDate = json["createDate"];
|
|
71
|
+ createDate = json["createDate"],
|
|
72
|
+ isOrgManager = json["isOrgManager"],
|
|
73
|
+ identity = json["identity"];
|
28
|
74
|
|
29
|
75
|
Map<String, dynamic> toJson() => {
|
30
|
|
- 'personId': personId,
|
31
|
|
- 'appId': appId,
|
32
|
|
- 'openid': openid,
|
33
|
|
- 'nickName': nickName,
|
34
|
|
- 'userName': userName,
|
35
|
|
- 'avatar': avatar,
|
36
|
|
- 'sex': sex,
|
37
|
|
- 'phone': phone,
|
38
|
|
- 'userId': userId,
|
39
|
|
- 'status': status,
|
40
|
|
- 'createDate': createDate,
|
41
|
|
- };
|
|
76
|
+ 'personId': personId,
|
|
77
|
+ 'appId': appId,
|
|
78
|
+ 'openid': openid,
|
|
79
|
+ 'nickName': nickName,
|
|
80
|
+ 'avatar': avatar,
|
|
81
|
+ 'sex': sex,
|
|
82
|
+ 'phone': phone,
|
|
83
|
+ 'userId': userId,
|
|
84
|
+ 'status': status,
|
|
85
|
+ 'createDate': createDate,
|
|
86
|
+ 'isOrgManager': isOrgManager,
|
|
87
|
+ 'identity': identity,
|
|
88
|
+
|
|
89
|
+ };
|
42
|
90
|
}
|