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.
73 lines
2.1 KiB
Dart
73 lines
2.1 KiB
Dart
class InsuranceCompaniesSchemeModel {
|
|
String? setupID;
|
|
int? projectID;
|
|
int? companyID;
|
|
int? subCategoryID;
|
|
String? subCategoryDesc;
|
|
String? subCategoryDescN;
|
|
String? validFrom;
|
|
String? validTo;
|
|
var isInpatient;
|
|
int? roomCategory;
|
|
bool? isActive;
|
|
int? createdBy;
|
|
String? createdOn;
|
|
int? editedBy;
|
|
String? editedOn;
|
|
|
|
InsuranceCompaniesSchemeModel(
|
|
{this.setupID,
|
|
this.projectID,
|
|
this.companyID,
|
|
this.subCategoryID,
|
|
this.subCategoryDesc,
|
|
this.subCategoryDescN,
|
|
this.validFrom,
|
|
this.validTo,
|
|
this.isInpatient,
|
|
this.roomCategory,
|
|
this.isActive,
|
|
this.createdBy,
|
|
this.createdOn,
|
|
this.editedBy,
|
|
this.editedOn});
|
|
|
|
InsuranceCompaniesSchemeModel.fromJson(Map<String, dynamic> json) {
|
|
setupID = json['SetupID'];
|
|
projectID = json['ProjectID'];
|
|
companyID = json['CompanyID'];
|
|
subCategoryID = json['SubCategoryID'];
|
|
subCategoryDesc = json['SubCategoryDesc'];
|
|
subCategoryDescN = json['SubCategoryDescN'];
|
|
validFrom = json['ValidFrom'];
|
|
validTo = json['ValidTo'];
|
|
isInpatient = json['IsInpatient'];
|
|
roomCategory = json['RoomCategory'];
|
|
isActive = json['IsActive'];
|
|
createdBy = json['CreatedBy'];
|
|
createdOn = json['CreatedOn'];
|
|
editedBy = json['EditedBy'];
|
|
editedOn = json['EditedOn'];
|
|
}
|
|
|
|
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['SubCategoryID'] = this.subCategoryID;
|
|
data['SubCategoryDesc'] = this.subCategoryDesc;
|
|
data['SubCategoryDescN'] = this.subCategoryDescN;
|
|
data['ValidFrom'] = this.validFrom;
|
|
data['ValidTo'] = this.validTo;
|
|
data['IsInpatient'] = this.isInpatient;
|
|
data['RoomCategory'] = this.roomCategory;
|
|
data['IsActive'] = this.isActive;
|
|
data['CreatedBy'] = this.createdBy;
|
|
data['CreatedOn'] = this.createdOn;
|
|
data['EditedBy'] = this.editedBy;
|
|
data['EditedOn'] = this.editedOn;
|
|
return data;
|
|
}
|
|
}
|