class GetCategoriesList {
  int? id;
  String? categoryNameEn;
  String? content;
  String? categoryNameAr;
  int? channelId;
  bool? isActive;
  int? pageSize;
  int? pageNo;
  int? languageId;

  GetCategoriesList({
    this.id,
    this.categoryNameEn,
    this.content,
    this.categoryNameAr,
    this.channelId,
    this.isActive,
    this.pageSize,
    this.pageNo,
    this.languageId,
  });

  GetCategoriesList.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    categoryNameEn = json['categoryName_en'];
    content = json['content'];
    categoryNameAr = json['categoryName_ar'];
    channelId = json['channelId'];
    isActive = json['isActive'];
    pageSize = json['pageSize'];
    pageNo = json['pageNo'];
    languageId = json['languageId'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = <String, dynamic>{};
    data['id'] = id;
    data['categoryName_en'] = categoryNameEn;
    data['content'] = content;
    data['categoryName_ar'] = categoryNameAr;
    data['channelId'] = channelId;
    data['isActive'] = isActive;
    data['pageSize'] = pageSize;
    data['pageNo'] = pageNo;
    data['languageId'] = languageId;
    return data;
  }
}
