<?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="LunchVoucherAdvance" cacheable="true">
      
      <date name="distributionDate" title="Distribution date"/>
      <integer name="nbrLunchVouchers" title="Lunch vouchers distributed" min="1"/>
      <integer name="nbrLunchVouchersUsed" title="Lunch vouchers used" min="0"/>
      
      <decimal name="lunchVoucherWageShare" title="Lunch Voucher Wage Share" scale="2" precision="20" readonly="true"/>
      <decimal name="lunchVoucherEmployersShare" title="Lunch Voucher Employer's Share" scale="2" precision="20" readonly="true"/>
      
      <string name="comments" title="Comment" large="true"/>
      
      <many-to-one name="employee" ref="com.axelor.apps.hr.db.Employee" title="Employee"/>
      
  </entity>
  
</domain-models>
