feat: Implement staff attire management including fetching options, user attire status, and upserting attire details.

This commit is contained in:
Achintha Isuru
2026-02-24 17:16:52 -05:00
parent cb180af7cf
commit 616f23fec9
12 changed files with 310 additions and 165 deletions

View File

@@ -11,6 +11,8 @@ class AttireItem extends Equatable {
this.description,
this.imageUrl,
this.isMandatory = false,
this.verificationStatus,
this.photoUrl,
});
/// Unique identifier of the attire item.
@@ -28,6 +30,12 @@ class AttireItem extends Equatable {
/// Whether this item is mandatory for onboarding.
final bool isMandatory;
/// The current verification status of the uploaded photo.
final String? verificationStatus;
/// The URL of the photo uploaded by the staff member.
final String? photoUrl;
@override
List<Object?> get props => <Object?>[
id,
@@ -35,5 +43,7 @@ class AttireItem extends Equatable {
description,
imageUrl,
isMandatory,
verificationStatus,
photoUrl,
];
}