mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
19 lines
474 B
C#
19 lines
474 B
C#
namespace NadekoBot.Core.Services.Database.Models
|
|
{
|
|
public class GCChannelId : DbEntity
|
|
{
|
|
public GuildConfig GuildConfig { get; set; }
|
|
public ulong ChannelId { get; set; }
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
return obj is GCChannelId gc
|
|
? gc.ChannelId == ChannelId
|
|
: false;
|
|
}
|
|
|
|
public override int GetHashCode() =>
|
|
this.ChannelId.GetHashCode();
|
|
}
|
|
}
|