updated employees for paging

Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
Matt Bruce 2025-01-21 11:17:12 -06:00
parent 4ae060597c
commit e5175dd84e

View File

@ -11,8 +11,14 @@ public struct Employees: Codable {
/// Array of Employees /// Array of Employees
public var employees: [Employee] public var employees: [Employee]
public let total: Int?
public let page: Int?
public let perPage: Int?
private enum CodingKeys: String, CodingKey { private enum CodingKeys: String, CodingKey {
case employees case employees
case total
case page
case perPage
} }
} }