namespace ERPCore.Domain.Entities;

/// <summary>
/// Thin generation/release marker over a <see cref="PayrollLine"/> — ships as an
/// HTML print view in this phase, per the confirmed decision (no PDF dependency).
/// Model: docs/12-BACKEND-HRM.md Part C.6.
/// </summary>
public class Payslip
{
    public int PayslipId { get; set; }
    public int PayrollLineId { get; set; }
    public PayrollLine? PayrollLine { get; set; }
    public DateTime GeneratedAt { get; set; }
    public DateTime? ReleasedAt { get; set; }
    public int? ReleasedBy { get; set; }
}
