Skip to content

Commit

Permalink
make healthImmunizationListing id + eq
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMoonThatRises committed Aug 17, 2024
1 parent 03680c9 commit 9698b56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Sources/StudentVue/SOAPApi/Models/StudentHealthInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,13 @@ extension StudentVueApi.StudentHealthInfo {
self = try XMLHash.parse(soapString: string).value()
}
}

extension StudentVueApi.HealthImmunizationListing: Identifiable, Equatable {
public var id: String {
accessGU
}

public static func == (lhs: StudentVueApi.HealthImmunizationListing, rhs: StudentVueApi.HealthImmunizationListing) -> Bool {
lhs.id == rhs.id
}
}

0 comments on commit 9698b56

Please sign in to comment.