Implemented settings, new scan, enhanced UI/UX
This commit is contained in:
21
lib/feature/scan/model/article.dart
Normal file
21
lib/feature/scan/model/article.dart
Normal file
@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user