store_bean_entity.dart 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import 'package:bbyyy/generated/json/base/json_convert_content.dart';
  2. import 'package:bbyyy/generated/json/base/json_field.dart';
  3. class StoreBeanEntity with JsonConvert<StoreBeanEntity> {
  4. StoreBeanData data;
  5. String error;
  6. }
  7. class StoreBeanData with JsonConvert<StoreBeanData> {
  8. int total;
  9. List<StoreBeanDataData> data;
  10. }
  11. class StoreBeanDataData with JsonConvert<StoreBeanDataData> {
  12. @JSONField(name: "create_time")
  13. String createTime;
  14. @JSONField(name: "inner_trade")
  15. bool innerTrade;
  16. @JSONField(name: "shop_commission_threshold")
  17. double shopCommissionThreshold;
  18. String notice;
  19. int state;
  20. bool banned;
  21. @JSONField(name: "shop_commission_pricing")
  22. double shopCommissionPricing;
  23. bool private;
  24. @JSONField(name: "owner_uid")
  25. int ownerUid;
  26. @JSONField(name: "owner_name")
  27. String ownerName;
  28. @JSONField(name: "owner_pic")
  29. String ownerPic;
  30. @JSONField(name: "hide_members")
  31. bool hideMembers = true;
  32. @JSONField(name: "fee_type")
  33. int feeType;
  34. String mobile;
  35. int id;
  36. String picture;
  37. @JSONField(name: "ban_expire_date")
  38. String banExpireDate;
  39. String address;
  40. String introduction;
  41. int uid;
  42. String name;
  43. @JSONField(name: "ban_start_date")
  44. String banStartDate;
  45. @JSONField(name: "shop_commission_percent")
  46. bool shopCommissionPercent;
  47. @JSONField(name: "owner_pay_platform_fee")
  48. bool ownerPayPlatformFee;
  49. }