Files
kulakpos_app/lib/model/add_to_cart_model.dart

32 lines
630 B
Dart
Raw Normal View History

2026-02-07 15:57:09 +07:00
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;
}