namespace WebApp.Entities
{
    public class Event
    {
        public int EventId { get; set; }
        public int OrganisationId { get; set; }
        public required string Title { get; set; }
        public string? Description { get; set; }
        public required string Location { get; set; }
        public required DateTime EventDate { get; set; }

        public Organisation? Organisation { get; set; }
        public ICollection<EventSkill> EventSkills { get; set; } = new List<EventSkill>();
        public ICollection<EventRegistration> EventRegistrations { get; set; } = new List<EventRegistration>();
    }
}
