|
7 | 7 | <attribute name="userID" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/> |
8 | 8 | <attribute name="username" attributeType="String" syncable="YES"/> |
9 | 9 | </entity> |
10 | | - <entity name="Address" representedClassName="Address" syncable="YES"> |
11 | | - <attribute name="address1" optional="YES" attributeType="String" syncable="YES"/> |
12 | | - <attribute name="address2" optional="YES" attributeType="String" syncable="YES"/> |
13 | | - <attribute name="city" optional="YES" attributeType="String" syncable="YES"/> |
14 | | - <attribute name="company" optional="YES" attributeType="String" syncable="YES"/> |
15 | | - <attribute name="country" optional="YES" attributeType="String" syncable="YES"/> |
16 | | - <attribute name="email" optional="YES" attributeType="String" syncable="YES"/> |
17 | | - <attribute name="firstName" optional="YES" attributeType="String" syncable="YES"/> |
18 | | - <attribute name="lastName" optional="YES" attributeType="String" syncable="YES"/> |
19 | | - <attribute name="phone" optional="YES" attributeType="String" syncable="YES"/> |
20 | | - <attribute name="postcode" optional="YES" attributeType="String" syncable="YES"/> |
21 | | - <attribute name="state" optional="YES" attributeType="String" syncable="YES"/> |
22 | | - <relationship name="billingOrder" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Order" inverseName="billingAddress" inverseEntity="Order" syncable="YES"/> |
23 | | - <relationship name="shippingOrder" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Order" inverseName="shippingAddress" inverseEntity="Order" syncable="YES"/> |
24 | | - </entity> |
25 | 10 | <entity name="Order" representedClassName="Order" syncable="YES"> |
| 11 | + <attribute name="billingAddress1" optional="YES" attributeType="String" syncable="YES"/> |
| 12 | + <attribute name="billingAddress2" optional="YES" attributeType="String" syncable="YES"/> |
| 13 | + <attribute name="billingCity" optional="YES" attributeType="String" syncable="YES"/> |
| 14 | + <attribute name="billingCompany" optional="YES" attributeType="String" syncable="YES"/> |
| 15 | + <attribute name="billingCountry" optional="YES" attributeType="String" syncable="YES"/> |
| 16 | + <attribute name="billingEmail" optional="YES" attributeType="String" syncable="YES"/> |
| 17 | + <attribute name="billingFirstName" optional="YES" attributeType="String" syncable="YES"/> |
| 18 | + <attribute name="billingLastName" optional="YES" attributeType="String" syncable="YES"/> |
| 19 | + <attribute name="billingPhone" optional="YES" attributeType="String" syncable="YES"/> |
| 20 | + <attribute name="billingPostcode" optional="YES" attributeType="String" syncable="YES"/> |
| 21 | + <attribute name="billingState" optional="YES" attributeType="String" syncable="YES"/> |
26 | 22 | <attribute name="currency" optional="YES" attributeType="String" syncable="YES"/> |
27 | 23 | <attribute name="customerID" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/> |
28 | 24 | <attribute name="customerNote" optional="YES" attributeType="String" syncable="YES"/> |
|
35 | 31 | <attribute name="orderID" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/> |
36 | 32 | <attribute name="parentID" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/> |
37 | 33 | <attribute name="paymentMethodTitle" optional="YES" attributeType="String" syncable="YES"/> |
| 34 | + <attribute name="shippingAddress1" optional="YES" attributeType="String" syncable="YES"/> |
| 35 | + <attribute name="shippingAddress2" optional="YES" attributeType="String" syncable="YES"/> |
| 36 | + <attribute name="shippingCity" optional="YES" attributeType="String" syncable="YES"/> |
| 37 | + <attribute name="shippingCompany" optional="YES" attributeType="String" syncable="YES"/> |
| 38 | + <attribute name="shippingCountry" optional="YES" attributeType="String" syncable="YES"/> |
| 39 | + <attribute name="shippingEmail" optional="YES" attributeType="String" syncable="YES"/> |
| 40 | + <attribute name="shippingFirstName" optional="YES" attributeType="String" syncable="YES"/> |
| 41 | + <attribute name="shippingLastName" optional="YES" attributeType="String" syncable="YES"/> |
| 42 | + <attribute name="shippingPhone" optional="YES" attributeType="String" syncable="YES"/> |
| 43 | + <attribute name="shippingPostcode" optional="YES" attributeType="String" syncable="YES"/> |
| 44 | + <attribute name="shippingState" optional="YES" attributeType="String" syncable="YES"/> |
38 | 45 | <attribute name="shippingTax" optional="YES" attributeType="String" syncable="YES"/> |
39 | 46 | <attribute name="shippingTotal" optional="YES" attributeType="String" syncable="YES"/> |
40 | 47 | <attribute name="status" attributeType="String" syncable="YES"/> |
41 | 48 | <attribute name="total" optional="YES" attributeType="String" syncable="YES"/> |
42 | 49 | <attribute name="totalTax" optional="YES" attributeType="String" syncable="YES"/> |
43 | | - <relationship name="billingAddress" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="Address" inverseName="billingOrder" inverseEntity="Address" syncable="YES"/> |
44 | 50 | <relationship name="coupons" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="OrderCoupon" inverseName="order" inverseEntity="OrderCoupon" syncable="YES"/> |
45 | 51 | <relationship name="items" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="OrderItem" inverseName="order" inverseEntity="OrderItem" syncable="YES"/> |
46 | | - <relationship name="shippingAddress" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="Address" inverseName="shippingOrder" inverseEntity="Address" syncable="YES"/> |
47 | 52 | </entity> |
48 | 53 | <entity name="OrderCoupon" representedClassName="OrderCoupon" syncable="YES"> |
49 | 54 | <attribute name="code" optional="YES" attributeType="String" syncable="YES"/> |
|
75 | 80 | </entity> |
76 | 81 | <elements> |
77 | 82 | <element name="Account" positionX="-218" positionY="132" width="128" height="120"/> |
78 | | - <element name="Address" positionX="259" positionY="381" width="128" height="240"/> |
79 | | - <element name="Order" positionX="-45" positionY="54" width="128" height="360"/> |
| 83 | + <element name="Order" positionX="-45" positionY="54" width="128" height="660"/> |
80 | 84 | <element name="OrderCoupon" positionX="18" positionY="234" width="128" height="120"/> |
81 | 85 | <element name="OrderItem" positionX="216" positionY="72" width="128" height="223"/> |
82 | 86 | <element name="Site" positionX="-216" positionY="285" width="128" height="120"/> |
|
0 commit comments