Renamed RaidRole and RaidSignUpHistory

This commit is contained in:
t.ruspekhofer 2022-03-23 21:48:29 +01:00
parent 2bf630f3a1
commit bae69648d0
15 changed files with 144 additions and 121 deletions

View file

@ -0,0 +1,20 @@
using System.ComponentModel.DataAnnotations;
namespace Lieb.Models.GuildWars2.Raid
{
public class RaidRole
{
public int RaidRoleId { get; set; }
public int Spots { get; set; }
[Required]
[StringLength(40, ErrorMessage = "Name too long (40 character limit).")]
public string Name { get; set; } = String.Empty;
[Required]
[StringLength(200, ErrorMessage = "Description too long (200 character limit).")]
public string Description { get; set; } = String.Empty;
public bool IsRandomSignUpRole { get; set; } = false;
}
}