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.

28 lines
806B

  1. class ActivityRequest {
  2. String? code;
  3. int? activityTypeId;
  4. String? executeDate;
  5. String? description;
  6. String? location;
  7. ActivityRequest({this.code, this.activityTypeId, this.executeDate, this.description, this.location});
  8. ActivityRequest.fromJson(Map<String, dynamic> json) {
  9. code = json['code'];
  10. activityTypeId = json['activityTypeId'];
  11. executeDate = json['executeDate'];
  12. description = json['description'];
  13. location = json['location'];
  14. }
  15. Map<String, dynamic> toJson() {
  16. final Map<String, dynamic> data = new Map<String, dynamic>();
  17. data['code'] = this.code;
  18. data['activityTypeId'] = this.activityTypeId;
  19. data['executeDate'] = this.executeDate;
  20. data['description'] = this.description;
  21. data['location'] = this.location;
  22. return data;
  23. }
  24. }