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.
52 lines
1.3 KiB
Dart
52 lines
1.3 KiB
Dart
|
2 months ago
|
class AssignedFEUser {
|
||
|
|
String? id;
|
||
|
|
String? name;
|
||
|
|
String? email;
|
||
|
|
String? employeeId;
|
||
|
|
int? languageId;
|
||
|
|
String? extensionNo;
|
||
|
|
String? phoneNumber;
|
||
|
|
String? positionName;
|
||
|
|
String? position;
|
||
|
|
bool? isActive;
|
||
|
|
|
||
|
|
AssignedFEUser(
|
||
|
|
{this.id,
|
||
|
|
this.name,
|
||
|
|
this.email,
|
||
|
|
this.employeeId,
|
||
|
|
this.languageId,
|
||
|
|
this.extensionNo,
|
||
|
|
this.phoneNumber,
|
||
|
|
this.positionName,
|
||
|
|
this.position,
|
||
|
|
this.isActive});
|
||
|
|
|
||
|
|
AssignedFEUser.fromJson(Map<String, dynamic> json) {
|
||
|
|
id = json['id'];
|
||
|
|
name = json['name'];
|
||
|
|
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['id'] = this.id;
|
||
|
|
data['name'] = this.name;
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
}
|