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.
45 lines
1.2 KiB
Dart
45 lines
1.2 KiB
Dart
|
2 weeks ago
|
class UsersBasedOnSearchModel {
|
||
|
|
String? userId;
|
||
|
|
String? userName;
|
||
|
|
String? email;
|
||
|
|
String? employeeId;
|
||
|
|
int? languageId;
|
||
|
|
String? extensionNo;
|
||
|
|
String? phoneNumber;
|
||
|
|
bool? isActive;
|
||
|
|
|
||
|
|
UsersBasedOnSearchModel(
|
||
|
|
{this.userId,
|
||
|
|
this.userName,
|
||
|
|
this.email,
|
||
|
|
this.employeeId,
|
||
|
|
this.languageId,
|
||
|
|
this.extensionNo,
|
||
|
|
this.phoneNumber,
|
||
|
|
this.isActive});
|
||
|
|
|
||
|
|
UsersBasedOnSearchModel.fromJson(Map<String, dynamic> json) {
|
||
|
|
userId = json['userId'];
|
||
|
|
userName = json['userName'];
|
||
|
|
email = json['email'];
|
||
|
|
employeeId = json['employeeId'];
|
||
|
|
languageId = json['languageId'];
|
||
|
|
extensionNo = json['extensionNo'];
|
||
|
|
phoneNumber = json['phoneNumber'];
|
||
|
|
isActive = json['isActive'];
|
||
|
|
}
|
||
|
|
|
||
|
|
Map<String, dynamic> toJson() {
|
||
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||
|
|
data['userId'] = this.userId;
|
||
|
|
data['userName'] = this.userName;
|
||
|
|
data['email'] = this.email;
|
||
|
|
data['employeeId'] = this.employeeId;
|
||
|
|
data['languageId'] = this.languageId;
|
||
|
|
data['extensionNo'] = this.extensionNo;
|
||
|
|
data['phoneNumber'] = this.phoneNumber;
|
||
|
|
data['isActive'] = this.isActive;
|
||
|
|
return data;
|
||
|
|
}
|
||
|
|
}
|