Files
unionflow-server-api/unionflow/unionflow-mobile-apps/lib/features/solidarity/bloc/solidarity_event.dart
dahoud b1957c1c81 feat(unionflow): ajout Spec-Kit, constitution, mission mutuelles
- Config Spec-Kit pour Spec-Driven Development
- CONSTITUTION.md + .specify/memory/constitution.md
- Commandes Cursor /speckit.*, règles projet
- Mission: associations + mutuelles d'épargne et de financement
- .gitignore: versionner config spec-kit unionflow

Made-with: Cursor
2026-02-27 14:41:07 +00:00

54 lines
1.3 KiB
Dart

part of 'solidarity_bloc.dart';
abstract class SolidarityEvent extends Equatable {
const SolidarityEvent();
@override
List<Object?> get props => [];
}
class LoadDemandesAide extends SolidarityEvent {
final int page;
final int size;
const LoadDemandesAide({this.page = 0, this.size = 20});
@override
List<Object?> get props => [page, size];
}
class LoadDemandeAideById extends SolidarityEvent {
final String id;
const LoadDemandeAideById(this.id);
@override
List<Object?> get props => [id];
}
class SearchDemandesAide extends SolidarityEvent {
final String? statut;
final String? type;
final int page;
final int size;
const SearchDemandesAide({this.statut, this.type, this.page = 0, this.size = 20});
@override
List<Object?> get props => [statut, type, page, size];
}
class CreateDemandeAide extends SolidarityEvent {
final DemandeAideModel demande;
const CreateDemandeAide(this.demande);
@override
List<Object?> get props => [demande];
}
class ApprouverDemandeAide extends SolidarityEvent {
final String id;
const ApprouverDemandeAide(this.id);
@override
List<Object?> get props => [id];
}
class RejeterDemandeAide extends SolidarityEvent {
final String id;
const RejeterDemandeAide(this.id);
@override
List<Object?> get props => [id];
}