35 lines
800 B
C#
35 lines
800 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using ThAmCo.Events.Data;
|
|||
|
|
|||
|
namespace ThAmCo.Events.Models
|
|||
|
{
|
|||
|
public class EventDetailsModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
[Required]
|
|||
|
public string Title { get; set; }
|
|||
|
|
|||
|
public DateTime Date { get; set; }
|
|||
|
|
|||
|
public TimeSpan? Duration { get; set; }
|
|||
|
|
|||
|
[Required, MaxLength(3), MinLength(3)]
|
|||
|
public string TypeId { get; set; }
|
|||
|
|
|||
|
public List<GuestBooking> Bookings { get; set; }
|
|||
|
|
|||
|
public ReservationDto Reservation { get; set; }
|
|||
|
|
|||
|
public string Reference { get; set; }
|
|||
|
|
|||
|
public int FoodReference { get; set; }
|
|||
|
|
|||
|
public List<Staffing> Staffing { get; set; }
|
|||
|
}
|
|||
|
}
|