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.
50 lines
1.8 KiB
50 lines
1.8 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: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; |
|
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<String, dynamic> json) => _$StoreInfoFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$StoreInfoToJson(this); |
|
}
|
|
|