Author: jaz
Date: Wed Apr 11 09:14:24 2007
New Revision: 527564
URL:
http://svn.apache.org/viewvc?view=rev&rev=527564Log:
added availableTime (and UOM) the time this subscription is available for
Modified:
ofbiz/trunk/applications/product/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?view=diff&rev=527564&r1=527563&r2=527564==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Wed Apr 11 09:14:24 2007
@@ -3675,6 +3675,8 @@
<field name="thruDate" type="date-time"></field>
<field name="purchaseFromDate" type="date-time"></field>
<field name="purchaseThruDate" type="date-time"></field>
+ <field name="availableTime" type="numeric"></field>
+ <field name="availableTimeUomId" type="id"></field>
<field name="useCountLimit" type="numeric"></field>
<field name="useTime" type="numeric"></field>
<field name="useTimeUomId" type="id"></field>
@@ -3693,6 +3695,9 @@
</relation>
<relation type="one" fk-name="PROD_SBRS_UTU" title="UseTime" rel-entity-name="Uom">
<key-map field-name="useTimeUomId" rel-field-name="uomId"/>
+ </relation>
+ <relation type="one" fk-name="PROD_SBRS_UTU" title="AvailableTime" rel-entity-name="Uom">
+ <key-map field-name="availableTimeUomId" rel-field-name="uomId"/>
</relation>
</entity>
<entity entity-name="Subscription" package-name="org.ofbiz.product.subscription" title="Subscription Entity">