diff --git a/xdrip/Core Data/classes/TreatmentEntry+CoreDataProperties.swift b/xdrip/Core Data/classes/TreatmentEntry+CoreDataProperties.swift index 373ed640..141d29a9 100644 --- a/xdrip/Core Data/classes/TreatmentEntry+CoreDataProperties.swift +++ b/xdrip/Core Data/classes/TreatmentEntry+CoreDataProperties.swift @@ -12,16 +12,21 @@ import CoreData extension TreatmentEntry { + // Used to load entries from CoreData. @nonobjc public class func fetchRequest() -> NSFetchRequest { return NSFetchRequest(entityName: "TreatmentEntry") } + // Date represents the date of the treatment, not the date of creation. @NSManaged public var date: Date + // Value represents the amount (e.g. insulin units or carbs grams). @NSManaged public var value: Double + // Enum TreatmentType defines which treatment this instance is. @NSManaged public var treatmentType: TreatmentType + // Tells if this instance has been uploaded to Nightscout. @NSManaged public var uploaded: Bool }