tourist_public_shop_bean_entity.dart 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import 'package:bbyyy/generated/json/tourist_public_shop_bean_entity.g.dart';
  2. import 'package:bbyyy/generated/json/base/json_field.dart';
  3. @JsonSerializable()
  4. class TouristPublicShopBeanEntity {
  5. TouristPublicShopBeanEntity();
  6. factory TouristPublicShopBeanEntity.fromJson(Map<String, dynamic> json) => $TouristPublicShopBeanEntityFromJson(json);
  7. Map<String, dynamic> toJson() => $TouristPublicShopBeanEntityToJson(this);
  8. List<TouristPublicShopBeanData> data;
  9. String error;
  10. }
  11. @JsonSerializable()
  12. class TouristPublicShopBeanData {
  13. TouristPublicShopBeanData();
  14. factory TouristPublicShopBeanData.fromJson(Map<String, dynamic> json) => $TouristPublicShopBeanDataFromJson(json);
  15. Map<String, dynamic> toJson() => $TouristPublicShopBeanDataToJson(this);
  16. int id;
  17. int uid;
  18. String name;
  19. String picture;
  20. @JSONField(name: "create_time")
  21. String createTime;
  22. bool private;
  23. @JSONField(name: "owner_uid")
  24. int ownerUid;
  25. @JSONField(name: "owner_name")
  26. String ownerName;
  27. @JSONField(name: "owner_pic")
  28. String ownerPic;
  29. @JSONField(name: "fee_type")
  30. int feeType;
  31. int state;
  32. bool banned;
  33. @JSONField(name: "ban_start_date")
  34. String banStartDate;
  35. @JSONField(name: "ban_expire_date")
  36. String banExpireDate;
  37. @JSONField(name: "inner_trade")
  38. bool innerTrade;
  39. @JSONField(name: "shop_commission_percent")
  40. bool shopCommissionPercent;
  41. @JSONField(name: "shop_commission_threshold")
  42. int shopCommissionThreshold;
  43. @JSONField(name: "shop_commission_pricing")
  44. int shopCommissionPricing;
  45. @JSONField(name: "owner_pay_platform_fee")
  46. bool ownerPayPlatformFee;
  47. String address;
  48. String mobile;
  49. String introduction;
  50. String notice;
  51. @JSONField(name: "annual_fee_order_uid")
  52. int annualFeeOrderUid;
  53. @JSONField(name: "annual_fee_expire_time")
  54. String annualFeeExpireTime;
  55. String province;
  56. String city;
  57. String county;
  58. int longitude;
  59. int latitude;
  60. String category;
  61. }