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

  <entity name="DashletBuilder" cacheable="true">
    <![CDATA[
    	It represents a custom dashlet. It contains fields required to generate a Axelor Open Platform supported dashlet xml. 
    ]]>
  	<string name="name" title="Name" required="true" />
  	<many-to-one name="metaView" ref="com.axelor.meta.db.MetaView" title="View" />
  	<many-to-one name="dashboardBuilder" ref="DashboardBuilder"/>
  	<many-to-one name="action" ref="com.axelor.meta.db.MetaAction" title="Action" />
  	<integer name="sequence" title="Sequence" />
  	<string name="viewType" title="Type" selection="view.type.selection" />
  	<integer name="colspan" title="Colspan" />
  	<integer name="paginationLimit" title="Pagination limit" />
  	<many-to-one name="appBuilder" ref="AppBuilder" title="App builder" />
  	<unique-constraint columns="name,dashboardBuilder"/>
  </entity>

 </domain-models>
