feat: WebSocket temps réel + Finance Workflow + corrections
- Task #6: WebSocket /ws/dashboard + Kafka events (5 topics) * Backend: KafkaEventProducer, KafkaEventConsumer * Mobile: WebSocketService (reconnection, heartbeat, typed events) * DashboardBloc: Auto-refresh depuis WebSocket events - Finance Workflow: approbations + budgets (backend + mobile) * Backend: entities, services, resources, migrations Flyway V6 * Mobile: features finance_workflow complète avec BLoC - Corrections DI: interfaces IRepository partout * IProfileRepository, IOrganizationRepository, IMembreRepository * GetIt configuré avec @injectable - Spec-Kit: constitution + templates mis à jour * .specify/memory/constitution.md enrichie * Templates agent, plan, spec, tasks, checklist - Nettoyage: fichiers temporaires supprimés Signed-off-by: lions dev Team
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'compte_adherent_entity.dart';
|
||||
|
||||
/// Entité pour les statistiques du dashboard
|
||||
|
||||
class DashboardStatsEntity extends Equatable {
|
||||
final int totalMembers;
|
||||
final int activeMembers;
|
||||
@@ -225,6 +227,8 @@ class DashboardEntity extends Equatable {
|
||||
final Map<String, dynamic> userPreferences;
|
||||
final String organizationId;
|
||||
final String userId;
|
||||
/// Compte adhérent unifié (si disponible)
|
||||
final CompteAdherentEntity? monCompte;
|
||||
|
||||
const DashboardEntity({
|
||||
required this.stats,
|
||||
@@ -233,6 +237,7 @@ class DashboardEntity extends Equatable {
|
||||
required this.userPreferences,
|
||||
required this.organizationId,
|
||||
required this.userId,
|
||||
this.monCompte,
|
||||
});
|
||||
|
||||
// Méthodes utilitaires
|
||||
@@ -250,5 +255,7 @@ class DashboardEntity extends Equatable {
|
||||
userPreferences,
|
||||
organizationId,
|
||||
userId,
|
||||
monCompte,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user