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.
PatientApp-KKUMC/lib/models/Appointments/PatientShareResposne.dart

205 lines
6.8 KiB
Dart

class PatientShareResponse {
int advanceNumber;
String appointmentDate;
int appointmentNo;
int cashPrice;
int cashPriceTax;
int cashPriceWithTax;
int clinicID;
String clinicName;
int companyId;
String companyName;
int companyShareWithTax;
String doctorImageURL;
String doctorNameObj;
List<String> doctorSpeciality;
Null errCode;
int groupID;
bool iSAllowOnlineCheckedIN;
Null insurancePolicyNo;
bool isExcludedForOnlineCheckin;
int isFollowup;
bool isLiveCareAppointment;
bool isOnlineCheckedIN;
String message;
int nextAction;
Null patientCardID;
int patientID;
dynamic patientShare;
dynamic patientShareWithTax;
int patientStatusType;
dynamic patientTaxAmount;
String patientType;
int paymentAmount;
String paymentDate;
Null paymentMethodName;
Null paymentReferenceNumber;
int policyId;
String policyName;
String procedureName;
int projectID;
String projectName;
Null setupID;
int sourceType;
String startTime;
int status;
int statusCode;
Null statusDesc;
Null subPolicyNo;
int userID;
PatientShareResponse(
{this.advanceNumber,
this.appointmentDate,
this.appointmentNo,
this.cashPrice,
this.cashPriceTax,
this.cashPriceWithTax,
this.clinicID,
this.clinicName,
this.companyId,
this.companyName,
this.companyShareWithTax,
this.doctorImageURL,
this.doctorNameObj,
this.doctorSpeciality,
this.errCode,
this.groupID,
this.iSAllowOnlineCheckedIN,
this.insurancePolicyNo,
this.isExcludedForOnlineCheckin,
this.isFollowup,
this.isLiveCareAppointment,
this.isOnlineCheckedIN,
this.message,
this.nextAction,
this.patientCardID,
this.patientID,
this.patientShare,
this.patientShareWithTax,
this.patientStatusType,
this.patientTaxAmount,
this.patientType,
this.paymentAmount,
this.paymentDate,
this.paymentMethodName,
this.paymentReferenceNumber,
this.policyId,
this.policyName,
this.procedureName,
this.projectID,
this.projectName,
this.setupID,
this.sourceType,
this.startTime,
this.status,
this.statusCode,
this.statusDesc,
this.subPolicyNo,
this.userID});
PatientShareResponse.fromJson(Map<String, dynamic> json) {
advanceNumber = json['AdvanceNumber'];
appointmentDate = json['AppointmentDate'];
appointmentNo = json['AppointmentNo'];
cashPrice = json['CashPrice'];
cashPriceTax = json['CashPriceTax'];
cashPriceWithTax = json['CashPriceWithTax'];
clinicID = json['ClinicID'];
clinicName = json['ClinicName'];
companyId = json['CompanyId'];
companyName = json['CompanyName'];
companyShareWithTax = json['CompanyShareWithTax'];
doctorImageURL = json['DoctorImageURL'];
doctorNameObj = json['DoctorNameObj'];
doctorSpeciality = json['DoctorSpeciality'].cast<String>();
errCode = json['ErrCode'];
groupID = json['GroupID'];
iSAllowOnlineCheckedIN = json['ISAllowOnlineCheckedIN'];
insurancePolicyNo = json['InsurancePolicyNo'];
isExcludedForOnlineCheckin = json['IsExcludedForOnlineCheckin'];
isFollowup = json['IsFollowup'];
isLiveCareAppointment = json['IsLiveCareAppointment'];
isOnlineCheckedIN = json['IsOnlineCheckedIN'];
message = json['Message'];
nextAction = json['NextAction'];
patientCardID = json['PatientCardID'];
patientID = json['PatientID'];
patientShare = json['PatientShare'];
patientShareWithTax = json['PatientShareWithTax'];
patientStatusType = json['PatientStatusType'];
patientTaxAmount = json['PatientTaxAmount'];
patientType = json['PatientType'];
paymentAmount = json['PaymentAmount'];
paymentDate = json['PaymentDate'];
paymentMethodName = json['PaymentMethodName'];
paymentReferenceNumber = json['PaymentReferenceNumber'];
policyId = json['PolicyId'];
policyName = json['PolicyName'];
procedureName = json['ProcedureName'];
projectID = json['ProjectID'];
projectName = json['ProjectName'];
setupID = json['SetupID'];
sourceType = json['SourceType'];
startTime = json['StartTime'];
status = json['Status'];
statusCode = json['StatusCode'];
statusDesc = json['StatusDesc'];
subPolicyNo = json['SubPolicyNo'];
userID = json['UserID'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['AdvanceNumber'] = this.advanceNumber;
data['AppointmentDate'] = this.appointmentDate;
data['AppointmentNo'] = this.appointmentNo;
data['CashPrice'] = this.cashPrice;
data['CashPriceTax'] = this.cashPriceTax;
data['CashPriceWithTax'] = this.cashPriceWithTax;
data['ClinicID'] = this.clinicID;
data['ClinicName'] = this.clinicName;
data['CompanyId'] = this.companyId;
data['CompanyName'] = this.companyName;
data['CompanyShareWithTax'] = this.companyShareWithTax;
data['DoctorImageURL'] = this.doctorImageURL;
data['DoctorNameObj'] = this.doctorNameObj;
data['DoctorSpeciality'] = this.doctorSpeciality;
data['ErrCode'] = this.errCode;
data['GroupID'] = this.groupID;
data['ISAllowOnlineCheckedIN'] = this.iSAllowOnlineCheckedIN;
data['InsurancePolicyNo'] = this.insurancePolicyNo;
data['IsExcludedForOnlineCheckin'] = this.isExcludedForOnlineCheckin;
data['IsFollowup'] = this.isFollowup;
data['IsLiveCareAppointment'] = this.isLiveCareAppointment;
data['IsOnlineCheckedIN'] = this.isOnlineCheckedIN;
data['Message'] = this.message;
data['NextAction'] = this.nextAction;
data['PatientCardID'] = this.patientCardID;
data['PatientID'] = this.patientID;
data['PatientShare'] = this.patientShare;
data['PatientShareWithTax'] = this.patientShareWithTax;
data['PatientStatusType'] = this.patientStatusType;
data['PatientTaxAmount'] = this.patientTaxAmount;
data['PatientType'] = this.patientType;
data['PaymentAmount'] = this.paymentAmount;
data['PaymentDate'] = this.paymentDate;
data['PaymentMethodName'] = this.paymentMethodName;
data['PaymentReferenceNumber'] = this.paymentReferenceNumber;
data['PolicyId'] = this.policyId;
data['PolicyName'] = this.policyName;
data['ProcedureName'] = this.procedureName;
data['ProjectID'] = this.projectID;
data['ProjectName'] = this.projectName;
data['SetupID'] = this.setupID;
data['SourceType'] = this.sourceType;
data['StartTime'] = this.startTime;
data['Status'] = this.status;
data['StatusCode'] = this.statusCode;
data['StatusDesc'] = this.statusDesc;
data['SubPolicyNo'] = this.subPolicyNo;
data['UserID'] = this.userID;
return data;
}
}