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.

57 lines
1.4 KiB

import 'package:huixiang/data/good_list.dart';
import 'package:huixiang/data/mini_detail.dart';
import 'package:json_annotation/json_annotation.dart';
part 'home_rank.g.dart';
@JsonSerializable(explicitToJson: true)
class HomeRank {
2 weeks ago
List<Commoditys>? CommodityList = [];
List<CommodityZones>? CommodityZone = [];
String? CommodityListImg = '';
HomeRank();
factory HomeRank.fromJson(Map<String, dynamic> json) => _$HomeRankFromJson(json);
Map<String, dynamic> toJson() => _$HomeRankToJson(this);
}
@JsonSerializable(explicitToJson: true)
2 weeks ago
class Commoditys {
List<GoodList>? goodList = [];
String? typeName = '';
2 weeks ago
Commoditys();
factory Commoditys.fromJson(Map<String, dynamic> json) => _$CommoditysFromJson(json);
Map<String, dynamic> toJson() => _$CommoditysToJson(this);
}
@JsonSerializable(explicitToJson: true)
2 weeks ago
class CommodityZones {
String? productImg = '';
List<ProductSkuVOList>? productSkuVOList = [];
String? thumbnailImg = '';
String? productName = '';
bool? posShow = false;
String? price = '';
int? sellCount = 0;
String? details = '';
String? id = '';
String? applyPrice = '';
int? stock = 0;
int? status = 0;
String? info = '';
String? storeId = '';
String? tenantCode = '';
2 weeks ago
CommodityZones();
2 weeks ago
factory CommodityZones.fromJson(Map<String, dynamic> json) => _$CommodityZonesFromJson(json);
2 weeks ago
Map<String, dynamic> toJson() => _$CommodityZonesToJson(this);
}