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.
RSGDoctorApp/lib/models/sickleave/sick_leave_statisitics_mode...

25 lines
841 B
Dart

class SickLeaveStatisticsModel {
String? recommendedSickLeaveDays;
int? totalLeavesByAllClinics;
int? totalLeavesByDoctor;
SickLeaveStatisticsModel(
{this.recommendedSickLeaveDays,
this.totalLeavesByAllClinics,
this.totalLeavesByDoctor});
SickLeaveStatisticsModel.fromJson(Map<String, dynamic> json) {
recommendedSickLeaveDays = json['recommendedSickLeaveDays'];
totalLeavesByAllClinics = json['totalLeavesByAllClinics'];
totalLeavesByDoctor = json['totalLeavesByDoctor'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['recommendedSickLeaveDays'] = this.recommendedSickLeaveDays;
data['totalLeavesByAllClinics'] = this.totalLeavesByAllClinics;
data['totalLeavesByDoctor'] = this.totalLeavesByDoctor;
return data;
}
}