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