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

  <entity name="AdvancedImport">
  	<string name="name"/>
  	
  	<integer name="statusSelect" title="Status" selection="advanced.import.status.select" readonly="true"/>
  	
  	<string name="fileSeparator" title="Separator" max="1" default=";"/>
    
    <many-to-one name="importFile" ref="com.axelor.meta.db.MetaFile" title="Data file"/>
    
    <many-to-one name="attachment" ref="com.axelor.meta.db.MetaFile" title="Attachments"/>
    
    <boolean name="isConfigInFile" title="Config included in file"/>
    <boolean name="isFileTabConfigAdded" title="Tab Config in file"/>
    <boolean name="isHeader" title="Having header" default="true"/>
    <boolean name="isValidateValue" title="Validate values"/>
    
    <integer name="nbOfFirstLineIgnore" title="Nb of first lines to be ignore" default="0"/>
    
    <one-to-many name="fileTabList" ref="com.axelor.apps.base.db.FileTab" title="Tabs configuration" mappedBy="advancedImport"/>
    
    <many-to-one name="errorLog" ref="com.axelor.meta.db.MetaFile" title="Error logs"/>
    
    <string name="languageSelect" title="Selection language" selection="select.language"/>
    <string name="fileExtension" title="File extension"/>
  </entity>

</domain-models>
