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