Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
pending_collection_operation_isar_model.dart
Go to the documentation of this file.
1import 'package:isar/isar.dart';
2
3part 'pending_collection_operation_isar_model.g.dart';
4
6 statusUpdate, // When driver updates status (onTheWay, arrived, etc.)
7 validation, // When validating the collection
8 information, // When sending collection information
9 confirmation, // When confirming the collection
10 payment, // When processing payment
11 rating // When rating the collection
12}
13
16 Id id = Isar.autoIncrement;
17
20
21 @Index()
22 DateTime timestamp;
23
24 @Enumerated(EnumType.name)
25 @Index()
26 CollectionStep step;
27
28 @Index()
29 int operationOrder;
30
31 String payload; // JSON string containing operation data
32
34
36 required this.collectionId,
37 required this.step,
38 required this.operationOrder,
39 required this.payload,
40 required this.timestamp,
41 this.isSynced = false,
42 });
43}
class UpdateCollectionStatusEvent extends CollectionsEvent collectionId
class Partner String
Index() int collectionId
Enumerated(EnumType.name) @Index() CollectionStep step
PendingCollectionOperationIsarModel({ required this.collectionId, required this.step, required this.operationOrder, required this.payload, required this.timestamp, this.isSynced=false, })
class UnloadingProcessView extends StatefulWidget int
class SearchWeeklyCollectionsEvent extends WeeklyCollectionsEvent collection