Skip to content

Commit f46794e

Browse files
committed
Adds new order core-data code-gen properties
1 parent 65a0dea commit f46794e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Storage/Storage/Model/Order+CoreDataProperties.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ extension Order {
3030
@NSManaged public var discountTotal: String?
3131
@NSManaged public var exclusiveForSearch: Bool
3232
@NSManaged public var fees: Set<OrderFeeLine>?
33+
@NSManaged public var isEditable: Bool
34+
@NSManaged public var needsPayment: Bool
35+
@NSManaged public var needsProcessing: Bool
3336
@NSManaged public var number: String?
3437
@NSManaged public var orderID: Int64
3538
@NSManaged public var parentID: Int64

Storage/Storage/Model/WooCommerce.xcdatamodeld/Model 69.xcdatamodel/contents

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@
123123
<attribute name="discountTax" optional="YES" attributeType="String"/>
124124
<attribute name="discountTotal" optional="YES" attributeType="String"/>
125125
<attribute name="exclusiveForSearch" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
126-
<attribute name="isEditable" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
127-
<attribute name="needsPayment" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
128-
<attribute name="needsProcessing" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
126+
<attribute name="isEditable" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
127+
<attribute name="needsPayment" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
128+
<attribute name="needsProcessing" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
129129
<attribute name="number" optional="YES" attributeType="String"/>
130130
<attribute name="orderID" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
131131
<attribute name="orderKey" attributeType="String" defaultValueString=""/>

0 commit comments

Comments
 (0)