<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="18154" systemVersion="20B29" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithCloudKit="YES" userDefinedModelVersionIdentifier="">
    <entity name="Accessory" representedClassName="Accessory" syncable="YES">
        <attribute name="circumstances" optional="YES" attributeType="String"/>
        <attribute name="color" optional="YES" attributeType="String"/>
        <attribute name="inWishlist" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <attribute name="lentTo" optional="YES" attributeType="String"/>
        <attribute name="manufacturer" optional="YES" attributeType="String"/>
        <attribute name="name" attributeType="String" defaultValueString=""/>
        <attribute name="uuid" optional="YES" attributeType="UUID" defaultValueString="00000000-0000-0000-0000-000000000000" usesScalarValueType="NO"/>
        <relationship name="console" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Console" inverseName="accessories" inverseEntity="Console"/>
    </entity>
    <entity name="Console" representedClassName="Console" syncable="YES">
        <attribute name="generation" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="logo_icloud_path" optional="YES" attributeType="String"/>
        <attribute name="manufacturer" optional="YES" attributeType="String"/>
        <attribute name="name" attributeType="String" defaultValueString=""/>
        <attribute name="releaseDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="shortName" optional="YES" attributeType="String"/>
        <attribute name="uuid" optional="YES" attributeType="UUID" defaultValueString="00000000-0000-0000-0000-000000000000" usesScalarValueType="NO"/>
        <relationship name="accessories" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Accessory" inverseName="console" inverseEntity="Accessory"/>
        <relationship name="games" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Game" inverseName="console" inverseEntity="Game"/>
    </entity>
    <entity name="Game" representedClassName="Game" syncable="YES">
        <attribute name="cover_icloud_path" optional="YES" attributeType="String"/>
        <attribute name="createdAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="finishedDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="inWishlist" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <attribute name="isDigital" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <attribute name="isFinished" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
        <attribute name="lentTo" optional="YES" attributeType="String"/>
        <attribute name="name" attributeType="String" defaultValueString=""/>
        <attribute name="notes" optional="YES" attributeType="String"/>
        <attribute name="pickupDescription" optional="YES" attributeType="String"/>
        <attribute name="playtime_h" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="playtime_min" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="publisher" optional="YES" attributeType="String"/>
        <attribute name="uuid" optional="YES" attributeType="UUID" defaultValueString="00000000-0000-0000-0000-000000000000" usesScalarValueType="NO"/>
        <relationship name="console" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Console" inverseName="games" inverseEntity="Console"/>
        <relationship name="series" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="GameSeries" inverseName="games" inverseEntity="GameSeries"/>
        <fetchedProperty name="fetchedProperty" optional="YES">
            <fetchRequest name="fetchedPropertyFetchRequest" entity="Game"/>
        </fetchedProperty>
    </entity>
    <entity name="GameSeries" representedClassName="GameSeries" syncable="YES">
        <attribute name="cover_icloud_path" optional="YES" attributeType="String"/>
        <attribute name="name" attributeType="String" defaultValueString=""/>
        <attribute name="uuid" optional="YES" attributeType="UUID" defaultValueString="00000000-0000-0000-0000-000000000000" usesScalarValueType="NO"/>
        <relationship name="games" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Game" inverseName="series" inverseEntity="Game"/>
    </entity>
    <entity name="GameSeriesCover" representedClassName="GameSeriesCover" syncable="YES">
        <attribute name="image" optional="YES" attributeType="Transformable" valueTransformerName="NSSecureUnarchiveFromData"/>
    </entity>
    <elements>
        <element name="Accessory" positionX="-265.9140625" positionY="29.15625" width="128" height="149"/>
        <element name="Console" positionX="-535.7890625" positionY="56.03515625" width="128" height="164"/>
        <element name="Game" positionX="-288.828125" positionY="276.7421875" width="128" height="290"/>
        <element name="GameSeries" positionX="-686.828125" positionY="359.20703125" width="128" height="89"/>
        <element name="GameSeriesCover" positionX="-477" positionY="180" width="128" height="44"/>
    </elements>
</model>