class OffersListModel {
  String? title;
  String? titleAR;
  String? description;
  String? descriptionAR;
  String? startDate;
  String? endDate;
  String? logo;
  String? bannerImage;
  String? discount;
  String? rowID;
  String? categoryNameEn;
  String? categoryNameAr;
  String? categoryID;
  String? isHasLocation;
  String? created;
  String? publishedDesc;
  String? published;
  String? expireAfter;
  String? status;
  String? isActive;
  String? totalItems;

  OffersListModel(
      {this.title,
        this.titleAR,
        this.description,
        this.descriptionAR,
        this.startDate,
        this.endDate,
        this.logo,
        this.bannerImage,
        this.discount,
        this.rowID,
        this.categoryNameEn,
        this.categoryNameAr,
        this.categoryID,
        this.isHasLocation,
        this.created,
        this.publishedDesc,
        this.published,
        this.expireAfter,
        this.status,
        this.isActive,
        this.totalItems});

  OffersListModel.fromJson(Map<String, dynamic> json) {
    title = json['Title'];
    titleAR = json['Title_AR'];
    description = json['Description'];
    descriptionAR = json['Description_AR'];
    startDate = json['Start Date'];
    endDate = json['End Date'];
    logo = json['Logo'];
    bannerImage = json['Banner_Image'];
    discount = json['Discount'];
    rowID = json['rowID'];
    categoryNameEn = json['categoryName_en'];
    categoryNameAr = json['categoryName_ar'];
    categoryID = json['categoryID'];
    isHasLocation = json['IsHasLocation'];
    created = json['created'];
    publishedDesc = json['PublishedDesc'];
    published = json['Published'];
    expireAfter = json['ExpireAfter'];
    status = json['Status'];
    isActive = json['IsActive'];
    totalItems = json['TotalItems'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = new Map<String, dynamic>();
    data['Title'] = this.title;
    data['Title_AR'] = this.titleAR;
    data['Description'] = this.description;
    data['Description_AR'] = this.descriptionAR;
    data['Start Date'] = this.startDate;
    data['End Date'] = this.endDate;
    data['Logo'] = this.logo;
    data['Banner_Image'] = this.bannerImage;
    data['Discount'] = this.discount;
    data['rowID'] = this.rowID;
    data['categoryName_en'] = this.categoryNameEn;
    data['categoryName_ar'] = this.categoryNameAr;
    data['categoryID'] = this.categoryID;
    data['IsHasLocation'] = this.isHasLocation;
    data['created'] = this.created;
    data['PublishedDesc'] = this.publishedDesc;
    data['Published'] = this.published;
    data['ExpireAfter'] = this.expireAfter;
    data['Status'] = this.status;
    data['IsActive'] = this.isActive;
    data['TotalItems'] = this.totalItems;
    return data;
  }
}
