This commit is contained in:
2026-07-12 04:33:48 +08:00
parent f8a90ad305
commit e7ce0f7bae
151 changed files with 2765 additions and 2947 deletions

View File

@@ -5,23 +5,23 @@ import 'Subproduct.dart';
import 'product_attribute.dart';
class Product {
int id;
int businessId;
int categoryId;
String name;
double price;
double regularPrice;
String description;
String detailDescription;
String imagePath;
String secondImagePath;
double monthSales;
int rate;
double leftNum;
List<ProductAttribute> productAttributes;
bool nonInventory;
String extraData;
List<Subproduct> subproducts;
int? id;
int? businessId;
int? categoryId;
String? name;
double? price;
double? regularPrice;
String? description;
String? detailDescription;
String? imagePath;
String? secondImagePath;
double? monthSales;
int? rate;
double? leftNum;
List<ProductAttribute>? productAttributes;
bool? nonInventory;
String? extraData;
List<Subproduct>? subproducts;
Product(int id, int businessId, String name, double price, String description,
String imagePath, List<ProductAttribute> productAttributes) {