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.
 
 
 
 
 
 

38 lines
904 B

import 'package:huixiang/data/sku_json.dart';
import 'package:json_annotation/json_annotation.dart';
part 'act_product.g.dart';
@JsonSerializable(explicitToJson: true)
class ActProduct {
String? id = '';
String? createTime = '';
String? createUser = '';
String? updateTime = '';
String? updateUser = '';
String? storeId = '';
String? templateId = '';
String? timeId = '';
String? productId = '';
String? productName = '';
String? productImg = '';
String? productPrice = '';
String? promotionPrice = '';
int? productStock = 0;
int? sellCount = 0;
List<SkuJson>? skuJson = [];
int? isDelete = 0;
String? shortName = '';
String? supplierName = '';
String? detail = '';
String? details = '';
String? rightImg = '';
ActProduct();
factory ActProduct.fromJson(Map<String, dynamic> json) => _$ActProductFromJson(json);
Map<String, dynamic> toJson() => _$ActProductToJson(this);
}