using Koogle.Domain.Entities;
using Koogle.Domain.Enums;
namespace Koogle.Domain.Entities;
///
/// Represents a Game-Day with associated persons and club.
///
public class Day : BaseEntity
{
// Stammdaten
///
/// The day the event is posted for.
///
public DateTime PostDate { get; set; }
///
/// Day status indicating the current state of the day.
///
public DayStatus Status { get; set; }
// Zuordnungen
///
/// ID of the referenced Club.
///
public Guid ClubId { get; set; }
// Navigation Properties
///
/// reference to the associated Persons.
///
public ICollection DayPersons { get; set; } = new List();
///
/// reference to the associated Club.
///
public Club Club { get; set; } = null!;
}