using OmsorgCore.Domain.Common;

namespace OmsorgCore.Domain.Entities;

/// <summary>
/// Ansprechpartner einer Einrichtung (REQUIREMENTS.md FR-EIN-2, Blueprint 19.2) — 1:n-Beziehung
/// zu <see cref="Facility"/>, da eine Einrichtung mehrere Ansprechpartner haben kann.
/// </summary>
public class FacilityContact : AuditableEntity
{
    public Guid FacilityId { get; set; }
    public Facility Facility { get; set; } = null!;

    public string Name { get; set; } = string.Empty;
    public string? Role { get; set; }
    public string? Department { get; set; }
    public string? PhoneNumber { get; set; }
    public string? Email { get; set; }
    public string? Notes { get; set; }
}
