store_bean_entity.dart 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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: "hide_offline_pay")
  33. bool hideOfflinePay = false;
  34. @JSONField(name: "fee_type")
  35. int feeType;
  36. String mobile;
  37. int id;
  38. String picture;
  39. @JSONField(name: "ban_expire_date")
  40. String banExpireDate;
  41. String address;
  42. String introduction;
  43. int uid;
  44. String name;
  45. @JSONField(name: "ban_start_date")
  46. String banStartDate;
  47. @JSONField(name: "shop_commission_percent")
  48. bool shopCommissionPercent;
  49. @JSONField(name: "owner_pay_platform_fee")
  50. bool ownerPayPlatformFee;
  51. double longitude;
  52. double latitude;
  53. }