Improve formatting for Event Create
This commit is contained in:
@@ -5,9 +5,20 @@ namespace Core.Entities;
|
||||
public class EventDefinition
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(100, MinimumLength = 2)]
|
||||
[Display(Name = "Event Name")]
|
||||
|
||||
public string Name { get; set; }
|
||||
public string? ShortName { get; set; }
|
||||
public EventFormat EventFormat { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(40, MinimumLength = 2)]
|
||||
[Display(Name = "Event Short Name")]
|
||||
public string? ShortName { get; set; }
|
||||
|
||||
[Required]
|
||||
public EventFormat EventFormat { get; set; }
|
||||
|
||||
[Range(1, 6)]
|
||||
public int MinTeamSize { get; set; }
|
||||
@@ -55,6 +66,7 @@ public class EventDefinition
|
||||
|
||||
public string? Documentation { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Eligibility { get; set; }
|
||||
public string? Theme { get; set; }
|
||||
public string? Description { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user