Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

root/openmrs-modules/chica/metadata/family.hbm.xml

Revision 5569, 0.9 kB (checked in by tmdugan, 3 months ago)

-- chica

* updated openmrs jars
* added greaseboard app
* added manual checkin
* fixed load chica1 obs script
* updated test cases to work with junit4
* added custom randomizers
* moved some tables to atd module

Line 
1 <?xml version="1.0"?>
2 <!DOCTYPE hibernate-mapping PUBLIC
3     "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4     "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
5
6 <hibernate-mapping package="org.openmrs.module.chica">
7
8         <class name="org.openmrs.module.chica.hibernateBeans.Family" table="chica_family">
9                
10                 <id name="familyId" type="java.lang.Integer" column="family_id">
11                         <generator class="native" />
12                 </id>
13        
14                 <property name="streetAddress" type="java.lang.String" column="street_address" />
15                 <property name="city" type="java.lang.String" column="city" />
16                 <property name="state" type="java.lang.String" column="state" />
17                 <property name="phoneNum" type="java.lang.String" column="phone_num" />
18                 <property name="creationTime" type="java.util.Date" column="creation_time" />
19                 <property name="numKids" type="java.lang.Integer" column="num_kids" />
20                
21         </class>
22        
23 </hibernate-mapping>
Note: See TracBrowser for help on using the browser.