2017-09-10 01:52:34 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
2017-10-13 04:14:54 +00:00
|
|
|
|
namespace NadekoBot.Core.Services.Database.Models
|
2017-08-22 03:48:45 +00:00
|
|
|
|
{
|
|
|
|
|
public class UserXpStats : DbEntity
|
|
|
|
|
{
|
|
|
|
|
public ulong UserId { get; set; }
|
|
|
|
|
public ulong GuildId { get; set; }
|
|
|
|
|
public int Xp { get; set; }
|
2017-09-10 01:52:34 +00:00
|
|
|
|
public int AwardedXp { get; set; }
|
|
|
|
|
public XpNotificationType NotifyOnLevelUp { get; set; }
|
|
|
|
|
public DateTime LastLevelUp { get; set; } = DateTime.UtcNow;
|
2017-08-22 03:48:45 +00:00
|
|
|
|
}
|
2017-09-10 01:52:34 +00:00
|
|
|
|
|
|
|
|
|
public enum XpNotificationType { None, Dm, Channel }
|
2017-08-22 03:48:45 +00:00
|
|
|
|
}
|