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.
48 lines
1.3 KiB
Dart
48 lines
1.3 KiB
Dart
class GetAllSickLeaveResponse {
|
|
int appointmentNo;
|
|
bool isExtendedLeave;
|
|
int noOfDays;
|
|
int patientMRN;
|
|
String remarks;
|
|
int requestNo;
|
|
String startDate;
|
|
int status;
|
|
String statusDescription;
|
|
GetAllSickLeaveResponse(
|
|
{this.appointmentNo,
|
|
this.isExtendedLeave,
|
|
this.noOfDays,
|
|
this.patientMRN,
|
|
this.remarks,
|
|
this.requestNo,
|
|
this.startDate,
|
|
this.status,
|
|
this.statusDescription});
|
|
|
|
GetAllSickLeaveResponse.fromJson(Map<String, dynamic> json) {
|
|
appointmentNo = json['appointmentNo'];
|
|
isExtendedLeave = json['isExtendedLeave'];
|
|
noOfDays = json['noOfDays'];
|
|
patientMRN = json['patientMRN'];
|
|
remarks = json['remarks'];
|
|
requestNo = json['requestNo'];
|
|
startDate = json['startDate'];
|
|
status = json['status'];
|
|
statusDescription = json['statusDescription'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['appointmentNo'] = this.appointmentNo;
|
|
data['isExtendedLeave'] = this.isExtendedLeave;
|
|
data['noOfDays'] = this.noOfDays;
|
|
data['patientMRN'] = this.patientMRN;
|
|
data['remarks'] = this.remarks;
|
|
data['requestNo'] = this.requestNo;
|
|
data['startDate'] = this.startDate;
|
|
data['status'] = this.status;
|
|
data['statusDescription'] = this.statusDescription;
|
|
return data;
|
|
}
|
|
}
|