goods_bean_entity.dart 987 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import 'package:bbyyy/generated/json/base/json_convert_content.dart';
  2. import 'package:bbyyy/generated/json/base/json_field.dart';
  3. class GoodsBeanEntity with JsonConvert<GoodsBeanEntity> {
  4. GoodsBeanData data;
  5. String error;
  6. }
  7. class GoodsBeanData with JsonConvert<GoodsBeanData> {
  8. int total;
  9. List<GoodsBeanDataData> data;
  10. }
  11. class GoodsBeanDataData with JsonConvert<GoodsBeanDataData> {
  12. @JSONField(name: "on_sale")
  13. bool onSale;
  14. String pictures;
  15. int id;
  16. @JSONField(name: "shop_uid")
  17. int shopUid;
  18. @JSONField(name: "user_pic")
  19. String userPic;
  20. String description;
  21. @JSONField(name: "shop_pic")
  22. String shopPic;
  23. @JSONField(name: "shop_name")
  24. String shopName;
  25. String category;
  26. String title;
  27. @JSONField(name: "original_price")
  28. double originalPrice;
  29. double price;
  30. int stock;
  31. @JSONField(name: "user_uid")
  32. int userUid;
  33. @JSONField(name: "user_name")
  34. String userName;
  35. @JSONField(name: "cover_path")
  36. String coverPath;
  37. @JSONField(name: "create_time")
  38. String createTime;
  39. }