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.

20 lines
475B

  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'HistoryActivity.g.dart';
  3. @JsonSerializable()
  4. class HistoryActivity {
  5. HistoryActivity();
  6. num id;
  7. num ageDay;
  8. num cropId;
  9. String executeDate;
  10. String description;
  11. num activityTypeId;
  12. String activityTypeName;
  13. factory HistoryActivity.fromJson(Map<String,dynamic> json) => _$HistoryActivityFromJson(json);
  14. Map<String, dynamic> toJson() => _$HistoryActivityToJson(this);
  15. }