import 'package:huixiang/retrofit/data/banner.dart'; import 'package:huixiang/retrofit/data/coupon_vo.dart'; import 'package:huixiang/retrofit/data/delivery_info.dart'; import 'package:huixiang/retrofit/data/promotion.dart'; import 'package:huixiang/retrofit/data/store_type.dart'; import 'package:json_annotation/json_annotation.dart'; part 'store_info.g.dart'; @JsonSerializable() class StoreInfo { String address; List bannerList; String city; List couponVOList; String createTime; String createUser; DeliveryInfo deliveryInfo; String district; String headMobile; String headName; String id; num isAutoSendRefundAddress; String latitude; String logo; 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; String tenantCode; String updateTime; String updateUser; bool useErp; StoreInfo({this.address, this.bannerList, this.city, this.couponVOList, this.createTime, this.createUser, this.deliveryInfo, this.district, this.headMobile, this.headName, this.id, this.isAutoSendRefundAddress, this.latitude, this.logo, this.longitude, this.mobile, this.openEndTime, this.openStartTime, this.perCapitaConsumption, this.posType, this.promotionList, this.province, this.refundAddress, this.refundContact, this.refundTel, this.remark, this.shipAddress, this.storeName, this.tenantCode, this.updateTime, this.updateUser, this.useErp}); factory StoreInfo.fromJson(Map json) => _$StoreInfoFromJson(json); Map toJson() => _$StoreInfoToJson(this); }