using ERPCore.Dtos.Hrm;

namespace ERPCore.Services.Interfaces;

/// <summary>Effective-dated salary structure business logic (FR-HR-PAY-02, docs/13-BACKEND-HRM-API.md §6).</summary>
public interface IEmployeeSalaryStructureService
{
    Task<List<EmployeeSalaryStructureDto>> ListHistoryAsync(int employeeId, CancellationToken ct = default);
    Task<EmployeeSalaryStructureDto?> GetCurrentAsync(int employeeId, CancellationToken ct = default);
    Task<EmployeeSalaryStructureDto> CreateAsync(int employeeId, CreateSalaryStructureRequest request, int actorUserId, CancellationToken ct = default);
}
