You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1020B

  1. class End {
  2. int? id;
  3. int? cropId;
  4. int? activityId;
  5. String? executeDate;
  6. String? description;
  7. String? createdByName;
  8. List<String>? mediaDel;
  9. String? media;
  10. End({this.id, this.cropId, this.activityId, this.executeDate, this.description, this.createdByName, this.mediaDel, this.media});
  11. End.fromJson(Map<String, dynamic> json) {
  12. id = json['id'];
  13. cropId = json['cropId'];
  14. activityId = json['activityId'];
  15. executeDate = json['executeDate'];
  16. description = json['description'];
  17. createdByName = json['createdByName'];
  18. media = json['media'];
  19. }
  20. Map<String, dynamic> toJson() {
  21. final Map<String, dynamic> data = new Map<String, dynamic>();
  22. data['id'] = this.id;
  23. data['cropId'] = this.cropId;
  24. data['activityId'] = this.activityId;
  25. data['executeDate'] = this.executeDate;
  26. data['description'] = this.description;
  27. data['createdByName'] = this.createdByName;
  28. data['media'] = this.media;
  29. data['media_del'] = this.mediaDel;
  30. return data;
  31. }
  32. }