You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.3 KiB

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:huixiang/retrofit/data/mini.dart';
import 'package:json_annotation/json_annotation.dart';
part 'store_info.g.dart';
@JsonSerializable()
class StoreInfo {
String address;
List<BannerData> bannerList;
String city;
List<CouponVo> 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<Promotion> promotionList;
String province;
String refundAddress;
String refundContact;
String refundTel;
String remark;
String shipAddress;
String storeName;
String tenantCode;
String updateTime;
String updateUser;
Mini mini;
bool useErp;
StoreInfo();
factory StoreInfo.fromJson(Map<String, dynamic> json) => _$StoreInfoFromJson(json);
Map<String, dynamic> toJson() => _$StoreInfoToJson(this);
}