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.

47 lines
1.0KB

  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. });
  16. EnvironmentParameter.clone(EnvironmentParameter e) {
  17. this.id = e.id;
  18. this.name = e.name;
  19. this.index = e.index;
  20. this.activityId = e.activityId;
  21. this.executeDate = e.executeDate;
  22. this.status = e.status;
  23. }
  24. EnvironmentParameter.fromJson(Map<String, dynamic> json) {
  25. id = json['id'];
  26. name = json['name'];
  27. index = json['index'];
  28. activityId = json['activityId'];
  29. executeDate = json['executeDate'];
  30. status = json['status'];
  31. }
  32. Map<String, dynamic> toJson() {
  33. final Map<String, dynamic> data = new Map<String, dynamic>();
  34. data['id'] = this.id;
  35. data['name'] = this.name;
  36. data['index'] = this.index;
  37. data['activityId'] = this.activityId;
  38. data['executeDate'] = this.executeDate;
  39. data['status'] = this.status;
  40. return data;
  41. }
  42. }