reworked Model
This commit is contained in:
parent
15608f0e31
commit
04049f31f6
12 changed files with 34 additions and 48 deletions
31
Lieb/Models/GuildWars2/Raid/RaidReminder.cs
Normal file
31
Lieb/Models/GuildWars2/Raid/RaidReminder.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
namespace Lieb.Models.GuildWars2.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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue