collect.dart 462 B

12345678910111213141516171819202122
  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'collect.g.dart';
  3. @JsonSerializable()
  4. class Collect {
  5. Collect();
  6. num pid;
  7. String category;
  8. String store_name;
  9. String price;
  10. String ot_price;
  11. num sales;
  12. String image;
  13. num is_del;
  14. num is_show;
  15. bool is_fail;
  16. factory Collect.fromJson(Map<String,dynamic> json) => _$CollectFromJson(json);
  17. Map<String, dynamic> toJson() => _$CollectToJson(this);
  18. }