package payroll

import (
	"business-engine/internal/database"
)

type PayrollInput struct {
	database.ListActiveEmployeesRow

	WorkSummary struct {
		Days    int64
		Hours   float64
		Minutes int64
	}

	SicknessSummary struct {
		Days    int64
		Hours   float64
		Minutes int64
	}

	WorkTime []database.WorkTime
}

func NewPayrollInput(employee database.ListActiveEmployeesRow) PayrollInput {
	return PayrollInput{
		ListActiveEmployeesRow: employee,
	}
}
