productInfo.dart 689 B

1234567891011121314151617181920212223242526272829303132
  1. import 'package:json_annotation/json_annotation.dart';
  2. part 'productInfo.g.dart';
  3. @JsonSerializable()
  4. class ProductInfo {
  5. ProductInfo();
  6. num product_id;
  7. String suk;
  8. num stock;
  9. num sales;
  10. String price;
  11. String image;
  12. String unique;
  13. String vip_price;
  14. String rebate;
  15. String vip_rebate;
  16. String bar_code;
  17. String ot_price;
  18. String weight;
  19. String volume;
  20. String brokerage;
  21. String brokerage_two;
  22. num type;
  23. num quota;
  24. num quota_show;
  25. String tb_price;
  26. factory ProductInfo.fromJson(Map<String,dynamic> json) => _$ProductInfoFromJson(json);
  27. Map<String, dynamic> toJson() => _$ProductInfoToJson(this);
  28. }