refactoring
This commit is contained in:
@@ -174,6 +174,10 @@ class MembreCompletModel extends Equatable {
|
||||
@JsonKey(name: 'dateVerificationIdentite')
|
||||
final DateTime? dateVerificationIdentite;
|
||||
|
||||
/// Mot de passe temporaire (retourné une seule fois à la création, null sinon)
|
||||
@JsonKey(name: 'motDePasseTemporaire')
|
||||
final String? motDePasseTemporaire;
|
||||
|
||||
const MembreCompletModel({
|
||||
this.id,
|
||||
required this.nom,
|
||||
@@ -210,6 +214,7 @@ class MembreCompletModel extends Equatable {
|
||||
this.niveauVigilanceKyc,
|
||||
this.statutKyc,
|
||||
this.dateVerificationIdentite,
|
||||
this.motDePasseTemporaire,
|
||||
});
|
||||
|
||||
/// Création depuis JSON
|
||||
@@ -256,6 +261,7 @@ class MembreCompletModel extends Equatable {
|
||||
NiveauVigilanceKyc? niveauVigilanceKyc,
|
||||
StatutKyc? statutKyc,
|
||||
DateTime? dateVerificationIdentite,
|
||||
String? motDePasseTemporaire,
|
||||
}) {
|
||||
return MembreCompletModel(
|
||||
id: id ?? this.id,
|
||||
@@ -293,6 +299,7 @@ class MembreCompletModel extends Equatable {
|
||||
niveauVigilanceKyc: niveauVigilanceKyc ?? this.niveauVigilanceKyc,
|
||||
statutKyc: statutKyc ?? this.statutKyc,
|
||||
dateVerificationIdentite: dateVerificationIdentite ?? this.dateVerificationIdentite,
|
||||
motDePasseTemporaire: motDePasseTemporaire ?? this.motDePasseTemporaire,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user