52 lines
1.2 KiB
Dart
52 lines
1.2 KiB
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
/// 贡献值统计数据
|
|
class ContributionStats extends Equatable {
|
|
/// 总用户数
|
|
final int totalUsers;
|
|
|
|
/// 总账户数
|
|
final int totalAccounts;
|
|
|
|
/// 有算力的账户数
|
|
final int accountsWithContribution;
|
|
|
|
/// 总认种数
|
|
final int totalAdoptions;
|
|
|
|
/// 全网总算力
|
|
final String totalContribution;
|
|
|
|
/// 个人算力总量
|
|
final String personalContribution;
|
|
|
|
/// 团队层级算力总量
|
|
final String teamLevelContribution;
|
|
|
|
/// 团队奖励算力总量
|
|
final String teamBonusContribution;
|
|
|
|
const ContributionStats({
|
|
required this.totalUsers,
|
|
required this.totalAccounts,
|
|
required this.accountsWithContribution,
|
|
required this.totalAdoptions,
|
|
required this.totalContribution,
|
|
required this.personalContribution,
|
|
required this.teamLevelContribution,
|
|
required this.teamBonusContribution,
|
|
});
|
|
|
|
@override
|
|
List<Object?> get props => [
|
|
totalUsers,
|
|
totalAccounts,
|
|
accountsWithContribution,
|
|
totalAdoptions,
|
|
totalContribution,
|
|
personalContribution,
|
|
teamLevelContribution,
|
|
teamBonusContribution,
|
|
];
|
|
}
|