add auth, format
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user