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.
64 lines
1.4 KiB
64 lines
1.4 KiB
1 month ago
|
import 'package:huixiang/data/product_sku_list.dart';
|
||
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'product_show.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class ProductShow {
|
||
|
String? id = '';
|
||
|
String? createTime = '';
|
||
|
String? createUser = '';
|
||
|
String? updateTime = '';
|
||
|
String? updateUser = '';
|
||
|
String? supplierName = '';
|
||
|
String? storeId = '';
|
||
|
String? categoryId = '';
|
||
|
String? groupId = '';
|
||
|
String? shortName = '';
|
||
|
String? productName = '';
|
||
|
String? sellDesc = '';
|
||
|
String? productCode = '';
|
||
|
String? weight = '';
|
||
|
String? applyPrice = '';
|
||
|
String? price = '';
|
||
|
dynamic vipPrice;
|
||
|
int? stock = 0;
|
||
|
int? sellCount = 0;
|
||
|
int? needLogistics = 0;
|
||
|
int? oversold = 0;
|
||
|
int? organic = 0;
|
||
|
int? status = 0;
|
||
|
bool? posShow = false;
|
||
|
dynamic subscribeParam;
|
||
|
bool? isRaise = false;
|
||
|
int? productType = 0;
|
||
|
int? productNumber = 0;
|
||
|
int? setMeal = 0;
|
||
|
int? attrStyle = 0;
|
||
|
String? detail = '';
|
||
|
int? isDelete = 0;
|
||
|
String? printerFlag = '';
|
||
|
dynamic materials;
|
||
|
dynamic materialId;
|
||
|
String? details = '';
|
||
|
String? thumbnailImg = '';
|
||
|
String? info = '';
|
||
|
int? buyCount = 0;
|
||
|
int? sellCountLimit = 0;
|
||
|
dynamic stockRecoveryTime;
|
||
|
dynamic isAddPurchase;
|
||
|
int? limitNum = 0;
|
||
|
String? rankId = '';
|
||
|
int? happyBean = 0;
|
||
|
List<String>? imgs = [];
|
||
|
List<ProductSkuList>? productSkuList = [];
|
||
|
|
||
|
ProductShow();
|
||
|
|
||
|
factory ProductShow.fromJson(Map<String, dynamic> json) => _$ProductShowFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$ProductShowToJson(this);
|
||
|
|
||
|
|
||
|
}
|