Version OK
This commit is contained in:
@@ -61,7 +61,7 @@ enum PrioriteEvenement {
|
||||
@JsonSerializable()
|
||||
class EvenementModel extends Equatable {
|
||||
/// Identifiant unique
|
||||
final String? id;
|
||||
final int? id;
|
||||
|
||||
/// Titre de l'événement
|
||||
final String titre;
|
||||
@@ -106,7 +106,7 @@ class EvenementModel extends Equatable {
|
||||
|
||||
/// ID de l'organisateur
|
||||
@JsonKey(name: 'organisateurId')
|
||||
final String? organisateurId;
|
||||
final int? organisateurId;
|
||||
|
||||
/// Nom de l'organisateur (pour affichage)
|
||||
@JsonKey(name: 'organisateurNom')
|
||||
@@ -114,7 +114,7 @@ class EvenementModel extends Equatable {
|
||||
|
||||
/// ID de l'organisation
|
||||
@JsonKey(name: 'organisationId')
|
||||
final String? organisationId;
|
||||
final int? organisationId;
|
||||
|
||||
/// Nom de l'organisation (pour affichage)
|
||||
@JsonKey(name: 'organisationNom')
|
||||
@@ -203,7 +203,7 @@ class EvenementModel extends Equatable {
|
||||
|
||||
/// Copie avec modifications
|
||||
EvenementModel copyWith({
|
||||
String? id,
|
||||
int? id,
|
||||
String? titre,
|
||||
String? description,
|
||||
DateTime? dateDebut,
|
||||
@@ -216,9 +216,9 @@ class EvenementModel extends Equatable {
|
||||
StatutEvenement? statut,
|
||||
int? maxParticipants,
|
||||
int? participantsActuels,
|
||||
String? organisateurId,
|
||||
int? organisateurId,
|
||||
String? organisateurNom,
|
||||
String? organisationId,
|
||||
int? organisationId,
|
||||
String? organisationNom,
|
||||
PrioriteEvenement? priorite,
|
||||
bool? estPublic,
|
||||
|
||||
Reference in New Issue
Block a user