<?xml version="1.0" ?>
<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="human-resource" package="com.axelor.apps.hr.db"/>

  <entity name="LunchVoucherMgtLine" cacheable="true">
      
      <many-to-one name="lunchVoucherMgt" ref="com.axelor.apps.hr.db.LunchVoucherMgt" title="Lunch Voucher" readonly="true"/>
      <many-to-one name="employee" ref="com.axelor.apps.hr.db.Employee" title="Employee" readonly="true"/>
      <integer name="canteenEntries" title="Number of canteen entries"/>
      <integer name="daysOverseas" title="Number of days overseas"/>
      <integer name="invitation" title="Invitation"/>
      <integer name="inAdvanceNbr" title="In advance" readonly="true"/>
      <integer name="lunchVoucherNumber" title="Number of lunch vouchers" readonly="true"/>
      <integer name="daysWorkedNbr" title="Number of days worked" readonly="true"/>
      <string name="comments" title="Comments" large="true"/>
      <integer name="givenToEmployee" title="Given to Employee"/>
      <many-to-one name="payrollPreparation" ref="com.axelor.apps.hr.db.PayrollPreparation" title="Payroll preparation" />
      <integer name="statusSelect" title="Status" selection="hr.lunch.voucher.line.status.select" readonly="true" />
      <integer name="lunchVoucherFormatSelect" title="Lunch Voucher Format" selection="hr.lunch.voucher.mgt.line.lunch.voucher.format.select" readonly="true"/>

      <extra-code>
          <![CDATA[
            public static final Integer STATUS_CALCULATED = 1;
            public static final Integer STATUS_ANOMALY = 2;
          ]]>
      </extra-code>
  </entity>
</domain-models>
