src/org/openbravo/base/model/Reference.hbm.xml
author Víctor Martínez Romanos <victor.martinez@openbravo.com>
Thu, 05 Nov 2009 16:47:24 +0100
changeset 5379 3225b5f84829
parent 2830 9bed44d3b95c
child 6156 145a07cddde4
permissions -rw-r--r--
Fixed bug 11232: Account selector does not show any account for the Organization
<?xml version="1.0" encoding="UTF-8"?>
<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2008 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
 -->
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
	<class name="org.openbravo.base.model.Reference" lazy="false" table="ad_reference">
		<cache usage="read-write"/>
		
		<id name="id" type="string" column="ad_reference_id">
			<generator class="uuid" />
		</id>
		
		<property name="active" type="org.openbravo.base.session.OBYesNoType" not-null="true" column="isactive"/>				
		<property name="name" not-null="true"/>
		<property name="validationType"/>
		
		<property name="updated"/>
		
	</class>
</hibernate-mapping>