import 'package:hl_lieferservice/model/delivery.dart';

class ArticleGroup {
  final String articleName;
  final String articleNumber;
  final String internalRowId;
  int totalCount;
  int scannedCount;
  Set<Delivery> deliveryIds;

  ArticleGroup({
    required this.articleName,
    required this.internalRowId,
    required this.articleNumber,
    required this.totalCount,
    required this.deliveryIds,
    this.scannedCount = 0,
  });

  bool get isComplete => scannedCount >= totalCount;
}