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.
19 lines
474 B
Dart
19 lines
474 B
Dart
4 years ago
|
class GetHistoryReqModel {
|
||
|
int patientMRN;
|
||
|
int historyType;
|
||
|
|
||
|
GetHistoryReqModel({this.patientMRN, this.historyType});
|
||
|
|
||
|
GetHistoryReqModel.fromJson(Map<String, dynamic> json) {
|
||
|
patientMRN = json['PatientMRN'];
|
||
|
historyType = json['HistoryType'];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||
|
data['PatientMRN'] = this.patientMRN;
|
||
|
data['HistoryType'] = this.historyType;
|
||
|
return data;
|
||
|
}
|
||
|
}
|