merged gc rework branch, but deleted all migrations as they're incompatible

This commit is contained in:
Toastie 2025-01-29 22:51:59 +13:00
parent e97fbe64c5
commit 5450d40bae
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
114 changed files with 9639 additions and 9175 deletions
src/EllieBot/Db/Models/xp

View file

@ -0,0 +1,13 @@
namespace EllieBot.Db.Models;
public class ExcludedItem : DbEntity
{
public ulong ItemId { get; set; }
public ExcludedItemType ItemType { get; set; }
public override int GetHashCode()
=> ItemId.GetHashCode() ^ ItemType.GetHashCode();
public override bool Equals(object? obj)
=> obj is ExcludedItem ei && ei.ItemId == ItemId && ei.ItemType == ItemType;
}