<?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="ProductVariantValue" lang="java">
	
	<string name="name" title="Name" required="true"/>
	<string name="code" title="Code" required="true"/>
	<decimal name="priceExtra" title="Price Extra" precision="20" scale="10"/>
	<integer name="applicationPriceSelect" title="Application" selection="ibase.product.variant.value.application.price.select"/>
	<many-to-one name="productVariantAttr" ref="com.axelor.apps.base.db.ProductVariantAttr"/>
	
	<extra-code>
		// APPLICATION PRICE SELECT
		public static final int APPLICATION_SALE_PRICE = 0;
		public static final int APPLICATION_COST_PRICE = 1;
	</extra-code>

  </entity>
  
</domain-models>
