You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
914 B
Dart
40 lines
914 B
Dart
class EmployeeERPModel {
|
|
final String? employeeId;
|
|
final String? fullName;
|
|
final String? email;
|
|
final String? mobileNumber;
|
|
final bool? existsInAtoms;
|
|
final String? message;
|
|
|
|
EmployeeERPModel({
|
|
this.employeeId,
|
|
this.fullName,
|
|
this.email,
|
|
this.mobileNumber,
|
|
this.existsInAtoms,
|
|
this.message,
|
|
});
|
|
|
|
factory EmployeeERPModel.fromJson(Map<String, dynamic> json) {
|
|
return EmployeeERPModel(
|
|
employeeId: json['employeeId']?.toString(),
|
|
fullName: json['fullName'],
|
|
email: json['email'],
|
|
mobileNumber: json['mobileNumber'],
|
|
existsInAtoms: json['existsInAtoms'],
|
|
message: json['message'],
|
|
);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {
|
|
'employeeId': employeeId,
|
|
'fullName': fullName,
|
|
'email': email,
|
|
'mobileNumber': mobileNumber,
|
|
'existsInAtoms': existsInAtoms,
|
|
'message': message,
|
|
};
|
|
}
|
|
}
|