update address
This commit is contained in:
@@ -57,6 +57,10 @@ class HiveBoxNames {
|
||||
/// Offline request queue for failed API calls
|
||||
static const String offlineQueueBox = 'offline_queue_box';
|
||||
|
||||
/// City and Ward boxes for location data
|
||||
static const String cityBox = 'city_box';
|
||||
static const String wardBox = 'ward_box';
|
||||
|
||||
/// Get all box names for initialization
|
||||
static List<String> get allBoxes => [
|
||||
userBox,
|
||||
@@ -67,6 +71,8 @@ class HiveBoxNames {
|
||||
quotes,
|
||||
loyaltyBox,
|
||||
rewardsBox,
|
||||
cityBox,
|
||||
wardBox,
|
||||
settingsBox,
|
||||
cacheBox,
|
||||
syncStateBox,
|
||||
@@ -114,7 +120,7 @@ class HiveTypeIds {
|
||||
static const int chatRoomModel = 18;
|
||||
static const int messageModel = 19;
|
||||
|
||||
// Extended Models (20-29)
|
||||
// Extended Models (20-30)
|
||||
static const int notificationModel = 20;
|
||||
static const int showroomModel = 21;
|
||||
static const int showroomProductModel = 22;
|
||||
@@ -125,30 +131,33 @@ class HiveTypeIds {
|
||||
static const int categoryModel = 27;
|
||||
static const int favoriteModel = 28;
|
||||
static const int businessUnitModel = 29;
|
||||
static const int addressModel = 30;
|
||||
static const int cityModel = 31;
|
||||
static const int wardModel = 32;
|
||||
|
||||
// Enums (30-59)
|
||||
static const int userRole = 30;
|
||||
static const int userStatus = 31;
|
||||
static const int loyaltyTier = 32;
|
||||
static const int orderStatus = 33;
|
||||
static const int invoiceType = 34;
|
||||
static const int invoiceStatus = 35;
|
||||
static const int paymentMethod = 36;
|
||||
static const int paymentStatus = 37;
|
||||
static const int entryType = 38;
|
||||
static const int entrySource = 39;
|
||||
static const int complaintStatus = 40;
|
||||
static const int giftCategory = 41;
|
||||
static const int giftStatus = 42;
|
||||
static const int pointsStatus = 43;
|
||||
static const int projectType = 44;
|
||||
static const int submissionStatus = 45;
|
||||
static const int designStatus = 46;
|
||||
static const int quoteStatus = 47;
|
||||
static const int roomType = 48;
|
||||
static const int contentType = 49;
|
||||
static const int reminderType = 50;
|
||||
static const int notificationType = 51;
|
||||
// Enums (33-62)
|
||||
static const int userRole = 33;
|
||||
static const int userStatus = 34;
|
||||
static const int loyaltyTier = 35;
|
||||
static const int orderStatus = 36;
|
||||
static const int invoiceType = 37;
|
||||
static const int invoiceStatus = 38;
|
||||
static const int paymentMethod = 39;
|
||||
static const int paymentStatus = 40;
|
||||
static const int entryType = 41;
|
||||
static const int entrySource = 42;
|
||||
static const int complaintStatus = 43;
|
||||
static const int giftCategory = 44;
|
||||
static const int giftStatus = 45;
|
||||
static const int pointsStatus = 46;
|
||||
static const int projectType = 47;
|
||||
static const int submissionStatus = 48;
|
||||
static const int designStatus = 49;
|
||||
static const int quoteStatus = 50;
|
||||
static const int roomType = 51;
|
||||
static const int contentType = 52;
|
||||
static const int reminderType = 53;
|
||||
static const int notificationType = 54;
|
||||
|
||||
// Aliases for backward compatibility and clarity
|
||||
static const int memberTier = loyaltyTier; // Alias for loyaltyTier
|
||||
|
||||
Reference in New Issue
Block a user