|
|
|
|
@ -6,17 +6,11 @@ class UsersBasedOnSearchModel {
|
|
|
|
|
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.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'];
|
|
|
|
|
@ -26,6 +20,8 @@ class UsersBasedOnSearchModel {
|
|
|
|
|
languageId = json['languageId'];
|
|
|
|
|
extensionNo = json['extensionNo'];
|
|
|
|
|
phoneNumber = json['phoneNumber'];
|
|
|
|
|
positionName = json['positionName'];
|
|
|
|
|
position = json['position'];
|
|
|
|
|
isActive = json['isActive'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -38,6 +34,8 @@ class UsersBasedOnSearchModel {
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|