fixed_price_bean_entity.dart 767 B

12345678910111213141516171819202122232425262728293031323334
  1. import 'package:bbyyy/generated/json/base/json_field.dart';
  2. import 'package:bbyyy/generated/json/fixed_price_bean_entity.g.dart';
  3. @JsonSerializable()
  4. class FixedPriceBeanEntity {
  5. FixedPriceBeanEntity();
  6. factory FixedPriceBeanEntity.fromJson(Map<String, dynamic> json) => $FixedPriceBeanEntityFromJson(json);
  7. Map<String, dynamic> toJson() => $FixedPriceBeanEntityToJson(this);
  8. List<FixedPriceBeanData> data = [];
  9. String error;
  10. }
  11. @JsonSerializable()
  12. class FixedPriceBeanData {
  13. FixedPriceBeanData();
  14. factory FixedPriceBeanData.fromJson(Map<String, dynamic> json) => $FixedPriceBeanDataFromJson(json);
  15. Map<String, dynamic> toJson() => $FixedPriceBeanDataToJson(this);
  16. double pricing;
  17. int id;
  18. int type;
  19. String title;
  20. bool percent;
  21. double base;
  22. }