add auth, format

This commit is contained in:
Phuoc Nguyen
2025-11-07 11:52:06 +07:00
parent 24a8508fce
commit 3803bd26e0
173 changed files with 8505 additions and 7116 deletions

View File

@@ -194,13 +194,7 @@ class GiftCatalog {
@override
int get hashCode {
return Object.hash(
catalogId,
name,
category,
pointsCost,
isActive,
);
return Object.hash(catalogId, name, category, pointsCost, isActive);
}
@override

View File

@@ -15,7 +15,7 @@ enum EntryType {
adjustment,
/// Points expired
expiry;
expiry,
}
/// Entry source enum
@@ -45,7 +45,7 @@ enum EntrySource {
welcome,
/// Other source
other;
other,
}
/// Complaint status enum
@@ -63,7 +63,7 @@ enum ComplaintStatus {
approved,
/// Complaint rejected
rejected;
rejected,
}
/// Loyalty Point Entry Entity

View File

@@ -164,13 +164,7 @@ class PointsRecord {
@override
int get hashCode {
return Object.hash(
recordId,
userId,
invoiceNumber,
invoiceAmount,
status,
);
return Object.hash(recordId, userId, invoiceNumber, invoiceAmount, status);
}
@override

View File

@@ -190,13 +190,7 @@ class RedeemedGift {
@override
int get hashCode {
return Object.hash(
giftId,
userId,
catalogId,
voucherCode,
status,
);
return Object.hash(giftId, userId, catalogId, voucherCode, status);
}
@override