<?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns="http://axelor.com/xml/ns/domain-models"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_5.2.xsd">

  <module name="base" package="com.axelor.apps.base.db"/>

  <entity name="Timer">
    <one-to-many name="timerHistoryList" ref="com.axelor.apps.base.db.TimerHistory"
      mappedBy="timer"/>
    <integer name="statusSelect" readonly="true" default="0"/>
    <many-to-one name="assignedToUser" ref="com.axelor.auth.db.User"/>

    <extra-code>
      <![CDATA[
      	public static final int TIMER_STOPPED = 0;
      	public static final int TIMER_STARTED = 1;
      ]]>
    </extra-code>
  </entity>

</domain-models>