Commit 0dae67c2 by lee

u

parent 9ebe1115
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="12141" systemVersion="16E195" minimumToolsVersion="Xcode 7.0" sourceLanguage="Objective-C" userDefinedModelVersionIdentifier="">
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="12141" systemVersion="16F73" minimumToolsVersion="Xcode 7.0" sourceLanguage="Objective-C" userDefinedModelVersionIdentifier="">
<entity name="Address" representedClassName="BUYAddress" syncable="YES">
<attribute name="address1" optional="YES" attributeType="String" syncable="YES">
<userInfo>
......@@ -648,6 +648,7 @@
</entity>
<entity name="Order" representedClassName="BUYOrder" syncable="YES">
<attribute name="cancelled" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<attribute name="currency" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="identifier" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" indexed="YES" syncable="YES"/>
<attribute name="name" optional="YES" attributeType="String" syncable="YES">
<userInfo>
......@@ -1005,7 +1006,7 @@
<element name="MaskedCreditCard" positionX="-567" positionY="1218" width="128" height="150"/>
<element name="Option" positionX="-1588" positionY="1287" width="128" height="105"/>
<element name="OptionValue" positionX="-1390" positionY="894" width="128" height="105"/>
<element name="Order" positionX="-549" positionY="1647" width="128" height="195"/>
<element name="Order" positionX="-549" positionY="1647" width="128" height="210"/>
<element name="Product" positionX="-1390" positionY="1018" width="128" height="300"/>
<element name="ProductVariant" positionX="-1192" positionY="1063" width="128" height="240"/>
<element name="ShippingRate" positionX="-569" positionY="1836" width="128" height="135"/>
......
......@@ -39,6 +39,7 @@ extern const struct BUYOrderAttributes {
__unsafe_unretained NSString *subtotalPrice;
__unsafe_unretained NSString *totalPrice;
__unsafe_unretained NSString *cancelled;
__unsafe_unretained NSString *currency;
} BUYOrderAttributes;
extern const struct BUYOrderRelationships {
......@@ -90,6 +91,8 @@ extern const struct BUYOrderUserInfo {
@property (nonatomic, assign) BOOL cancelled;
@property (nonatomic, strong) NSString *currency;
@property (nonatomic, strong) NSDate* processedAt;
@property (nonatomic, strong) NSURL* statusURL;
......
......@@ -37,6 +37,7 @@ const struct BUYOrderAttributes BUYOrderAttributes = {
.subtotalPrice = @"subtotalPrice",
.totalPrice = @"totalPrice",
.cancelled = @"cancelled",
.currency = @"currency",
};
const struct BUYOrderRelationships BUYOrderRelationships = {
......@@ -75,6 +76,8 @@ const struct BUYOrderUserInfo BUYOrderUserInfo = {
@dynamic statusURL;
@dynamic subtotalPrice;
@dynamic totalPrice;
@dynamic cancelled;
@dynamic currency;
#endif
- (int64_t)identifierValue {
......
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