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

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

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

  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['media'] = this.media;
    data['media_del'] = this.mediaDel;
    data['executeDate'] = this.executeDate;
    data['description'] = this.description;
    data['createdByName'] = this.createdByName;
    data['activityTypeName'] = this.activityTypeName;
    return data;
  }
}
