<?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="AdvancedExport">
	 <string name="name"/>
  	 <many-to-one name="metaModel" ref="com.axelor.meta.db.MetaModel"  title="Target model" required="true"/>
  	 <one-to-many name="advancedExportLineList" ref="com.axelor.apps.base.db.AdvancedExportLine" mappedBy="advancedExport" title="Advanced export line"/>
  	 <integer name="maxExportLimit" title="Maximum export limit" default="1000" help="Maximum number of records to export by using this advance export."/>
  	 <integer name="queryFetchSize" title="Query fetch size" default="100" 
  	 	help="Number of records to fetch from database on one query run. It will fetch upto 'Maximum export limit'."/>
  </entity>
  
</domain-models>
