<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="21513" systemVersion="22A400" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithCloudKit="YES" userDefinedModelVersionIdentifier="">
    <entity name="AbstractSoundTimer" representedClassName="AbstractSoundTimer" isAbstract="YES" parentEntity="AbstractTimer" syncable="YES">
        <attribute name="repeatCount" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="soundList" optional="YES" attributeType="String"/>
    </entity>
    <entity name="AbstractTimer" representedClassName="AbstractTimer" isAbstract="YES" syncable="YES">
        <attribute name="image" optional="YES" attributeType="String"/>
        <attribute name="order" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
        <relationship name="activity" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Activity" inverseName="timers" inverseEntity="Activity"/>
    </entity>
    <entity name="Activity" representedClassName="Activity" syncable="YES">
        <attribute name="name" attributeType="String" defaultValueString=""/>
        <relationship name="records" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Record" inverseName="activity" inverseEntity="Record"/>
        <relationship name="timers" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="AbstractTimer" inverseName="activity" inverseEntity="AbstractTimer"/>
    </entity>
    <entity name="Alarm" representedClassName="Alarm" parentEntity="AbstractSoundTimer" syncable="YES">
        <attribute name="fireDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
    </entity>
    <entity name="Countdown" representedClassName="Countdown" parentEntity="AbstractSoundTimer" syncable="YES">
        <attribute name="duration" attributeType="Double" defaultValueString="0" usesScalarValueType="YES"/>
        <relationship name="group" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="IntervalGroup" inverseName="countdown" inverseEntity="IntervalGroup"/>
    </entity>
    <entity name="CustomSound" representedClassName="CustomSound" syncable="YES">
        <attribute name="file" optional="YES" attributeType="String"/>
        <attribute name="text" optional="YES" attributeType="String"/>
    </entity>
    <entity name="Interval" representedClassName="Interval" syncable="YES">
        <attribute name="duration" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="soundList" optional="YES" attributeType="String"/>
        <relationship name="group" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="IntervalGroup" inverseName="intervals" inverseEntity="IntervalGroup"/>
    </entity>
    <entity name="IntervalGroup" representedClassName="IntervalGroup" syncable="YES">
        <attribute name="repeatCount" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
        <relationship name="countdown" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Countdown" inverseName="group" inverseEntity="Countdown"/>
        <relationship name="intervals" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Interval" inverseName="group" inverseEntity="Interval"/>
    </entity>
    <entity name="Record" representedClassName="Record" syncable="YES">
        <attribute name="end" attributeType="Date" defaultDateTimeInterval="696425400" usesScalarValueType="NO"/>
        <attribute name="start" attributeType="Date" defaultDateTimeInterval="696425400" usesScalarValueType="NO"/>
        <relationship name="activity" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Activity" inverseName="records" inverseEntity="Activity"/>
    </entity>
    <entity name="Stopwatch" representedClassName="Stopwatch" parentEntity="AbstractSoundTimer" syncable="YES">
        <attribute name="end" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="sound" optional="YES" attributeType="Integer 16" usesScalarValueType="YES"/>
        <attribute name="start" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
    </entity>
</model>