From 81565c8e4e0ffc77890dbd3880d77c3c9f5b264a Mon Sep 17 00:00:00 2001 From: eduardopietre Date: Mon, 27 Dec 2021 21:20:06 -0300 Subject: [PATCH] Commented TreatmentEntry+CoreDataProperties.swift. --- .../classes/TreatmentEntry+CoreDataProperties.swift | 5 +++++ 1 file changed, 5 insertions(+) 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 }