<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="16119" systemVersion="19E266" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
    <entity name="HistoryItem" representedClassName="HistoryItem" syncable="YES">
        <attribute name="firstCopiedAt" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="lastCopiedAt" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="numberOfCopies" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="pin" optional="YES" attributeType="String"/>
        <relationship name="contents" toMany="YES" deletionRule="Cascade" destinationEntity="HistoryItemContent" inverseName="item" inverseEntity="HistoryItemContent"/>
    </entity>
    <entity name="HistoryItemContent" representedClassName="HistoryItemContent" syncable="YES">
        <attribute name="type" optional="YES" attributeType="String"/>
        <attribute name="value" optional="YES" attributeType="Binary"/>
        <relationship name="item" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="HistoryItem" inverseName="contents" inverseEntity="HistoryItem"/>
    </entity>
    <elements>
        <element name="HistoryItem" positionX="-63" positionY="-18" width="128" height="118"/>
        <element name="HistoryItemContent" positionX="-54" positionY="-9" width="128" height="88"/>
    </elements>
</model>