<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="3400" systemVersion="13A603" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
    <entity name="Area" syncable="YES">
        <attribute name="id" attributeType="Integer 16" defaultValueString="0" indexed="YES" syncable="YES"/>
        <attribute name="name" attributeType="String" indexed="YES" syncable="YES"/>
        <relationship name="plans" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Plan" inverseName="area" inverseEntity="Plan" syncable="YES"/>
    </entity>
    <entity name="CollectedShip" representedClassName="CollectedShip" syncable="YES">
        <attribute name="exp" attributeType="Integer 64" defaultValueString="0" syncable="YES"/>
        <attribute name="fleetNumber" optional="YES" attributeType="Integer 16" maxValueString="4" syncable="YES"/>
        <attribute name="fleetOrder" optional="YES" attributeType="Integer 16" maxValueString="6" syncable="YES"/>
        <attribute name="level" optional="YES" transient="YES" attributeType="Integer 16" minValueString="1" syncable="YES"/>
        <attribute name="nextLevelExp" optional="YES" transient="YES" attributeType="Integer 16" minValueString="0" syncable="YES"/>
        <relationship name="ship" maxCount="1" deletionRule="Nullify" destinationEntity="Ship" inverseName="collection" inverseEntity="Ship" syncable="YES"/>
    </entity>
    <entity name="Plan" syncable="YES">
        <attribute name="account" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="areaExp" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
        <attribute name="level" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
        <attribute name="planName" attributeType="String" indexed="YES" syncable="YES"/>
        <attribute name="subAreaName" attributeType="String" syncable="YES"/>
        <relationship name="area" maxCount="1" deletionRule="Nullify" destinationEntity="Area" inverseName="plans" inverseEntity="Area" syncable="YES"/>
    </entity>
    <entity name="Ship" representedClassName="Ship" syncable="YES">
        <attribute name="imageURL" optional="YES" attributeType="Transformable" syncable="YES"/>
        <attribute name="name" attributeType="String" indexed="YES" syncable="YES"/>
        <attribute name="number" attributeType="Integer 16" syncable="YES"/>
        <attribute name="smallImageURL" optional="YES" attributeType="Transformable" syncable="YES"/>
        <attribute name="tranceformedNumber" optional="YES" transient="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
        <attribute name="updateLevel" optional="YES" attributeType="Integer 16" syncable="YES"/>
        <attribute name="updateNumber" optional="YES" attributeType="Integer 16" syncable="YES"/>
        <relationship name="collection" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="CollectedShip" inverseName="ship" inverseEntity="CollectedShip" syncable="YES"/>
        <relationship name="type" maxCount="1" deletionRule="Nullify" destinationEntity="ShipType" inverseName="ships" inverseEntity="ShipType" syncable="YES"/>
    </entity>
    <entity name="ShipType" syncable="YES">
        <attribute name="name" attributeType="String" syncable="YES"/>
        <attribute name="shortName" attributeType="String" syncable="YES"/>
        <relationship name="ships" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Ship" inverseName="type" inverseEntity="Ship" syncable="YES"/>
    </entity>
    <elements>
        <element name="Area" positionX="0" positionY="0" width="0" height="0"/>
        <element name="CollectedShip" positionX="0" positionY="0" width="0" height="0"/>
        <element name="Plan" positionX="0" positionY="0" width="0" height="0"/>
        <element name="Ship" positionX="0" positionY="0" width="0" height="0"/>
        <element name="ShipType" positionX="0" positionY="0" width="0" height="0"/>
    </elements>
</model>