store_bean_entity.dart 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. @JSONField(name: "pay_discount")
  24. double payDiscount;
  25. @JSONField(name: "shop_commission_receiver_uid")
  26. int shopCommissionReceiverUid;
  27. bool private;
  28. @JSONField(name: "owner_uid")
  29. int ownerUid;
  30. @JSONField(name: "owner_name")
  31. String ownerName;
  32. @JSONField(name: "owner_pic")
  33. String ownerPic;
  34. @JSONField(name: "hide_members")
  35. bool hideMembers = true;
  36. @JSONField(name: "hide_offline_pay")
  37. bool hideOfflinePay = false;
  38. @JSONField(name: "fee_type")
  39. int feeType;
  40. String mobile;
  41. int id;
  42. String picture;
  43. @JSONField(name: "ban_expire_date")
  44. String banExpireDate;
  45. String address;
  46. String introduction;
  47. int uid;
  48. String name;
  49. @JSONField(name: "ban_start_date")
  50. String banStartDate;
  51. @JSONField(name: "shop_commission_percent")
  52. bool shopCommissionPercent;
  53. @JSONField(name: "owner_pay_platform_fee")
  54. bool ownerPayPlatformFee;
  55. double longitude;
  56. double latitude;
  57. }