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.
43 lines
1.3 KiB
Dart
43 lines
1.3 KiB
Dart
class UsersBasedOnSearchModel {
|
|
String? userId;
|
|
String? userName;
|
|
String? email;
|
|
String? employeeId;
|
|
int? languageId;
|
|
String? extensionNo;
|
|
String? phoneNumber;
|
|
String? positionName;
|
|
String? position;
|
|
bool? isActive;
|
|
|
|
UsersBasedOnSearchModel({this.userId, this.userName, this.email, this.employeeId, this.languageId, this.extensionNo, this.phoneNumber, this.positionName, this.position, 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'];
|
|
positionName = json['positionName'];
|
|
position = json['position'];
|
|
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['positionName'] = this.positionName;
|
|
data['position'] = this.position;
|
|
data['isActive'] = this.isActive;
|
|
return data;
|
|
}
|
|
}
|