mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
21 lines
466 B
C#
21 lines
466 B
C#
using System;
|
|
|
|
namespace NadekoBot.Core.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;
|
|
}
|
|
}
|
|
}
|