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/pharmacy-intervention-model/new_medication_req_model.dart

25 lines
696 B
Dart

class InterventionMedicationReqModel {
int projectID;
int patientID;
String fromDate;
String toDate;
InterventionMedicationReqModel(
{this.projectID, this.patientID, this.fromDate, this.toDate});
InterventionMedicationReqModel.fromJson(Map<String, dynamic> json) {
projectID = json['ProjectID'];
patientID = json['PatientID'];
fromDate = json['FromDate'];
toDate = json['ToDate'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['ProjectID'] = this.projectID;
data['PatientID'] = this.patientID;
data['FromDate'] = this.fromDate;
data['ToDate'] = this.toDate;
return data;
}
}