@@ -19,9 +19,9 @@ public struct Attendance: Hashable, Codable, Identifiable {
1919 public var totalTardies : [ PeriodTotal ]
2020 public var totalUnexcused : [ PeriodTotal ]
2121 public var totalActivities : [ PeriodTotal ]
22- public var TotalUnexcusedTardies : [ PeriodTotal ]
22+ public var totalUnexcusedTardies : [ PeriodTotal ]
2323
24- public init ( id: UUID = UUID ( ) , type: String , startPeriod: String , endPeriod: String , periodCount: Int , schoolName: String , absences: [ Absence ] , totalExcused: [ PeriodTotal ] , totalTardies: [ PeriodTotal ] , totalUnexcused: [ PeriodTotal ] , totalActivities: [ PeriodTotal ] , TotalUnexcusedTardies : [ PeriodTotal ] ) {
24+ public init ( id: UUID = UUID ( ) , type: String , startPeriod: String , endPeriod: String , periodCount: Int , schoolName: String , absences: [ Absence ] , totalExcused: [ PeriodTotal ] , totalTardies: [ PeriodTotal ] , totalUnexcused: [ PeriodTotal ] , totalActivities: [ PeriodTotal ] , totalUnexcusedTardies : [ PeriodTotal ] ) {
2525 self . id = id
2626 self . type = type
2727 self . startPeriod = startPeriod
@@ -33,7 +33,7 @@ public struct Attendance: Hashable, Codable, Identifiable {
3333 self . totalTardies = totalTardies
3434 self . totalUnexcused = totalUnexcused
3535 self . totalActivities = totalActivities
36- self . TotalUnexcusedTardies = TotalUnexcusedTardies
36+ self . totalUnexcusedTardies = totalUnexcusedTardies
3737 }
3838
3939 internal init ? ( attributes: [ String : String ] ) {
@@ -48,7 +48,7 @@ public struct Attendance: Hashable, Codable, Identifiable {
4848 do {
4949 let periodCount = try Int ( periodCountAttribute, format: . number)
5050
51- self . init ( type: typeAttribute, startPeriod: startPeriodAttribute, endPeriod: endPeriodAttribute, periodCount: periodCount, schoolName: schoolNameAttribute, absences: [ ] , totalExcused: [ ] , totalTardies: [ ] , totalUnexcused: [ ] , totalActivities: [ ] , TotalUnexcusedTardies : [ ] )
51+ self . init ( type: typeAttribute, startPeriod: startPeriodAttribute, endPeriod: endPeriodAttribute, periodCount: periodCount, schoolName: schoolNameAttribute, absences: [ ] , totalExcused: [ ] , totalTardies: [ ] , totalUnexcused: [ ] , totalActivities: [ ] , totalUnexcusedTardies : [ ] )
5252 } catch {
5353 return nil
5454 }
0 commit comments