using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using ThAmCo.Events.Data; namespace ThAmCo.Events.Models.ViewModels.Events { public class EventCreateWithVenueModel { public int EventId { get; set; } [Required] public string EventTitle { get; set; } public DateTime EventDate { get; set; } public TimeSpan? EventDuration { get; set; } [Required, MaxLength(3), MinLength(3)] public string EventTypeId { get; set; } public string VenueCode { get; set; } public string VenueName { get; set; } public string VenueDescription { get; set; } public int VenueCapacity { get; set; } public DateTime VenueDate { get; set; } public double VenueCostPerHour { get; set; } } }