You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
634 B
31 lines
634 B
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'collection_goods_model.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class CollectionGoodsModel {
|
|
int id;
|
|
int? goodsPushId;
|
|
String? skuName;
|
|
String? mainPhoto;
|
|
int? status;
|
|
int? shopStatus;
|
|
double? sellPrice;
|
|
double? discountPrice;
|
|
int? kind;
|
|
factory CollectionGoodsModel.fromJson(Map<String, dynamic> json) =>
|
|
_$CollectionGoodsModelFromJson(json);
|
|
|
|
CollectionGoodsModel({
|
|
required this.id,
|
|
this.goodsPushId,
|
|
this.skuName,
|
|
this.mainPhoto,
|
|
this.status,
|
|
this.shopStatus,
|
|
this.sellPrice,
|
|
this.discountPrice,
|
|
this.kind,
|
|
});
|
|
}
|