123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="20086" systemVersion="21F79" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
- <entity name="Notification" representedClassName="Notification" syncable="YES" codeGenerationType="class">
- <attribute name="actions" optional="YES" attributeType="String"/>
- <attribute name="click" optional="YES" attributeType="String"/>
- <attribute name="id" attributeType="String"/>
- <attribute name="message" attributeType="String"/>
- <attribute name="priority" optional="YES" attributeType="Integer 16" minValueString="1" maxValueString="5" defaultValueString="3" usesScalarValueType="YES"/>
- <attribute name="tags" optional="YES" attributeType="String"/>
- <attribute name="time" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
- <attribute name="title" optional="YES" attributeType="String"/>
- <relationship name="subscription" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Subscription" inverseName="notifications" inverseEntity="Subscription"/>
- <uniquenessConstraints>
- <uniquenessConstraint>
- <constraint value="id"/>
- </uniquenessConstraint>
- </uniquenessConstraints>
- </entity>
- <entity name="Preference" representedClassName="Preference" syncable="YES" codeGenerationType="class">
- <attribute name="key" optional="YES" attributeType="String"/>
- <attribute name="value" optional="YES" attributeType="String"/>
- </entity>
- <entity name="Subscription" representedClassName="Subscription" syncable="YES" codeGenerationType="class">
- <attribute name="baseUrl" attributeType="String"/>
- <attribute name="lastNotificationId" optional="YES" attributeType="String"/>
- <attribute name="topic" attributeType="String" minValueString="1" maxValueString="64" regularExpressionString="^[-_A-Za-z0-9]{1,64}$"/>
- <relationship name="notifications" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Notification" inverseName="subscription" inverseEntity="Notification"/>
- <uniquenessConstraints>
- <uniquenessConstraint>
- <constraint value="baseUrl"/>
- <constraint value="topic"/>
- </uniquenessConstraint>
- </uniquenessConstraints>
- </entity>
- <entity name="User" representedClassName="User" syncable="YES" codeGenerationType="class">
- <attribute name="baseUrl" attributeType="String"/>
- <attribute name="password" attributeType="String"/>
- <attribute name="username" attributeType="String"/>
- <uniquenessConstraints>
- <uniquenessConstraint>
- <constraint value="baseUrl"/>
- </uniquenessConstraint>
- </uniquenessConstraints>
- </entity>
- <elements>
- <element name="Notification" positionX="-54" positionY="9" width="128" height="164"/>
- <element name="Subscription" positionX="-262.4760131835938" positionY="11.46405029296875" width="128" height="89"/>
- <element name="User" positionX="-162" positionY="81" width="128" height="74"/>
- <element name="Preference" positionX="-162" positionY="81" width="128" height="59"/>
- </elements>
- </model>
|