<?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="bank-payment" package="com.axelor.apps.bankpayment.db"/>

  <entity name="BankReconciliationLine" lang="java">

	<string name="name" title="Label" namecolumn="true" large="true" multiline="true"/>
    <many-to-one name="bankReconciliation" ref="com.axelor.apps.bankpayment.db.BankReconciliation" title="Bank Reconciliation" />
    <date name="effectDate" title="Effect Date" required="true"/>
    <string name="reference" title="Reference"/>
    <many-to-one name="partner" ref="com.axelor.apps.base.db.Partner" title="Partner"/>
    <integer name="typeSelect" title="Type" selection="bankpayment.bank.reconciliation.type.select"/>
    <many-to-one name="account" ref="com.axelor.apps.account.db.Account" title="Accounting.Account"/>
    <decimal name="debit" title="Debit"/> 
    <decimal name="credit" title="Credit"/> 
    <many-to-one name="bankStatementLine" ref="com.axelor.apps.bankpayment.db.BankStatementLine" title="Bank Statement detail" />
    <many-to-one name="moveLine" ref="com.axelor.apps.account.db.MoveLine" title="Move Line" />
    <boolean name="isPosted" title="Is posted"/>
    
    
  </entity>
  
</domain-models>
