feat:android统计
This commit is contained in:
1 parent
ab9ea614d5
commit
8fc6be0a69
6 files changed
+195
-26
No files matched your search
@@ -316,3 +316,52 @@ class ServiceOpenCardPage extends ServicePageBase {
|
||||
|
||||
Map<String, dynamic> toJson() => _$ServiceOpenCardPageToJson(this);
|
||||
}
|
||||
|
||||
@JsonSerializable()
|
||||
class ServiceChartLatitude {
|
||||
/// 早餐、中餐、晚餐
|
||||
final String? hourType;
|
||||
|
||||
/// 每天的交易量
|
||||
final String? dayCount;
|
||||
|
||||
/// 每天的交易金额
|
||||
final String? dayPrice;
|
||||
|
||||
/// 每周的交易量
|
||||
final String? weekCount;
|
||||
|
||||
/// 每周的交易金额
|
||||
final String? weekPrice;
|
||||
|
||||
/// 每月的交易量
|
||||
final String? monthCount;
|
||||
|
||||
/// 每月的交易金额
|
||||
final String? monthPrice;
|
||||
|
||||
/// 每年的交易量
|
||||
final String? yearCount;
|
||||
|
||||
/// 每年的交易金额
|
||||
final String? yearPrice;
|
||||
|
||||
ServiceChartLatitude({
|
||||
this.hourType,
|
||||
this.dayCount,
|
||||
this.dayPrice,
|
||||
this.weekCount,
|
||||
this.weekPrice,
|
||||
this.monthCount,
|
||||
this.monthPrice,
|
||||
this.yearCount,
|
||||
this.yearPrice,
|
||||
});
|
||||
|
||||
factory ServiceChartLatitude.fromJson(Map<String, dynamic> json) =>
|
||||
_$ServiceChartLatitudeFromJson(
|
||||
json,
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => _$ServiceChartLatitudeToJson(this);
|
||||
}
|
||||
@@ -190,3 +190,31 @@ Map<String, dynamic> _$ServiceOpenCardPageToJson(
|
||||
'total': instance.total,
|
||||
'records': instance.records,
|
||||
};
|
||||
|
||||
ServiceChartLatitude _$ServiceChartLatitudeFromJson(
|
||||
Map<String, dynamic> json) =>
|
||||
ServiceChartLatitude(
|
||||
hourType: json['hourType'] as String?,
|
||||
dayCount: json['dayCount'] as String?,
|
||||
dayPrice: json['dayPrice'] as String?,
|
||||
weekCount: json['weekCount'] as String?,
|
||||
weekPrice: json['weekPrice'] as String?,
|
||||
monthCount: json['monthCount'] as String?,
|
||||
monthPrice: json['monthPrice'] as String?,
|
||||
yearCount: json['yearCount'] as String?,
|
||||
yearPrice: json['yearPrice'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$ServiceChartLatitudeToJson(
|
||||
ServiceChartLatitude instance) =>
|
||||
<String, dynamic>{
|
||||
'hourType': instance.hourType,
|
||||
'dayCount': instance.dayCount,
|
||||
'dayPrice': instance.dayPrice,
|
||||
'weekCount': instance.weekCount,
|
||||
'weekPrice': instance.weekPrice,
|
||||
'monthCount': instance.monthCount,
|
||||
'monthPrice': instance.monthPrice,
|
||||
'yearCount': instance.yearCount,
|
||||
'yearPrice': instance.yearPrice,
|
||||
};
|
||||
Reference in new issue
Block a user