refactoring
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
/// Entité Type de référence (ex: Type d'organisation)
|
||||
class TypeReferenceEntity extends Equatable {
|
||||
final String id;
|
||||
final String domaine;
|
||||
final String code;
|
||||
final String libelle;
|
||||
final String? description;
|
||||
final String? icone;
|
||||
final String? couleur;
|
||||
final String? severity;
|
||||
final int ordreAffichage;
|
||||
final bool estDefaut;
|
||||
final bool estSysteme;
|
||||
final bool actif;
|
||||
|
||||
const TypeReferenceEntity({
|
||||
required this.id,
|
||||
required this.domaine,
|
||||
required this.code,
|
||||
required this.libelle,
|
||||
this.description,
|
||||
this.icone,
|
||||
this.couleur,
|
||||
this.severity,
|
||||
this.ordreAffichage = 0,
|
||||
this.estDefaut = false,
|
||||
this.estSysteme = false,
|
||||
this.actif = true,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object?> get props => [id, domaine, code, libelle, description, icone, couleur, severity, ordreAffichage, estDefaut, estSysteme, actif];
|
||||
}
|
||||
Reference in New Issue
Block a user