Added Models

This commit is contained in:
t.ruspekhofer 2022-02-15 19:44:45 +01:00
parent dbf1be4c5d
commit 245c6da6c6
12 changed files with 246 additions and 1 deletions

View file

@ -0,0 +1,31 @@
namespace Lieb.Models.Raid
{
public class RaidReminder
{
public enum ReminderType
{
User = 0,
Channel = 1
}
public RaidReminder(ReminderType type, string message, double hoursBeforeRaid, ulong channelId = 0)
{
Type = type;
Message = message;
HoursBeforeRaid = hoursBeforeRaid;
ChannelId = channelId;
}
public int RaidReminderId { get; set; }
public ReminderType Type { get; set; }
public string Message { get; set; }
public double HoursBeforeRaid { get; set; }
public ulong ChannelId { get; set; }
public bool Sent { get; set; } = false;
}
}