creation one order time
This commit is contained in:
@@ -10,6 +10,8 @@ class OneTimeOrder extends Equatable {
|
||||
required this.date,
|
||||
required this.location,
|
||||
required this.positions,
|
||||
this.vendorId,
|
||||
this.roleRates = const <String, double>{},
|
||||
});
|
||||
/// The specific date for the shift or event.
|
||||
final DateTime date;
|
||||
@@ -20,6 +22,18 @@ class OneTimeOrder extends Equatable {
|
||||
/// The list of positions and headcounts required for this order.
|
||||
final List<OneTimeOrderPosition> positions;
|
||||
|
||||
/// Selected vendor id for this order.
|
||||
final String? vendorId;
|
||||
|
||||
/// Role hourly rates keyed by role id.
|
||||
final Map<String, double> roleRates;
|
||||
|
||||
@override
|
||||
List<Object?> get props => <Object?>[date, location, positions];
|
||||
List<Object?> get props => <Object?>[
|
||||
date,
|
||||
location,
|
||||
positions,
|
||||
vendorId,
|
||||
roleRates,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user