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.

21 lines
415B

  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'Supply.g.dart';
  3. @JsonSerializable()
  4. class Supply {
  5. Supply();
  6. num id;
  7. String name;
  8. String sku;
  9. String manufacturer;
  10. String unit;
  11. num tbSuppliesTypeId;
  12. num tbCustomerId;
  13. bool isSelected = false;
  14. factory Supply.fromJson(Map<String, dynamic> json) => _$SupplyFromJson(json);
  15. Map<String, dynamic> toJson() => _$SupplyToJson(this);
  16. }