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

    <entity name="ConfiguratorProdProcessLine" lang="java">
        <many-to-one name="configuratorProdProcess" title="Production process"
                     ref="com.axelor.apps.production.db.ConfiguratorProdProcess"/>
        <string name="name" title="Label"/>
        <integer name="priority" title="Priority"/>
        <many-to-one required="true" name="workCenter" ref="com.axelor.apps.production.db.WorkCenter" title="Work center"/>
        <boolean name="outsourcing" title="Outsourcing"/>
        <many-to-one name="stockLocation" ref="com.axelor.apps.stock.db.StockLocation" title="Stock location"/>
        <string name="description" title="Description" large="true"/>

        <decimal name="minCapacityPerCycle" title="Min. capacity / cycle"/>
        <string name="minCapacityPerCycleFormula" title="Min. capacity / cycle"/>
        <boolean name="defMinCapacityFormula" title="Define with a script"/>

        <decimal name="maxCapacityPerCycle" title="Max. capacity / cycle"/>
        <string name="maxCapacityPerCycleFormula" title="Max. capacity / cycle"/>
        <boolean name="defMaxCapacityFormula" title="Define with a script"/>

        <long name="durationPerCycle" title="Duration / cycle (hh:mm)"/>
        <string name="durationPerCycleFormula" title="Duration / cycle (hh:mm)"/>
        <boolean name="defDurationFormula" title="Define with a script"/>
    </entity>

</domain-models>
