Files
nadekobot/src/NadekoBot/Db/Models/support/PatronQuota.cs
Kwoth ab93380d7c 5.1
2024-06-13 18:54:21 +00:00

24 lines
643 B
C#

#nullable disable
namespace NadekoBot.Db.Models;
public class PatronUser
{
public string UniquePlatformUserId { get; set; }
public ulong UserId { get; set; }
public int AmountCents { get; set; }
public DateTime LastCharge { get; set; }
// Date Only component
public DateTime ValidThru { get; set; }
public PatronUser Clone()
=> new PatronUser()
{
UniquePlatformUserId = this.UniquePlatformUserId,
UserId = this.UserId,
AmountCents = this.AmountCents,
LastCharge = this.LastCharge,
ValidThru = this.ValidThru
};
}