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.

30 lines
598B

  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'Crop.g.dart';
  3. @JsonSerializable()
  4. class Crop {
  5. Crop();
  6. num id;
  7. String qrCode;
  8. String code;
  9. num areaM2;
  10. num type;
  11. String startDate;
  12. String endDate;
  13. String status;
  14. String description;
  15. num ageDayStartAt;
  16. num tbSuppliesId;
  17. String suppliesName;
  18. num tbGuidelineId;
  19. num netHouseId;
  20. String netHouseName;
  21. num areaId;
  22. String area;
  23. factory Crop.fromJson(Map<String,dynamic> json) => _$CropFromJson(json);
  24. Map<String, dynamic> toJson() => _$CropToJson(this);
  25. }