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.
97 lines
2.6 KiB
Dart
97 lines
2.6 KiB
Dart
import 'dart:convert';
|
|
|
|
class InsuranceCardModel {
|
|
double versionID;
|
|
int channel;
|
|
int languageID;
|
|
String iPAdress;
|
|
String generalid;
|
|
int patientOutSA;
|
|
String sessionID;
|
|
bool isDentalAllowedBackend;
|
|
int deviceTypeID;
|
|
int patientID;
|
|
String tokenID;
|
|
int patientTypeID;
|
|
int patientType;
|
|
String groupName;
|
|
String companyName;
|
|
int companyID;
|
|
String subCategoryDesc;
|
|
int subCategoryID;
|
|
String patientCardID;
|
|
String insurancePolicyNumber;
|
|
bool isActive;
|
|
String cardValidTo;
|
|
|
|
InsuranceCardModel({
|
|
this.insurancePolicyNumber,
|
|
this.subCategoryDesc,
|
|
this.subCategoryID,
|
|
this.versionID,
|
|
this.channel,
|
|
this.languageID,
|
|
this.iPAdress,
|
|
this.generalid,
|
|
this.patientOutSA,
|
|
this.sessionID,
|
|
this.isDentalAllowedBackend,
|
|
this.deviceTypeID,
|
|
this.patientID,
|
|
this.tokenID,
|
|
this.patientTypeID,
|
|
this.patientType,
|
|
this.groupName,
|
|
this.companyName,
|
|
this.companyID,
|
|
this.patientCardID,
|
|
this.isActive,
|
|
this.cardValidTo
|
|
});
|
|
|
|
InsuranceCardModel.fromJson(Map<String, dynamic> json) {
|
|
isActive = json['IsActive'];
|
|
insurancePolicyNumber = json['InsurancePolicyNo'];
|
|
patientCardID = json['PatientCardID'];
|
|
companyName = json['CompanyName'];
|
|
companyID = json['CompanyID'];
|
|
groupName = json['GroupName'];
|
|
versionID = json['VersionID'];
|
|
channel = json['Channel'];
|
|
languageID = json['LanguageID'];
|
|
iPAdress = json['IPAdress'];
|
|
generalid = json['generalid'];
|
|
patientOutSA = json['PatientOutSA'];
|
|
sessionID = json['SessionID'];
|
|
isDentalAllowedBackend = json['isDentalAllowedBackend'];
|
|
deviceTypeID = json['DeviceTypeID'];
|
|
patientID = json['PatientID'];
|
|
tokenID = json['TokenID'];
|
|
patientTypeID = json['PatientTypeID'];
|
|
patientType = json['PatientType'];
|
|
subCategoryDesc = json['SubCategoryDesc'];
|
|
subCategoryID = json["SubCategoryID"];
|
|
cardValidTo = json['CardValidTo'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
data['VersionID'] = this.versionID;
|
|
data['Channel'] = this.channel;
|
|
data['LanguageID'] = this.languageID;
|
|
data['IPAdress'] = this.iPAdress;
|
|
data['generalid'] = this.generalid;
|
|
data['PatientOutSA'] = this.patientOutSA;
|
|
data['SessionID'] = this.sessionID;
|
|
data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
|
|
data['DeviceTypeID'] = this.deviceTypeID;
|
|
data['PatientID'] = this.patientID;
|
|
data['TokenID'] = this.tokenID;
|
|
data['PatientTypeID'] = this.patientTypeID;
|
|
data['PatientType'] = this.patientType;
|
|
|
|
return data;
|
|
}
|
|
}
|