part of '../product.dart';

@freezed
class ProductQuantity with _$ProductQuantity {
  const factory ProductQuantity({
    required Product product,
    ProductVariant? variant,
    required int quantity,
    required String notes,
  }) = _ProductQuantity;

  factory ProductQuantity.empty() =>
      ProductQuantity(product: Product.empty(), quantity: 0, notes: '');
}
