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.

37 lines
842B

  1. class EnvironmentParameter {
  2. int id;
  3. String name;
  4. num index;
  5. int activityId;
  6. String executeDate;
  7. bool status;
  8. EnvironmentParameter(
  9. {this.id,
  10. this.name,
  11. this.index,
  12. this.activityId,
  13. this.executeDate,
  14. this.status});
  15. EnvironmentParameter.fromJson(Map<String, dynamic> json) {
  16. id = json['id'];
  17. name = json['name'];
  18. index = json['index'];
  19. activityId = json['activityId'];
  20. executeDate = json['executeDate'];
  21. status = json['status'];
  22. }
  23. Map<String, dynamic> toJson() {
  24. final Map<String, dynamic> data = new Map<String, dynamic>();
  25. data['id'] = this.id;
  26. data['name'] = this.name;
  27. data['index'] = this.index;
  28. data['activityId'] = this.activityId;
  29. data['executeDate'] = this.executeDate;
  30. data['status'] = this.status;
  31. return data;
  32. }
  33. }