<?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="CompanyDepartment" lang="java">

		<string name="name" title="Name"/>
		<string name="code" title="Code"/>
		<integer name="departmentLevel" title="Level"/>
		<many-to-one name="company" ref="com.axelor.apps.base.db.Company"/>
		<many-to-one name="parentDepartment" ref="com.axelor.apps.base.db.CompanyDepartment"/>


	</entity>

</domain-models>