33 lines
706 B
C#
33 lines
706 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|||
|
namespace ThAmCo.Events.Data
|
|||
|
{
|
|||
|
public class Event
|
|||
|
{
|
|||
|
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 string VenueReference { get; set; }
|
|||
|
|
|||
|
public int FoodReference { get; set; }
|
|||
|
|
|||
|
public List<Staffing> Staffings { get; set; }
|
|||
|
|
|||
|
public bool IsDeleted { get; set; }
|
|||
|
|
|||
|
}
|
|||
|
}
|