SteamCloudGame/lib/beans/mall_bean.dart
2024-11-23 15:25:11 +08:00

22 lines
587 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'mall_bean.g.dart';
///
@JsonSerializable(explicitToJson: true)
class MallBean {
String? productId;
String? productName;
int? productType;
String? price;
String? productImage;
String? productSelectImage;
String? productDesc;
MallBean(this.productId, this.productName, this.productType, this.price, this.productImage, this.productSelectImage, this.productDesc);
factory MallBean.fromJson(Map<String, dynamic> json) => _$MallBeanFromJson(json);
Map<String, dynamic> toJson() => _$MallBeanToJson(this);
}