Commit 62b12014 by houweibin

u

parent 0dae67c2
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
extern const struct BUYCartLineItemAttributes { extern const struct BUYCartLineItemAttributes {
__unsafe_unretained NSString *quantity; __unsafe_unretained NSString *quantity;
__unsafe_unretained NSString *title;
__unsafe_unretained NSString *variantId;
__unsafe_unretained NSString *variantTitle;
} BUYCartLineItemAttributes; } BUYCartLineItemAttributes;
extern const struct BUYCartLineItemRelationships { extern const struct BUYCartLineItemRelationships {
...@@ -78,6 +81,13 @@ extern const struct BUYCartLineItemUserInfo { ...@@ -78,6 +81,13 @@ extern const struct BUYCartLineItemUserInfo {
@property (nonatomic, strong) BUYProductVariant *variant; @property (nonatomic, strong) BUYProductVariant *variant;
@property (nonatomic, strong) NSString* title;
@property (nonatomic, strong) NSNumber* variantId;
@property (nonatomic, strong) NSString* variantTitle;
@end @end
@interface _BUYCartLineItem (CoreDataGeneratedPrimitiveAccessors) @interface _BUYCartLineItem (CoreDataGeneratedPrimitiveAccessors)
......
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
const struct BUYCartLineItemAttributes BUYCartLineItemAttributes = { const struct BUYCartLineItemAttributes BUYCartLineItemAttributes = {
.quantity = @"quantity", .quantity = @"quantity",
.title = @"title",
.variantId = @"variantId",
.variantTitle = @"variantTitle",
}; };
const struct BUYCartLineItemRelationships BUYCartLineItemRelationships = { const struct BUYCartLineItemRelationships BUYCartLineItemRelationships = {
...@@ -56,6 +59,9 @@ const struct BUYCartLineItemUserInfo BUYCartLineItemUserInfo = { ...@@ -56,6 +59,9 @@ const struct BUYCartLineItemUserInfo BUYCartLineItemUserInfo = {
#if defined CORE_DATA_PERSISTENCE #if defined CORE_DATA_PERSISTENCE
@dynamic quantity; @dynamic quantity;
@dynamic title;
@dynamic variantId;
@dynamic variantTitle;
#endif #endif
#if defined CORE_DATA_PERSISTENCE #if defined CORE_DATA_PERSISTENCE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment