<?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="account" package="com.axelor.apps.account.db"/>
  
  <entity name="DirectDebitManagement" lang="java">
  
  	<many-to-one name="company" ref="com.axelor.apps.base.db.Company" title="Company"/>
    <string name="debitNumber" namecolumn="true" title="Debit Nbr." unique="true"/>
	<one-to-many name="paymentScheduleLineList" ref="PaymentScheduleLine" mappedBy="directDebitManagement" title="Debited schedule lines List"/>
   	<many-to-many name="invoiceSet" ref="com.axelor.apps.account.db.Invoice" title="Debited Invoices List"/>
  </entity>
  
</domain-models>
