class End {
  int? id;
  int? cropId;
  int? activityId;
  String? executeDate;
  String? description;
  String? createdByName;
  List<String>? mediaDel;
  String? media;

  End({this.id, this.cropId, this.activityId, this.executeDate, this.description, this.createdByName, this.mediaDel, this.media});

  End.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    cropId = json['cropId'];
    activityId = json['activityId'];
    executeDate = json['executeDate'];
    description = json['description'];
    createdByName = json['createdByName'];
    media = json['media'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['cropId'] = this.cropId;
    data['activityId'] = this.activityId;
    data['executeDate'] = this.executeDate;
    data['description'] = this.description;
    data['createdByName'] = this.createdByName;
    data['media'] = this.media;
    data['media_del'] = this.mediaDel;
    return data;
  }
}
