first commit
This commit is contained in:
31
lib/model/add_to_cart_model.dart
Normal file
31
lib/model/add_to_cart_model.dart
Normal file
@@ -0,0 +1,31 @@
|
||||
class SaleCartModel {
|
||||
SaleCartModel({
|
||||
required this.productId,
|
||||
this.productCode,
|
||||
this.productType,
|
||||
required this.batchName,
|
||||
required this.stockId,
|
||||
this.productName,
|
||||
this.unitPrice,
|
||||
this.quantity = 1,
|
||||
this.itemCartIndex = -1,
|
||||
this.stock,
|
||||
this.productPurchasePrice,
|
||||
this.lossProfit,
|
||||
this.discountAmount,
|
||||
});
|
||||
|
||||
num productId;
|
||||
num stockId;
|
||||
String batchName;
|
||||
String? productType;
|
||||
String? productCode;
|
||||
String? productName;
|
||||
num? unitPrice;
|
||||
num? productPurchasePrice;
|
||||
num quantity = 1;
|
||||
int itemCartIndex;
|
||||
num? stock;
|
||||
num? lossProfit;
|
||||
num? discountAmount;
|
||||
}
|
||||
Reference in New Issue
Block a user