22 lines
554 B
Dart
22 lines
554 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'mall_item_bean.g.dart';
|
|
|
|
///标签
|
|
@JsonSerializable(explicitToJson: true)
|
|
class MallItemBean {
|
|
int? propId;
|
|
String? propName;
|
|
int? propCount;
|
|
int? propType;
|
|
int? price;
|
|
int? priceType;
|
|
String? imgUrl;
|
|
|
|
MallItemBean(this.propId, this.propName, this.propCount, this.propType, this.price, this.priceType, this.imgUrl);
|
|
|
|
factory MallItemBean.fromJson(Map<String, dynamic> json) => _$MallItemBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$MallItemBeanToJson(this);
|
|
}
|