 import Foundation
 import CoreData
 
-
 enum ScalarTypesClassAttributes: String {
-
    case boolean
-
    case double
-
    case float
-
    case int16
-
    case int32
-
    case int64
-
 }
 
-
 enum ScalarTypesClassRelationships: String {
-
    case numerics
-
 }
 
-
 enum ScalarTypesClassFetchedProperties: String {
-
    case eq_true
    case gt_100
+
    var predicateString: String {
       switch self {
-
       case .eq_true:
          return "boolean == YES"
       case .gt_100:

import Foundation
import CoreData


enum AllTypesClassAttributes: String {

   case data

   case date

   case string

   case transformable

}



      return "NumericTypes"
   }

   @NSManaged var boolean: NSNumber?
   @NSManaged var decimal: NSDecimalNumber?
   @NSManaged var double: NSNumber?
   @NSManaged var float: NSNumber?
   @NSManaged var int16: NSNumber?
   @NSManaged var int32: NSNumber?
   @NSManaged var int64: NSNumber?


   @NSManaged var scalars: ScalarTypesClass

}

