import 'package:huixiang/data/banner.dart'; import 'package:huixiang/data/coupon_vo.dart'; import 'package:huixiang/data/delivery_info.dart'; import 'package:huixiang/data/member_source.dart'; import 'package:huixiang/data/page.dart'; import 'package:huixiang/data/pickup_type.dart'; import 'package:huixiang/data/promotion.dart'; import 'package:huixiang/data/store_type.dart'; import 'package:huixiang/data/mini.dart'; import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/store_info.g.dart'; @JsonSerializable() class StoreInfo { String? address; List? bannerList; String? city; List? couponVOList; String? createTime; String? createUser; DeliveryInfo? deliveryInfo; PickupType? pickupType; String? district; String? headMobile; String? tel; String? headName; String? id; num? isAutoSendRefundAddress; String? latitude; String? logo; bool? isVip; String? longitude; String? mobile; String? openEndTime; String? openStartTime; String? perCapitaConsumption; StoreType? posType; List? promotionList; String? province; String? refundAddress; String? refundContact; String? refundTel; String? remark; String? shipAddress; String? storeName; StoreTable? storeTable; String? tenantCode; String? updateTime; String? updateUser; String? businessService; Mini? mini; bool? useErp; bool? usePlatformVip; bool? usePlatformPay; String? expireTime; String? vipFee; MemberSource? memberSource; PageInfo? informationVOPageVO; StoreInfo(); factory StoreInfo.fromJson(Map json) => $StoreInfoFromJson(json); Map toJson() => $StoreInfoToJson(this); } class StoreTable { StoreTable(); String? areaId; String? id; int? isDelete; int? numberOfPeople; String? remark; String? storeId; int? tableCapacity; String? tableName; int? tableSort; int? tableType; String? tenantCode; factory StoreTable.fromJson(Map json) => StoreTable() ..areaId = json["areaId"] ..id = json["id"] ..isDelete = json["isDelete"] ..numberOfPeople = json["numberOfPeople"] ..remark = json["remark"] ..storeId = json["storeId"] ..tableCapacity = json["tableCapacity"] ..tableName = json["tableName"] ..tableSort = json["tableSort"] ..tableType = json["tableType"] ..tenantCode = json["tenantCode"]; Map toJson() => { "areaId": this.areaId, "id": this.id, "isDelete": this.isDelete, "numberOfPeople": this.numberOfPeople, "remark": this.remark, "storeId": this.storeId, "tableCapacity": this.tableCapacity, "tableName": this.tableName, "tableSort": this.tableSort, "tableType": this.tableType, "tenantCode": this.tenantCode, }; }