Showing
3 changed files
with
415 additions
and
0 deletions
lib/models/check_seller_acc_model.dart
0 → 100644
| 1 | +import 'package:json_annotation/json_annotation.dart'; | ||
| 2 | + | ||
| 3 | +part 'check_seller_acc_model.g.dart'; | ||
| 4 | + | ||
| 5 | +@JsonSerializable() | ||
| 6 | +class CheckSellerAccModel extends Object { | ||
| 7 | + @JsonKey(name: 'ret') | ||
| 8 | + int ret; | ||
| 9 | + | ||
| 10 | + @JsonKey(name: 'data') | ||
| 11 | + List<CheckSellerAccSunModel> data; | ||
| 12 | + | ||
| 13 | + @JsonKey(name: 'msg') | ||
| 14 | + String msg; | ||
| 15 | + | ||
| 16 | + CheckSellerAccModel( | ||
| 17 | + this.ret, | ||
| 18 | + this.data, | ||
| 19 | + this.msg, | ||
| 20 | + ); | ||
| 21 | + | ||
| 22 | + factory CheckSellerAccModel.fromJson(Map<String, dynamic> srcJson) => | ||
| 23 | + _$CheckSellerAccModelFromJson(srcJson); | ||
| 24 | + | ||
| 25 | + Map<String, dynamic> toJson() => _$CheckSellerAccModelToJson(this); | ||
| 26 | +} | ||
| 27 | + | ||
| 28 | +@JsonSerializable() | ||
| 29 | +class CheckSellerAccSunModel extends Object { | ||
| 30 | + @JsonKey(name: 'id') | ||
| 31 | + String id; | ||
| 32 | + | ||
| 33 | + @JsonKey(name: 'uid') | ||
| 34 | + String uid; | ||
| 35 | + | ||
| 36 | + @JsonKey(name: 'seat_openid') | ||
| 37 | + String seatOpenid; | ||
| 38 | + | ||
| 39 | + @JsonKey(name: 'nick_name') | ||
| 40 | + String nickName; | ||
| 41 | + | ||
| 42 | + @JsonKey(name: 'auth_user_id') | ||
| 43 | + String authUserId; | ||
| 44 | + | ||
| 45 | + @JsonKey(name: 'seller_code') | ||
| 46 | + String sellerCode; | ||
| 47 | + | ||
| 48 | + @JsonKey(name: 'account') | ||
| 49 | + String account; | ||
| 50 | + | ||
| 51 | + @JsonKey(name: 'user_token') | ||
| 52 | + String userToken; | ||
| 53 | + | ||
| 54 | + @JsonKey(name: 'registrationId') | ||
| 55 | + String registrationId; | ||
| 56 | + | ||
| 57 | + @JsonKey(name: 'connection_id') | ||
| 58 | + String connectionId; | ||
| 59 | + | ||
| 60 | + @JsonKey(name: 'alias') | ||
| 61 | + String alias; | ||
| 62 | + | ||
| 63 | + @JsonKey(name: 'password') | ||
| 64 | + String password; | ||
| 65 | + | ||
| 66 | + @JsonKey(name: 'sellerid') | ||
| 67 | + String sellerid; | ||
| 68 | + | ||
| 69 | + @JsonKey(name: 'phone') | ||
| 70 | + String phone; | ||
| 71 | + | ||
| 72 | + @JsonKey(name: 'role_id') | ||
| 73 | + String roleId; | ||
| 74 | + | ||
| 75 | + @JsonKey(name: 'role_name') | ||
| 76 | + String roleName; | ||
| 77 | + | ||
| 78 | + @JsonKey(name: 'pid') | ||
| 79 | + String pid; | ||
| 80 | + | ||
| 81 | + @JsonKey(name: 'openid') | ||
| 82 | + String openid; | ||
| 83 | + | ||
| 84 | + @JsonKey(name: 'sellername') | ||
| 85 | + String sellername; | ||
| 86 | + | ||
| 87 | + @JsonKey(name: 'selleralias') | ||
| 88 | + String selleralias; | ||
| 89 | + | ||
| 90 | + @JsonKey(name: 'slogan') | ||
| 91 | + String slogan; | ||
| 92 | + | ||
| 93 | + @JsonKey(name: 'sellerdesc') | ||
| 94 | + String sellerdesc; | ||
| 95 | + | ||
| 96 | + @JsonKey(name: 'seller_logo') | ||
| 97 | + String sellerLogo; | ||
| 98 | + | ||
| 99 | + @JsonKey(name: 'seller_image') | ||
| 100 | + String sellerImage; | ||
| 101 | + | ||
| 102 | + @JsonKey(name: 'seller_tel') | ||
| 103 | + String sellerTel; | ||
| 104 | + | ||
| 105 | + @JsonKey(name: 'map_address') | ||
| 106 | + String mapAddress; | ||
| 107 | + | ||
| 108 | + @JsonKey(name: 'long') | ||
| 109 | + String long; | ||
| 110 | + | ||
| 111 | + @JsonKey(name: 'lat') | ||
| 112 | + String lat; | ||
| 113 | + | ||
| 114 | + @JsonKey(name: 'discount_type') | ||
| 115 | + String discountType; | ||
| 116 | + | ||
| 117 | + @JsonKey(name: 'last_num') | ||
| 118 | + String lastNum; | ||
| 119 | + | ||
| 120 | + @JsonKey(name: 'ispass') | ||
| 121 | + String ispass; | ||
| 122 | + | ||
| 123 | + @JsonKey(name: 'dis_ispass') | ||
| 124 | + String disIspass; | ||
| 125 | + | ||
| 126 | + @JsonKey(name: 'account_money') | ||
| 127 | + String accountMoney; | ||
| 128 | + | ||
| 129 | + @JsonKey(name: 'isopen_dc') | ||
| 130 | + String isopenDc; | ||
| 131 | + | ||
| 132 | + @JsonKey(name: 'isopen_md') | ||
| 133 | + String isopenMd; | ||
| 134 | + | ||
| 135 | + @JsonKey(name: 'dc_adduser_code') | ||
| 136 | + String dcAdduserCode; | ||
| 137 | + | ||
| 138 | + @JsonKey(name: 'average') | ||
| 139 | + String average; | ||
| 140 | + | ||
| 141 | + @JsonKey(name: 'is_online_reserve') | ||
| 142 | + String isOnlineReserve; | ||
| 143 | + | ||
| 144 | + @JsonKey(name: 'is_tele') | ||
| 145 | + String isTele; | ||
| 146 | + | ||
| 147 | + @JsonKey(name: 'daily') | ||
| 148 | + String daily; | ||
| 149 | + | ||
| 150 | + @JsonKey(name: 'daily_time') | ||
| 151 | + String dailyTime; | ||
| 152 | + | ||
| 153 | + @JsonKey(name: 'scale') | ||
| 154 | + String scale; | ||
| 155 | + | ||
| 156 | + @JsonKey(name: 'score') | ||
| 157 | + String score; | ||
| 158 | + | ||
| 159 | + @JsonKey(name: 'is_belt_wine') | ||
| 160 | + String isBeltWine; | ||
| 161 | + | ||
| 162 | + @JsonKey(name: 'is_auth') | ||
| 163 | + String isAuth; | ||
| 164 | + | ||
| 165 | + @JsonKey(name: 'is_call_tel') | ||
| 166 | + String isCallTel; | ||
| 167 | + | ||
| 168 | + @JsonKey(name: 'rec_stime') | ||
| 169 | + String recStime; | ||
| 170 | + | ||
| 171 | + @JsonKey(name: 'rec_etime') | ||
| 172 | + String recEtime; | ||
| 173 | + | ||
| 174 | + @JsonKey(name: 'status') | ||
| 175 | + String status; | ||
| 176 | + | ||
| 177 | + @JsonKey(name: 'is_recom') | ||
| 178 | + String isRecom; | ||
| 179 | + | ||
| 180 | + @JsonKey(name: 'cdate') | ||
| 181 | + String cdate; | ||
| 182 | + | ||
| 183 | + @JsonKey(name: 'applyment_sub_mchid') | ||
| 184 | + String applymentSubMchid; | ||
| 185 | + | ||
| 186 | + @JsonKey(name: 'pro_code') | ||
| 187 | + String proCode; | ||
| 188 | + | ||
| 189 | + @JsonKey(name: 'city_code') | ||
| 190 | + String cityCode; | ||
| 191 | + | ||
| 192 | + @JsonKey(name: 'dis_code') | ||
| 193 | + String disCode; | ||
| 194 | + | ||
| 195 | + CheckSellerAccSunModel( | ||
| 196 | + this.id, | ||
| 197 | + this.uid, | ||
| 198 | + this.seatOpenid, | ||
| 199 | + this.nickName, | ||
| 200 | + this.authUserId, | ||
| 201 | + this.sellerCode, | ||
| 202 | + this.account, | ||
| 203 | + this.userToken, | ||
| 204 | + this.registrationId, | ||
| 205 | + this.connectionId, | ||
| 206 | + this.alias, | ||
| 207 | + this.password, | ||
| 208 | + this.sellerid, | ||
| 209 | + this.phone, | ||
| 210 | + this.roleId, | ||
| 211 | + this.roleName, | ||
| 212 | + this.pid, | ||
| 213 | + this.openid, | ||
| 214 | + this.sellername, | ||
| 215 | + this.selleralias, | ||
| 216 | + this.slogan, | ||
| 217 | + this.sellerdesc, | ||
| 218 | + this.sellerLogo, | ||
| 219 | + this.sellerImage, | ||
| 220 | + this.sellerTel, | ||
| 221 | + this.mapAddress, | ||
| 222 | + this.long, | ||
| 223 | + this.lat, | ||
| 224 | + this.discountType, | ||
| 225 | + this.lastNum, | ||
| 226 | + this.ispass, | ||
| 227 | + this.disIspass, | ||
| 228 | + this.accountMoney, | ||
| 229 | + this.isopenDc, | ||
| 230 | + this.isopenMd, | ||
| 231 | + this.dcAdduserCode, | ||
| 232 | + this.average, | ||
| 233 | + this.isOnlineReserve, | ||
| 234 | + this.isTele, | ||
| 235 | + this.daily, | ||
| 236 | + this.dailyTime, | ||
| 237 | + this.scale, | ||
| 238 | + this.score, | ||
| 239 | + this.isBeltWine, | ||
| 240 | + this.isAuth, | ||
| 241 | + this.isCallTel, | ||
| 242 | + this.recStime, | ||
| 243 | + this.recEtime, | ||
| 244 | + this.status, | ||
| 245 | + this.isRecom, | ||
| 246 | + this.cdate, | ||
| 247 | + this.applymentSubMchid, | ||
| 248 | + this.proCode, | ||
| 249 | + this.cityCode, | ||
| 250 | + this.disCode, | ||
| 251 | + ); | ||
| 252 | + | ||
| 253 | + factory CheckSellerAccSunModel.fromJson(Map<String, dynamic> srcJson) => | ||
| 254 | + _$CheckSellerAccSunModelFromJson(srcJson); | ||
| 255 | + | ||
| 256 | + Map<String, dynamic> toJson() => _$CheckSellerAccSunModelToJson(this); | ||
| 257 | +} |
lib/models/check_seller_acc_model.g.dart
0 → 100644
| 1 | +// GENERATED CODE - DO NOT MODIFY BY HAND | ||
| 2 | + | ||
| 3 | +part of 'check_seller_acc_model.dart'; | ||
| 4 | + | ||
| 5 | +// ************************************************************************** | ||
| 6 | +// JsonSerializableGenerator | ||
| 7 | +// ************************************************************************** | ||
| 8 | + | ||
| 9 | +CheckSellerAccModel _$CheckSellerAccModelFromJson(Map<String, dynamic> json) { | ||
| 10 | + return CheckSellerAccModel( | ||
| 11 | + json['ret'] as int, | ||
| 12 | + (json['data'] as List) | ||
| 13 | + ?.map((e) => e == null | ||
| 14 | + ? null | ||
| 15 | + : CheckSellerAccSunModel.fromJson(e as Map<String, dynamic>)) | ||
| 16 | + ?.toList(), | ||
| 17 | + json['msg'] as String); | ||
| 18 | +} | ||
| 19 | + | ||
| 20 | +Map<String, dynamic> _$CheckSellerAccModelToJson( | ||
| 21 | + CheckSellerAccModel instance) => | ||
| 22 | + <String, dynamic>{ | ||
| 23 | + 'ret': instance.ret, | ||
| 24 | + 'data': instance.data, | ||
| 25 | + 'msg': instance.msg | ||
| 26 | + }; | ||
| 27 | + | ||
| 28 | +CheckSellerAccSunModel _$CheckSellerAccSunModelFromJson( | ||
| 29 | + Map<String, dynamic> json) { | ||
| 30 | + return CheckSellerAccSunModel( | ||
| 31 | + json['id'] as String, | ||
| 32 | + json['uid'] as String, | ||
| 33 | + json['seat_openid'] as String, | ||
| 34 | + json['nick_name'] as String, | ||
| 35 | + json['auth_user_id'] as String, | ||
| 36 | + json['seller_code'] as String, | ||
| 37 | + json['account'] as String, | ||
| 38 | + json['user_token'] as String, | ||
| 39 | + json['registrationId'] as String, | ||
| 40 | + json['connection_id'] as String, | ||
| 41 | + json['alias'] as String, | ||
| 42 | + json['password'] as String, | ||
| 43 | + json['sellerid'] as String, | ||
| 44 | + json['phone'] as String, | ||
| 45 | + json['role_id'] as String, | ||
| 46 | + json['role_name'] as String, | ||
| 47 | + json['pid'] as String, | ||
| 48 | + json['openid'] as String, | ||
| 49 | + json['sellername'] as String, | ||
| 50 | + json['selleralias'] as String, | ||
| 51 | + json['slogan'] as String, | ||
| 52 | + json['sellerdesc'] as String, | ||
| 53 | + json['seller_logo'] as String, | ||
| 54 | + json['seller_image'] as String, | ||
| 55 | + json['seller_tel'] as String, | ||
| 56 | + json['map_address'] as String, | ||
| 57 | + json['long'] as String, | ||
| 58 | + json['lat'] as String, | ||
| 59 | + json['discount_type'] as String, | ||
| 60 | + json['last_num'] as String, | ||
| 61 | + json['ispass'] as String, | ||
| 62 | + json['dis_ispass'] as String, | ||
| 63 | + json['account_money'] as String, | ||
| 64 | + json['isopen_dc'] as String, | ||
| 65 | + json['isopen_md'] as String, | ||
| 66 | + json['dc_adduser_code'] as String, | ||
| 67 | + json['average'] as String, | ||
| 68 | + json['is_online_reserve'] as String, | ||
| 69 | + json['is_tele'] as String, | ||
| 70 | + json['daily'] as String, | ||
| 71 | + json['daily_time'] as String, | ||
| 72 | + json['scale'] as String, | ||
| 73 | + json['score'] as String, | ||
| 74 | + json['is_belt_wine'] as String, | ||
| 75 | + json['is_auth'] as String, | ||
| 76 | + json['is_call_tel'] as String, | ||
| 77 | + json['rec_stime'] as String, | ||
| 78 | + json['rec_etime'] as String, | ||
| 79 | + json['status'] as String, | ||
| 80 | + json['is_recom'] as String, | ||
| 81 | + json['cdate'] as String, | ||
| 82 | + json['applyment_sub_mchid'] as String, | ||
| 83 | + json['pro_code'] as String, | ||
| 84 | + json['city_code'] as String, | ||
| 85 | + json['dis_code'] as String); | ||
| 86 | +} | ||
| 87 | + | ||
| 88 | +Map<String, dynamic> _$CheckSellerAccSunModelToJson( | ||
| 89 | + CheckSellerAccSunModel instance) => | ||
| 90 | + <String, dynamic>{ | ||
| 91 | + 'id': instance.id, | ||
| 92 | + 'uid': instance.uid, | ||
| 93 | + 'seat_openid': instance.seatOpenid, | ||
| 94 | + 'nick_name': instance.nickName, | ||
| 95 | + 'auth_user_id': instance.authUserId, | ||
| 96 | + 'seller_code': instance.sellerCode, | ||
| 97 | + 'account': instance.account, | ||
| 98 | + 'user_token': instance.userToken, | ||
| 99 | + 'registrationId': instance.registrationId, | ||
| 100 | + 'connection_id': instance.connectionId, | ||
| 101 | + 'alias': instance.alias, | ||
| 102 | + 'password': instance.password, | ||
| 103 | + 'sellerid': instance.sellerid, | ||
| 104 | + 'phone': instance.phone, | ||
| 105 | + 'role_id': instance.roleId, | ||
| 106 | + 'role_name': instance.roleName, | ||
| 107 | + 'pid': instance.pid, | ||
| 108 | + 'openid': instance.openid, | ||
| 109 | + 'sellername': instance.sellername, | ||
| 110 | + 'selleralias': instance.selleralias, | ||
| 111 | + 'slogan': instance.slogan, | ||
| 112 | + 'sellerdesc': instance.sellerdesc, | ||
| 113 | + 'seller_logo': instance.sellerLogo, | ||
| 114 | + 'seller_image': instance.sellerImage, | ||
| 115 | + 'seller_tel': instance.sellerTel, | ||
| 116 | + 'map_address': instance.mapAddress, | ||
| 117 | + 'long': instance.long, | ||
| 118 | + 'lat': instance.lat, | ||
| 119 | + 'discount_type': instance.discountType, | ||
| 120 | + 'last_num': instance.lastNum, | ||
| 121 | + 'ispass': instance.ispass, | ||
| 122 | + 'dis_ispass': instance.disIspass, | ||
| 123 | + 'account_money': instance.accountMoney, | ||
| 124 | + 'isopen_dc': instance.isopenDc, | ||
| 125 | + 'isopen_md': instance.isopenMd, | ||
| 126 | + 'dc_adduser_code': instance.dcAdduserCode, | ||
| 127 | + 'average': instance.average, | ||
| 128 | + 'is_online_reserve': instance.isOnlineReserve, | ||
| 129 | + 'is_tele': instance.isTele, | ||
| 130 | + 'daily': instance.daily, | ||
| 131 | + 'daily_time': instance.dailyTime, | ||
| 132 | + 'scale': instance.scale, | ||
| 133 | + 'score': instance.score, | ||
| 134 | + 'is_belt_wine': instance.isBeltWine, | ||
| 135 | + 'is_auth': instance.isAuth, | ||
| 136 | + 'is_call_tel': instance.isCallTel, | ||
| 137 | + 'rec_stime': instance.recStime, | ||
| 138 | + 'rec_etime': instance.recEtime, | ||
| 139 | + 'status': instance.status, | ||
| 140 | + 'is_recom': instance.isRecom, | ||
| 141 | + 'cdate': instance.cdate, | ||
| 142 | + 'applyment_sub_mchid': instance.applymentSubMchid, | ||
| 143 | + 'pro_code': instance.proCode, | ||
| 144 | + 'city_code': instance.cityCode, | ||
| 145 | + 'dis_code': instance.disCode | ||
| 146 | + }; |
lib/models/store_info.dart
0 → 100644
-
Please register or login to post a comment