Files
nadekobot/src/Nadeko.Bot.Db/Models/GCChannelId.cs
2023-03-14 15:48:59 +01:00

14 lines
377 B
C#

#nullable disable
namespace NadekoBot.Services.Database.Models;
public class GCChannelId : DbEntity
{
public GuildConfig GuildConfig { get; set; }
public ulong ChannelId { get; set; }
public override bool Equals(object obj)
=> obj is GCChannelId gc && gc.ChannelId == ChannelId;
public override int GetHashCode()
=> ChannelId.GetHashCode();
}