  class EventActivityList {
  EventActivityList({
    required this.id,
    required this.titleEn,
    required this.titleAr,
    required this.shortDescEn,
    required this.shortDescAr,
    required this.longDescEn,
    required this.longDescAr,
    required this.url,
    required this.startOn,
    required this.endOn,
    required this.channel,
    required this.isActive,
    required this.createdBy,
    required this.createdOn,
    required this.modifiedBy,
    required this.modifiedOn,
    required this.shortImageURL,
    required this.detailImageURL
  });

  final int? id;
  final String? titleEn;
  final String? titleAr;
  final String? shortDescEn;
  final String? shortDescAr;
  final String? longDescEn;
  final String? longDescAr;
  final String? url;
  final String? startOn;
  final String? endOn;
  final int? channel;
  final bool? isActive;
  final int? createdBy;
  final String? createdOn;
  final String? modifiedBy;
  final String? modifiedOn;
  final String? shortImageURL;
  final String? detailImageURL;
  factory EventActivityList.fromJson(Map<String, dynamic> json) {
    return EventActivityList(
      id: json["ID"],
      titleEn: json["TitleEn"],
      titleAr: json["TitleAr"],
      shortDescEn: json["ShortDescEn"],
      shortDescAr: json["ShortDescAr"],
      longDescEn: json["LongDescEn"],
      longDescAr: json["LongDescAr"],
      url: json["URL"],
      startOn: json["StartOn"],
      endOn: json["EndOn"],
      channel: json["Channel"],
      isActive: json["IsActive"],
      createdBy: json["CreatedBy"],
      createdOn: json["CreatedOn"],
      modifiedBy: json["ModifiedBy"],
      modifiedOn: json["ModifiedOn"],
      shortImageURL: json["ShortImageURL"],
      detailImageURL: json["DetailImageURL"]
    );
  }

  Map<String, dynamic> toJson() => {
        "ID": id,
        "TitleEn": titleEn,
        "TitleAr": titleAr,
        "ShortDescEn": shortDescEn,
        "ShortDescAr": shortDescAr,
        "LongDescEn": longDescEn,
        "LongDescAr": longDescAr,
        "URL": url,
        "StartOn": startOn,
        "EndOn": endOn,
        "Channel": channel,
        "IsActive": isActive,
        "CreatedBy": createdBy,
        "CreatedOn": createdOn,
        "ModifiedBy": modifiedBy,
        "ModifiedOn": modifiedOn,
        "DetailImageURL": detailImageURL,
        "ShortImageURL" : shortImageURL
      };
}
