66 lines
1.3 KiB
Dart
66 lines
1.3 KiB
Dart
class PersonProfile {
|
|
const PersonProfile({
|
|
required this.id,
|
|
required this.name,
|
|
required this.relationship,
|
|
required this.affinityScore,
|
|
required this.nextMoment,
|
|
required this.tags,
|
|
required this.notes,
|
|
});
|
|
|
|
final String id;
|
|
final String name;
|
|
final String relationship;
|
|
final int affinityScore;
|
|
final DateTime nextMoment;
|
|
final List<String> tags;
|
|
final String notes;
|
|
}
|
|
|
|
class RelationshipMoment {
|
|
const RelationshipMoment({
|
|
required this.id,
|
|
required this.personId,
|
|
required this.title,
|
|
required this.summary,
|
|
required this.at,
|
|
required this.type,
|
|
});
|
|
|
|
final String id;
|
|
final String personId;
|
|
final String title;
|
|
final String summary;
|
|
final DateTime at;
|
|
final String type;
|
|
}
|
|
|
|
class DashboardTask {
|
|
const DashboardTask({
|
|
required this.title,
|
|
required this.description,
|
|
required this.when,
|
|
this.done = false,
|
|
});
|
|
|
|
final String title;
|
|
final String description;
|
|
final DateTime when;
|
|
final bool done;
|
|
}
|
|
|
|
class DashboardSummary {
|
|
const DashboardSummary({
|
|
required this.activePeople,
|
|
required this.upcomingPlans,
|
|
required this.pendingIdeas,
|
|
required this.weeklyConsistency,
|
|
});
|
|
|
|
final int activePeople;
|
|
final int upcomingPlans;
|
|
final int pendingIdeas;
|
|
final int weeklyConsistency;
|
|
}
|