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/core/model/note/GetNursingProgressNoteReque...

31 lines
941 B
Dart

import 'package:doctor_app_flutter/config/config.dart';
class GetNursingProgressNoteRequestModel {
int patientID;
int admissionNo;
int patientTypeID;
int patientType;
String setupID;
GetNursingProgressNoteRequestModel(
{this.patientID, this.admissionNo, this.patientTypeID = 1, this.patientType = 1, this.setupID });
GetNursingProgressNoteRequestModel.fromJson(Map<String, dynamic> json) {
patientID = json['PatientID'];
admissionNo = json['AdmissionNo'];
patientTypeID = json['PatientTypeID'];
patientType = json['PatientType'];
setupID = json['SetupID'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['PatientID'] = this.patientID;
data['AdmissionNo'] = this.admissionNo;
data['PatientTypeID'] = this.patientTypeID;
data['PatientType'] = this.patientType;
data['SetupID'] = this.setupID;
return data;
}
}