forked from Sarah/Lieb-Website
Added signed up options for role reminder
Added option to opt out of reminders
This commit is contained in:
parent
64ce169094
commit
c88bf5b133
18 changed files with 911 additions and 99 deletions
|
@ -18,6 +18,13 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
Dynamic = 2
|
||||
}
|
||||
|
||||
public enum RoleReminderType
|
||||
{
|
||||
All = 0,
|
||||
SignedUp = 1,
|
||||
NotSignedUp = 2
|
||||
}
|
||||
|
||||
public int RaidReminderId { get; set; }
|
||||
|
||||
[Required]
|
||||
|
@ -40,6 +47,8 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
public ulong DiscordChannelId { get; set; }
|
||||
|
||||
public int RoleId {get; set; }
|
||||
|
||||
public RoleReminderType RoleType {get; set;}
|
||||
|
||||
public bool Sent { get; set; } = false;
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace Lieb.Models
|
|||
public DateTime? LastSignUpAt { get; set; }
|
||||
public int MainGW2Account { get; set; }
|
||||
public bool AlwaysSignUpWithMainAccount { get; set; } = false;
|
||||
public bool ReminderSubscription { get; set; } = true;
|
||||
public ICollection<GuildWars2Account> GuildWars2Accounts { get; set; } = new List<GuildWars2Account>();
|
||||
public ICollection<RoleAssignment> RoleAssignments { get; set; } = new List<RoleAssignment>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue