~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-services/dhis-service-gis/src/main/resources/org/hisp/dhis/gis/hibernate/Legend.hbm.xml

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>
 
7
        <class name="org.hisp.dhis.gis.Legend" table="legend">
 
8
                <id name="id" column="legendid">
 
9
                        <generator class="native" />
 
10
                </id>
 
11
                
 
12
                <property name="name" not-null="true"/>
 
13
                
 
14
                <property name="color" not-null="true"/>
 
15
                
 
16
                <property name="max" not-null="false"/>
 
17
                
 
18
                <property name="min" not-null="true"/>
 
19
                
 
20
                <property name="autoCreateMax" column="autocreatemax"/>
 
21
                
 
22
        </class>
 
23
</hibernate-mapping>
 
 
b'\\ No newline at end of file'