UI fields for cost center
This commit is contained in:
@@ -14,7 +14,6 @@ enum HubStatus {
|
||||
|
||||
/// Represents a branch location or operational unit within a [Business].
|
||||
class Hub extends Equatable {
|
||||
|
||||
const Hub({
|
||||
required this.id,
|
||||
required this.businessId,
|
||||
@@ -22,6 +21,7 @@ class Hub extends Equatable {
|
||||
required this.address,
|
||||
this.nfcTagId,
|
||||
required this.status,
|
||||
this.costCenter,
|
||||
});
|
||||
/// Unique identifier.
|
||||
final String id;
|
||||
@@ -41,6 +41,9 @@ class Hub extends Equatable {
|
||||
/// Operational status.
|
||||
final HubStatus status;
|
||||
|
||||
/// Assigned cost center for this hub.
|
||||
final String? costCenter;
|
||||
|
||||
@override
|
||||
List<Object?> get props => <Object?>[id, businessId, name, address, nfcTagId, status];
|
||||
List<Object?> get props => <Object?>[id, businessId, name, address, nfcTagId, status, costCenter];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user