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.
42 lines
891 B
Dart
42 lines
891 B
Dart
class SignUpRequestModel {
|
|
final String? companyCode;
|
|
final String? groupCode;
|
|
final String? employeeId;
|
|
final String? fullName;
|
|
final String? email;
|
|
final String? mobileNumber;
|
|
final String? extensionNumber;
|
|
final int? siteId;
|
|
final int? departmentId;
|
|
final String? role;
|
|
|
|
SignUpRequestModel({
|
|
this.companyCode,
|
|
this.groupCode,
|
|
this.employeeId,
|
|
this.fullName,
|
|
this.email,
|
|
this.mobileNumber,
|
|
this.extensionNumber,
|
|
this.siteId,
|
|
this.departmentId,
|
|
this.role,
|
|
});
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {
|
|
'companyCode': companyCode,
|
|
'groupCode': groupCode,
|
|
'employeeId': employeeId,
|
|
'fullName': fullName,
|
|
'email': email,
|
|
'mobileNumber': mobileNumber,
|
|
'extensionNumber': extensionNumber,
|
|
'siteId': siteId,
|
|
'departmentId': departmentId,
|
|
'role': role,
|
|
};
|
|
}
|
|
}
|
|
|