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
952B

  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 data = <String, dynamic>{};
  22. data['id'] = id;
  23. data['cropId'] = cropId;
  24. data['activityId'] = activityId;
  25. data['executeDate'] = executeDate;
  26. data['description'] = description;
  27. data['createdByName'] = createdByName;
  28. data['media'] = media;
  29. data['media_del'] = mediaDel;
  30. return data;
  31. }
  32. }