namespace ERPCore.Domain.Entities;

/// <summary>
/// Effective-dated EPF/ETF rates (FR-HR-PAY-04) — Sri Lanka defaults (EPF 8%
/// employee / 12% employer, ETF 3% employer-only), configurable since government
/// rates can change. Model: docs/12-BACKEND-HRM.md Part C.6.
/// </summary>
public class PayrollStatutorySetting
{
    public int PayrollStatutorySettingId { get; set; }
    public decimal EpfEmployeeRate { get; set; } = 0.08m;
    public decimal EpfEmployerRate { get; set; } = 0.12m;
    public decimal EtfEmployerRate { get; set; } = 0.03m;
    public decimal OtMultiplierDefault { get; set; } = 1.5m;
    public DateTime EffectiveFrom { get; set; }
    public DateTime? EffectiveTo { get; set; }

    public int CreatedBy { get; set; }
    public DateTime CreatedAt { get; set; }
    public uint RowVersion { get; set; }
}
