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.
65 lines
1.8 KiB
Dart
65 lines
1.8 KiB
Dart
class InsuranceCompaniesGetModel {
|
|
String? setupID;
|
|
int? projectID;
|
|
int? companyID;
|
|
String? companyName;
|
|
String? companyNameN;
|
|
String? alias;
|
|
String? aliasN;
|
|
String? insurancePolicyNo;
|
|
String? phoneOffice1;
|
|
String? phoneOffice2;
|
|
String? faxNumber;
|
|
int? status;
|
|
String? contractExpiry;
|
|
|
|
InsuranceCompaniesGetModel(
|
|
{this.setupID,
|
|
this.projectID,
|
|
this.companyID,
|
|
this.companyName,
|
|
this.companyNameN,
|
|
this.alias,
|
|
this.aliasN,
|
|
this.insurancePolicyNo,
|
|
this.phoneOffice1,
|
|
this.phoneOffice2,
|
|
this.faxNumber,
|
|
this.status,
|
|
this.contractExpiry});
|
|
|
|
InsuranceCompaniesGetModel.fromJson(Map<String, dynamic> json) {
|
|
setupID = json['SetupID'];
|
|
projectID = json['ProjectID'];
|
|
companyID = json['CompanyID'];
|
|
companyName = json['CompanyName'];
|
|
companyNameN = json['CompanyNameN'];
|
|
alias = json['Alias'];
|
|
aliasN = json['AliasN'];
|
|
insurancePolicyNo = json['InsurancePolicyNo'];
|
|
phoneOffice1 = json['PhoneOffice1'];
|
|
phoneOffice2 = json['PhoneOffice2'];
|
|
faxNumber = json['FaxNumber'];
|
|
status = json['Status'];
|
|
contractExpiry = json['ContractExpiry'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['SetupID'] = this.setupID;
|
|
data['ProjectID'] = this.projectID;
|
|
data['CompanyID'] = this.companyID;
|
|
data['CompanyName'] = this.companyName;
|
|
data['CompanyNameN'] = this.companyNameN;
|
|
data['Alias'] = this.alias;
|
|
data['AliasN'] = this.aliasN;
|
|
data['InsurancePolicyNo'] = this.insurancePolicyNo;
|
|
data['PhoneOffice1'] = this.phoneOffice1;
|
|
data['PhoneOffice2'] = this.phoneOffice2;
|
|
data['FaxNumber'] = this.faxNumber;
|
|
data['Status'] = this.status;
|
|
data['ContractExpiry'] = this.contractExpiry;
|
|
return data;
|
|
}
|
|
}
|