<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="5064" systemVersion="13E28" minimumToolsVersion="Xcode 4.3" macOSVersion="Automatic" iOSVersion="Automatic">
    <entity name="Battle" syncable="YES">
        <attribute name="deckId" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
        <attribute name="mapArea" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
        <attribute name="mapInfo" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
        <relationship name="damages" optional="YES" toMany="YES" maxCount="12" deletionRule="Cascade" ordered="YES" destinationEntity="Damage" inverseName="battle" inverseEntity="Damage" syncable="YES"/>
    </entity>
    <entity name="Damage" syncable="YES">
        <attribute name="damage" optional="YES" attributeType="Float" defaultValueString="0" syncable="YES"/>
        <attribute name="id" optional="YES" attributeType="Float" defaultValueString="0" syncable="YES"/>
        <relationship name="battle" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Battle" inverseName="damages" inverseEntity="Battle" syncable="YES"/>
    </entity>
    <elements>
        <element name="Battle" positionX="-63" positionY="-18" width="128" height="105"/>
        <element name="Damage" positionX="-54" positionY="18" width="128" height="90"/>
    </elements>
</model>