| Code: |
|
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" > <!-- DO NOT EDIT: This is a generated file that is synchronized --> <!-- by MyEclipse Hibernate tool integration. --> <!-- Created Mon Oct 18 16:01:56 PDT 2004 --> <hibernate-mapping package="com.newgenesys.crs.backend.hibernate"> <class name="Items" table="Items"> <property name="sku" column="SKU" type="java.lang.String" not-null="true" /> <property name="description" column="Description" type="java.lang.String" not-null="true" /> <property name="model" column="Model" type="java.lang.String" not-null="true" /> <property name="productcode" column="ProductCode" type="java.lang.String" not-null="true" /> <property name="price1" column="Price1" type="java.lang.Float" not-null="true" /> <property name="price2" column="Price2" type="java.lang.Float" not-null="true" /> <property name="price3" column="Price3" type="java.lang.Float" not-null="true" /> <property name="currentpriceindex" column="CurrentPriceIndex" type="java.lang.Short" not-null="true" /> <property name="averagecost" column="AverageCost" type="java.lang.Double" not-null="true" /> <property name="lastcost" column="LastCost" type="java.lang.Double" not-null="true" /> <property name="lastcostdate" column="LastCostDate" type="java.lang.Integer" /> <property name="qtyonhand" column="QtyOnHand" type="java.lang.Integer" not-null="true" /> <property name="reorderlevel" column="ReorderLevel" type="java.lang.Integer" not-null="true" /> <property name="qtycommitted" column="QtyCommitted" type="java.lang.Integer" not-null="true" /> <property name="qtyonorder" column="QtyOnOrder" type="java.lang.Integer" not-null="true" /> <property name="lastorderdate" column="LastOrderDate" type="java.lang.Integer" /> <property name="lastpurchaseorder" column="LastPurchaseOrder" type="java.lang.String" not-null="true" /> <property name="primaryvendor" column="PrimaryVendor" type="java.lang.String" not-null="true" /> <property name="backordercode" column="BackOrderCode" type="java.lang.String" not-null="true" /> <property name="taxablecode" column="TaxableCode" type="java.lang.String" not-null="true" /> <property name="locationcode" column="LocationCode" type="java.lang.String" not-null="true" /> <property name="stockstatus" column="StockStatus" type="java.lang.String" not-null="true" /> <property name="lastsolddate" column="LastSoldDate" type="java.lang.Integer" /> <property name="qtysoldperiodtodate" column="QtySoldPeriodToDate" type="java.lang.Integer" not-null="true" /> <property name="qtysoldyeartodate" column="QtySoldYearToDate" type="java.lang.Integer" not-null="true" /> <property name="salesperiodtodate" column="SalesPeriodToDate" type="java.lang.Double" not-null="true" /> <property name="salesyeartodate" column="SalesYearToDate" type="java.lang.Double" not-null="true" /> <property name="costperiodtodate" column="CostPeriodToDate" type="java.lang.Double" not-null="true" /> <property name="costyeartodate" column="CostYearToDate" type="java.lang.Double" not-null="true" /> </class> </hibernate-mapping> |