using ERPCore.Dtos.Hrm;

namespace ERPCore.Services.Interfaces;

/// <summary>Payslip retrieval + HTML print view (FR-HR-PAY-07, docs/13-BACKEND-HRM-API.md §6). No PDF dependency in this phase.</summary>
public interface IPayslipService
{
    Task<PayslipDto?> GetAsync(int payslipId, CancellationToken ct = default);
    Task<string?> RenderHtmlAsync(int payslipId, CancellationToken ct = default);
}
