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.
41 lines
1.1 KiB
Dart
41 lines
1.1 KiB
Dart
class GetHistoryResModel {
|
|
int appointmentNo;
|
|
int episodeId;
|
|
int historyId;
|
|
int historyType;
|
|
bool isChecked;
|
|
int patientMRN;
|
|
String remarks;
|
|
|
|
GetHistoryResModel(
|
|
{this.appointmentNo,
|
|
this.episodeId,
|
|
this.historyId,
|
|
this.historyType,
|
|
this.isChecked,
|
|
this.patientMRN,
|
|
this.remarks});
|
|
|
|
GetHistoryResModel.fromJson(Map<String, dynamic> json) {
|
|
appointmentNo = json['appointmentNo'];
|
|
episodeId = json['episodeId'];
|
|
historyId = json['historyId'];
|
|
historyType = json['historyType'];
|
|
isChecked = json['isChecked'];
|
|
patientMRN = json['patientMRN'];
|
|
remarks = json['remarks'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['appointmentNo'] = this.appointmentNo;
|
|
data['episodeId'] = this.episodeId;
|
|
data['historyId'] = this.historyId;
|
|
data['historyType'] = this.historyType;
|
|
data['isChecked'] = this.isChecked;
|
|
data['patientMRN'] = this.patientMRN;
|
|
data['remarks'] = this.remarks;
|
|
return data;
|
|
}
|
|
}
|