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.
31 lines
1.0 KiB
Dart
31 lines
1.0 KiB
Dart
class ProcedureModel {
|
|
int patientShare;
|
|
int patientShareWithTax;
|
|
int patientTaxAmount;
|
|
String procedureID;
|
|
String procedureName;
|
|
bool isSelected;
|
|
|
|
ProcedureModel({this.patientShare, this.patientShareWithTax, this.patientTaxAmount, this.procedureID, this.procedureName});
|
|
|
|
ProcedureModel.fromJson(Map<String, dynamic> json) {
|
|
patientShare = json['PatientShare'];
|
|
patientShareWithTax = json['PatientShareWithTax'];
|
|
patientTaxAmount = json['PatientTaxAmount'];
|
|
procedureID = json['ProcedureID'];
|
|
procedureName = json['ProcedureName'];
|
|
isSelected = json['isSelected'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['PatientShare'] = this.patientShare;
|
|
data['PatientShareWithTax'] = this.patientShareWithTax;
|
|
data['PatientTaxAmount'] = this.patientTaxAmount;
|
|
data['ProcedureID'] = this.procedureID;
|
|
data['ProcedureName'] = this.procedureName;
|
|
data['isSelected'] = this.isSelected;
|
|
return data;
|
|
}
|
|
}
|