using Koogle.Domain.Entities; using Koogle.Domain.Enums; namespace Koogle.Domain.Entities; /// /// Represents a person associated with a club that can be a member or a guest. /// public class Person : BaseEntity { // Stammdaten /// /// name of the person. /// public string Name { get; set; } = string.Empty; /// /// status of the person indicating if they are a member or a guest of the related club. /// public PersonStatus PersonStatus { get; set; } // Zuordnungen /// /// id of the referenced Club. /// public Guid ClubId { get; set; } // Navigation Property für 1:n Beziehung /// /// reference to the associated Expenses. /// public ICollection Expenses { get; set; } = new List(); /// /// reference to the associated Persons. /// public ICollection DayPersons { get; set; } = new List(); /// /// the associated Club. /// public Club Club { get; set; } = null!; }