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

  1. class ActionUISupply {
  2. int id;
  3. String name;
  4. String externalTable;
  5. int objectType;
  6. String condition;
  7. int activityTypeId;
  8. ActionUISupply(
  9. {this.id,
  10. this.name,
  11. this.externalTable,
  12. this.objectType,
  13. this.condition,
  14. this.activityTypeId});
  15. ActionUISupply.fromJson(Map<String, dynamic> json) {
  16. id = json['id'];
  17. name = json['name'];
  18. externalTable = json['externalTable'];
  19. objectType = json['objectType'];
  20. condition = json['condition'];
  21. activityTypeId = json['activityTypeId'];
  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['externalTable'] = this.externalTable;
  28. data['objectType'] = this.objectType;
  29. data['condition'] = this.condition;
  30. data['activityTypeId'] = this.activityTypeId;
  31. return data;
  32. }
  33. }