{ attributes = ( { allowsNull = Y; columnName = dateCreation; name = dateCreation; prototypeName = dateTime; }, { allowsNull = Y; columnName = dateLastUsage; name = dateLastUsage; prototypeName = dateTime; }, { allowsNull = Y; columnName = flagDeleted; externalType = TINYINT; name = flagDeleted; precision = 1; valueClassName = NSNumber; valueType = c; }, { allowsNull = Y; columnName = flagDiscountKind; externalType = TINYINT; name = flagDiscountKind; valueClassName = NSNumber; valueType = i; }, { allowsNull = Y; columnName = flagFreeDelivery; externalType = TINYINT; name = flagFreeDelivery; prototypeName = intBoolean; width = 1; }, { allowsNull = Y; columnName = idMasterCoupon; externalType = BIGINT; name = idMasterCoupon; valueClassName = NSNumber; valueType = i; }, { allowsNull = Y; columnName = idOwner; externalType = BIGINT; name = idOwner; valueClassName = NSNumber; valueType = i; }, { columnName = idXTDiscountCoupon; externalType = BIGINT; name = idXTDiscountCoupon; valueClassName = NSNumber; valueType = i; }, { allowsNull = Y; columnName = idXTUser; externalType = BIGINT; name = idXTUser; valueClassName = NSNumber; valueType = i; }, { allowsNull = Y; columnName = theDescription; name = theDescription; prototypeName = varchar100; }, { allowsNull = Y; columnName = theDiscountCode; name = theDiscountCode; prototypeName = varchar100; }, { allowsNull = Y; columnName = theDiscountValue; externalType = DECIMAL; name = theDiscountValue; precision = 16; scale = 4; valueClassName = NSDecimalNumber; valueType = B; }, { columnName = theMinPrice; externalType = DECIMAL; name = theMinPrice; precision = 16; scale = 4; valueClassName = NSDecimalNumber; valueType = B; }, { allowsNull = Y; columnName = theUsageCount; externalType = INT; name = theUsageCount; valueClassName = NSNumber; valueType = i; }, { allowsNull = Y; columnName = theUsageLimit; externalType = INT; name = theUsageLimit; valueClassName = NSNumber; valueType = i; }, { allowsNull = Y; columnName = theValidPeriodEnd; externalType = DATETIME; name = theValidPeriodEnd; valueClassName = NSCalendarDate; }, { allowsNull = Y; columnName = theValidPeriodStart; externalType = DATETIME; name = theValidPeriodStart; valueClassName = NSCalendarDate; } ); className = "it.xplants.xtro.XTDiscountCoupon"; classProperties = ( dateCreation, dateLastUsage, flagDeleted, flagDiscountKind, flagFreeDelivery, idXTUser, theChildrenCoupons, theDescription, theDiscountCode, theDiscountValue, theMasterCoupon, theMinPrice, theOwner, theProductOptions, theUsageCount, theUsageLimit, theUser, theValidPeriodEnd, theValidPeriodStart ); externalName = XTDiscountCoupon; fetchSpecificationDictionary = {}; name = XTDiscountCoupon; primaryKeyAttributes = (idXTDiscountCoupon); relationships = ( { deleteRule = EODeleteRuleCascade; destination = XTDiscountCoupon; isToMany = Y; joinSemantic = EOInnerJoin; joins = ( {destinationAttribute = idMasterCoupon; sourceAttribute = idXTDiscountCoupon; } ); name = theChildrenCoupons; }, { destination = XTDiscountCoupon; isToMany = N; joinSemantic = EOInnerJoin; joins = ( {destinationAttribute = idXTDiscountCoupon; sourceAttribute = idMasterCoupon; } ); name = theMasterCoupon; }, { destination = XTUser; isToMany = N; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = idXTUser; sourceAttribute = idOwner; }); name = theOwner; }, { deleteRule = EODeleteRuleCascade; destination = XTDiscountCouponProductOption; isToMany = Y; joinSemantic = EOInnerJoin; joins = ( { destinationAttribute = idXTDiscountCoupon; sourceAttribute = idXTDiscountCoupon; } ); name = theProductOptions; }, { destination = XTUser; isToMany = N; joinSemantic = EOInnerJoin; joins = ({destinationAttribute = idXTUser; sourceAttribute = idXTUser; }); name = theUser; } ); }