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.
112 lines
2.8 KiB
112 lines
2.8 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.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<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); |
|
} |
|
|
|
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) => 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<String, dynamic> toJson() => <String, dynamic>{ |
|
"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, |
|
}; |
|
|
|
} |
|
|
|
|