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.
51 lines
1.5 KiB
51 lines
1.5 KiB
1 year ago
|
/// storeTotalMoney : "117.00"
|
||
|
/// paySumCount : 2
|
||
|
/// memberCount : 9385
|
||
|
/// memberTotalBalance : "42236.77"
|
||
|
|
||
|
class StoreTotalMoneyInfo {
|
||
|
StoreTotalMoneyInfo({
|
||
|
String storeTotalMoney,
|
||
|
num paySumCount,
|
||
|
num memberCount,
|
||
|
String memberTotalBalance,}){
|
||
|
_storeTotalMoney = storeTotalMoney;
|
||
|
_paySumCount = paySumCount;
|
||
|
_memberCount = memberCount;
|
||
|
_memberTotalBalance = memberTotalBalance;
|
||
|
}
|
||
|
|
||
|
StoreTotalMoneyInfo.fromJson(dynamic json) {
|
||
|
_storeTotalMoney = json['storeTotalMoney'];
|
||
|
_paySumCount = json['paySumCount'];
|
||
|
_memberCount = json['memberCount'];
|
||
|
_memberTotalBalance = json['memberTotalBalance'];
|
||
|
}
|
||
|
String _storeTotalMoney;
|
||
|
num _paySumCount;
|
||
|
num _memberCount;
|
||
|
String _memberTotalBalance;
|
||
|
StoreTotalMoneyInfo copyWith({ String storeTotalMoney,
|
||
|
num paySumCount,
|
||
|
num memberCount,
|
||
|
String memberTotalBalance,
|
||
|
}) => StoreTotalMoneyInfo( storeTotalMoney: storeTotalMoney ?? _storeTotalMoney,
|
||
|
paySumCount: paySumCount ?? _paySumCount,
|
||
|
memberCount: memberCount ?? _memberCount,
|
||
|
memberTotalBalance: memberTotalBalance ?? _memberTotalBalance,
|
||
|
);
|
||
|
String get storeTotalMoney => _storeTotalMoney;
|
||
|
num get paySumCount => _paySumCount;
|
||
|
num get memberCount => _memberCount;
|
||
|
String get memberTotalBalance => _memberTotalBalance;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['storeTotalMoney'] = _storeTotalMoney;
|
||
|
map['paySumCount'] = _paySumCount;
|
||
|
map['memberCount'] = _memberCount;
|
||
|
map['memberTotalBalance'] = _memberTotalBalance;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|