class FaqsItems {
String categoryId;
String question;
String answer;
int order;
bool publish;
String id;
FaqsItems(
{this.categoryId,
this.question,
this.answer,
this.order,
this.publish,
this.createdDate,
this.createdBy,
this.modifiedDate,
this.modifiedBy,
this.isDeleted,
this.id});
FaqsItems.fromJson(Map<String, dynamic> json) {
categoryId = json['categoryId'];
question = json['question'];
answer = json['answer'];
order = json['order'];
publish = json['publish'];
createdDate = json['createdDate'];
createdBy = json['createdBy'];
modifiedDate = json['modifiedDate'];
modifiedBy = json['modifiedBy'];
isDeleted = json['isDeleted'];
id = json['id'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['categoryId'] = this.categoryId;
data['question'] = this.question;
data['answer'] = this.answer;
data['order'] = this.order;
data['publish'] = this.publish;
data['createdDate'] = this.createdDate;
data['createdBy'] = this.createdBy;
data['modifiedDate'] = this.modifiedDate;
data['modifiedBy'] = this.modifiedBy;
data['isDeleted'] = this.isDeleted;
data['id'] = this.id;
return data;
}
}