mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
17 lines
391 B
C#
17 lines
391 B
C#
namespace NadekoBot.Services.Database.Models;
|
|
|
|
public class UnmuteTimer : DbEntity
|
|
{
|
|
public ulong UserId { get; set; }
|
|
public DateTime UnmuteAt { get; set; }
|
|
|
|
public override int GetHashCode() =>
|
|
UserId.GetHashCode();
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
return obj is UnmuteTimer ut
|
|
? ut.UserId == UserId
|
|
: false;
|
|
}
|
|
} |