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.
 
 
 
 
 
 

91 lines
2.1 KiB

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_map.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:json_annotation/json_annotation.dart';
part 'store_info.g.dart';
@JsonSerializable(explicitToJson: true)
class StoreInfo {
String? address;
List<BannerData>? bannerList;
String? city;
List<CouponVo>? 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<Promotion>? 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<String, dynamic> json) => _$StoreInfoFromJson(json);
Map<String, dynamic> toJson() => _$StoreInfoToJson(this);
}
@JsonSerializable(explicitToJson: true)
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<String, dynamic> json) => _$StoreTableFromJson(json);
Map<String, dynamic> toJson() => _$StoreTableToJson(this);
}