using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; namespace ThAmCo.Events.Models.ViewModels.Events { public class EventEditModel { public int Id { get; set; } [Required] public string Title { get; set; } public TimeSpan? Duration { get; set; } } }