| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| <model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="6252" systemVersion="13F34" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic"> |
| <entity name="ContactInfo" syncable="YES"> |
| <attribute name="email" optional="YES" attributeType="String" syncable="YES"/> |
| <attribute name="phone" optional="YES" attributeType="Integer 64" defaultValueString="0" syncable="YES"/> |
| <relationship name="employee" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="Employee" inverseName="contactInfo" inverseEntity="Employee" syncable="YES"/> |
| </entity> |
| <entity name="Department" syncable="YES"> |
| <attribute name="departmentID" optional="YES" attributeType="Integer 64" defaultValueString="0" syncable="YES"/> |
| <attribute name="name" optional="YES" attributeType="String" syncable="YES"/> |
| <relationship name="dogs" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Dog" inverseName="department" inverseEntity="Dog" syncable="YES"/> |
| <relationship name="employees" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Employee" inverseName="department" inverseEntity="Employee" syncable="YES"/> |
| </entity> |
| <entity name="Dog" syncable="YES"> |
| <attribute name="name" optional="YES" attributeType="String" syncable="YES"/> |
| <relationship name="department" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="Department" inverseName="dogs" inverseEntity="Department" syncable="YES"/> |
| </entity> |
| <entity name="Employee" representedClassName="Employee" syncable="YES"> |
| <attribute name="employeeID" optional="YES" attributeType="Integer 64" defaultValueString="0.0" syncable="YES"/> |
| <attribute name="firstname" optional="YES" attributeType="String" syncable="YES"/> |
| <attribute name="json" optional="YES" attributeType="Transformable" syncable="YES"/> |
| <attribute name="lastname" optional="YES" attributeType="String" syncable="YES"/> |
| <attribute name="startDate" optional="YES" attributeType="Date" syncable="YES"/> |
| <relationship name="contactInfo" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="ContactInfo" inverseName="employee" inverseEntity="ContactInfo" syncable="YES"/> |
| <relationship name="department" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="Department" inverseName="employees" inverseEntity="Department" syncable="YES"/> |
| </entity> |
| <elements> |
| <element name="ContactInfo" positionX="0" positionY="0" width="128" height="90"/> |
| <element name="Department" positionX="0" positionY="0" width="128" height="105"/> |
| <element name="Dog" positionX="0" positionY="0" width="128" height="75"/> |
| <element name="Employee" positionX="0" positionY="0" width="128" height="150"/> |
| </elements> |
| </model> |