Files
hermes/WebApp/Entities/Event.cs
eee4 f7583738d7 feat: image url migration
registrations can now store image urls, which will be shown at view.html
2025-06-02 03:01:10 +02:00

18 lines
671 B
C#

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 string? ImageURL { 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>();
}
}