Files
kulakpos_app/lib/model/add_to_cart_model.dart

36 lines
734 B
Dart
Raw Permalink 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,
2026-02-08 14:58:52 +07:00
this.perItemTaxPercentage,
this.productVatId,
2026-02-07 15:57:09 +07:00
});
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;
2026-02-08 14:58:52 +07:00
num? perItemTaxPercentage;
int? productVatId;
2026-02-07 15:57:09 +07:00
}