checkbind_phone_model.dart
1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import 'package:json_annotation/json_annotation.dart';
part 'checkbind_phone_model.g.dart';
@JsonSerializable()
class CheckbindPhoneModel extends Object {
@JsonKey(name: 'ret')
int? ret;
@JsonKey(name: 'data')
CheckbindPhoneSunModel? data;
@JsonKey(name: 'msg')
String? msg;
CheckbindPhoneModel(this.ret,this.data,this.msg,);
factory CheckbindPhoneModel.fromJson(Map<String, dynamic> srcJson) => _$CheckbindPhoneModelFromJson(srcJson);
Map<String, dynamic> toJson() => _$CheckbindPhoneModelToJson(this);
}
@JsonSerializable()
class CheckbindPhoneSunModel extends Object {
@JsonKey(name: 'id')
String? id;
@JsonKey(name: 'nick_name')
String? nickName;
@JsonKey(name: 'role_id')
String? roleId;
@JsonKey(name: 'auth_user_id')
String? authUserId;
@JsonKey(name: 'seat_openid')
String? seatOpenid;
@JsonKey(name: 'sellerid')
String? sellerid;
@JsonKey(name: 'seller_code')
String? sellerCode;
@JsonKey(name: 'account')
String? account;
@JsonKey(name: 'phone')
String? phone;
@JsonKey(name: 'user_token')
String? userToken;
@JsonKey(name: 'registrationId')
String? registrationId;
@JsonKey(name: 'connection_id')
String? connectionId;
@JsonKey(name: 'alias')
String? alias;
@JsonKey(name: 'password')
String? password;
@JsonKey(name: 'is_on_call')
String? isOnCall;
@JsonKey(name: 'cdate')
String? cdate;
CheckbindPhoneSunModel(this.id,this.nickName,this.roleId,this.authUserId,this.seatOpenid,this.sellerid,this.sellerCode,this.account,this.phone,this.userToken,this.registrationId,this.connectionId,this.alias,this.password,this.isOnCall,this.cdate,);
factory CheckbindPhoneSunModel.fromJson(Map<String, dynamic> srcJson) => _$CheckbindPhoneSunModelFromJson(srcJson);
Map<String, dynamic> toJson() => _$CheckbindPhoneSunModelToJson(this);
}