using OmsorgCore.Domain.Common;

namespace OmsorgCore.Domain.Entities;

/// <summary>
/// Qualifikationsabhängiger Verrechnungssatz einer Einrichtung (FR-EIN-4, Blueprint 19.2) — 1:n-Beziehung
/// zu <see cref="Facility"/>, kein eigenständiges Core-Objekt. <see cref="Qualification"/> wird gegen die
/// admin-editierbare ValueList "Qualification" validiert (dieselbe Liste wie Employee.Qualification/
/// Order.RequiredQualification).
/// </summary>
public class FacilityQualificationRate : AuditableEntity
{
    public Guid FacilityId { get; set; }
    public Facility Facility { get; set; } = null!;

    public string Qualification { get; set; } = string.Empty;
    public decimal Rate { get; set; }
}
