|
|
|
|
@ -1,26 +1,26 @@
|
|
|
|
|
class CategoriseProcedureModel {
|
|
|
|
|
List<EntityList> entityList;
|
|
|
|
|
int rowcount;
|
|
|
|
|
List<EntityList> ?entityList;
|
|
|
|
|
int ?rowcount;
|
|
|
|
|
dynamic statusMessage;
|
|
|
|
|
|
|
|
|
|
CategoriseProcedureModel(
|
|
|
|
|
{this.entityList, this.rowcount, this.statusMessage});
|
|
|
|
|
{this.entityList, this.rowcount, this.statusMessage});
|
|
|
|
|
|
|
|
|
|
CategoriseProcedureModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
CategoriseProcedureModel.fromJson(Map<String , dynamic> json) {
|
|
|
|
|
if (json['entityList'] != null) {
|
|
|
|
|
entityList = new List<EntityList>();
|
|
|
|
|
entityList = [];
|
|
|
|
|
json['entityList'].forEach((v) {
|
|
|
|
|
entityList.add(new EntityList.fromJson(v));
|
|
|
|
|
entityList!.add(new EntityList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
rowcount = json['rowcount'];
|
|
|
|
|
statusMessage = json['statusMessage'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
|
Map<String ?, dynamic> toJson() {
|
|
|
|
|
final Map<String ?, dynamic> data = new Map<String ?, dynamic>();
|
|
|
|
|
if (this.entityList != null) {
|
|
|
|
|
data['entityList'] = this.entityList.map((v) => v.toJson()).toList();
|
|
|
|
|
data['entityList'] = this.entityList!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
data['rowcount'] = this.rowcount;
|
|
|
|
|
data['statusMessage'] = this.statusMessage;
|
|
|
|
|
@ -29,20 +29,20 @@ class CategoriseProcedureModel {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class EntityList {
|
|
|
|
|
bool allowedClinic;
|
|
|
|
|
String category;
|
|
|
|
|
String categoryID;
|
|
|
|
|
String genderValidation;
|
|
|
|
|
String group;
|
|
|
|
|
String orderedValidation;
|
|
|
|
|
bool ?allowedClinic;
|
|
|
|
|
String ? category;
|
|
|
|
|
String ? categoryID;
|
|
|
|
|
String ? genderValidation;
|
|
|
|
|
String ? group;
|
|
|
|
|
String ? orderedValidation;
|
|
|
|
|
dynamic price;
|
|
|
|
|
String procedureId;
|
|
|
|
|
String procedureName;
|
|
|
|
|
String specialPermission;
|
|
|
|
|
String subGroup;
|
|
|
|
|
String template;
|
|
|
|
|
String remarks;
|
|
|
|
|
String type;
|
|
|
|
|
String ? procedureId;
|
|
|
|
|
String ? procedureName;
|
|
|
|
|
String ? specialPermission;
|
|
|
|
|
String ? subGroup;
|
|
|
|
|
String ? template;
|
|
|
|
|
String ? remarks;
|
|
|
|
|
String ? type;
|
|
|
|
|
|
|
|
|
|
EntityList(
|
|
|
|
|
{this.allowedClinic,
|
|
|
|
|
@ -60,7 +60,7 @@ class EntityList {
|
|
|
|
|
this.remarks,
|
|
|
|
|
this.type});
|
|
|
|
|
|
|
|
|
|
EntityList.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
EntityList.fromJson(Map<String ?, dynamic> json) {
|
|
|
|
|
allowedClinic = json['allowedClinic'];
|
|
|
|
|
category = json['category'];
|
|
|
|
|
categoryID = json['categoryID'];
|
|
|
|
|
@ -75,8 +75,8 @@ class EntityList {
|
|
|
|
|
template = json['template'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
|
Map<String ?, dynamic> toJson() {
|
|
|
|
|
final Map<String ?, dynamic> data = new Map<String ?, dynamic>();
|
|
|
|
|
data['allowedClinic'] = this.allowedClinic;
|
|
|
|
|
data['category'] = this.category;
|
|
|
|
|
data['categoryID'] = this.categoryID;
|
|
|
|
|
|