namespace PayRollDAL.DTO.PayProcess; /// /// One (grouping bucket x pay-configuration field) pivot row in the Salary Abstract Summary, /// matching GB4 PayProcessDAL.SalaryAbstractSummary's row shape for SalaryAbstractType 0-7. /// public sealed class SalaryAbstractSummaryDTO { public string Code { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public int TotalCount { get; set; } public short PayConfigurationDetailSlNo { get; set; } public string FieldName { get; set; } = string.Empty; public byte PayConfigurationDetailFieldType { get; set; } public byte PayConfigurationDetailOperationType { get; set; } // Populated for SalaryAbstractType 7 (CostCenter) only; GB4 leaves it unset otherwise. public string? PayConfigurationOperationType { get; set; } public decimal TotalDays { get; set; } public decimal WorkingDays { get; set; } public decimal TotalEarnings { get; set; } public decimal TotalDeductions { get; set; } public int NoofCount { get; set; } public decimal NetSalary { get; set; } public decimal C2C { get; set; } public decimal FieldValue { get; set; } public int SalaryAbstractType { get; set; } }