36 lines
2.6 KiB
XML
36 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="19574" systemVersion="21C52" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
|
|
<entity name="Feed" representedClassName="Feed" syncable="YES">
|
|
<attribute name="id" attributeType="String"/>
|
|
<attribute name="lastUpdated" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="title" attributeType="String"/>
|
|
<attribute name="url" optional="YES" attributeType="URI"/>
|
|
<relationship name="groups" toMany="YES" deletionRule="Nullify" destinationEntity="Group" inverseName="feeds" inverseEntity="Group"/>
|
|
<relationship name="items" toMany="YES" deletionRule="Nullify" destinationEntity="Item" inverseName="feed" inverseEntity="Item"/>
|
|
</entity>
|
|
<entity name="Group" representedClassName="Group" syncable="YES">
|
|
<attribute name="id" attributeType="String"/>
|
|
<attribute name="title" attributeType="String"/>
|
|
<relationship name="feeds" toMany="YES" deletionRule="Nullify" destinationEntity="Feed" inverseName="groups" inverseEntity="Feed"/>
|
|
</entity>
|
|
<entity name="Item" representedClassName="Item" syncable="YES">
|
|
<attribute name="author" optional="YES" attributeType="String"/>
|
|
<attribute name="content" optional="YES" attributeType="String"/>
|
|
<attribute name="id" attributeType="String"/>
|
|
<attribute name="needsReadStateSync" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
|
<attribute name="published" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="read" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
<attribute name="title" optional="YES" attributeType="String"/>
|
|
<attribute name="url" optional="YES" attributeType="URI"/>
|
|
<relationship name="feed" maxCount="1" deletionRule="Nullify" destinationEntity="Feed" inverseName="items" inverseEntity="Feed"/>
|
|
</entity>
|
|
<entity name="SyncState" representedClassName="SyncState" syncable="YES" codeGenerationType="class">
|
|
<attribute name="lastSync" attributeType="Date" usesScalarValueType="NO"/>
|
|
</entity>
|
|
<elements>
|
|
<element name="Feed" positionX="-54" positionY="9" width="128" height="119"/>
|
|
<element name="Group" positionX="-63" positionY="-18" width="128" height="74"/>
|
|
<element name="Item" positionX="-45" positionY="63" width="128" height="164"/>
|
|
<element name="SyncState" positionX="-63" positionY="90" width="128" height="44"/>
|
|
</elements>
|
|
</model> |