-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.hbm.xml
80 lines (77 loc) · 2.74 KB
/
profile.hbm.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-mapping>
<class name="com.perrinn.appservice.beans.Profile" table="profile" >
<id name="id" type="java.lang.Integer" column="id" >
<generator class="increment" />
</id>
<property name="create_date" type="Date" >
<column name="create_date" not-null="true" />
</property>
<property name="create_id" type="Integer" >
<column name="create_id" length="255" not-null="true" />
</property>
<property name="change_date" type="Date" >
<column name="change_date" not-null="false" />
</property>
<property name="change_id" type="Integer" >
<column name="change_id" not-null="false" />
</property>
<property name="active" type="Boolean" >
<column name="active" not-null="true" />
</property>
<property name="home_country" type="Integer" >
<column name="home_country" not-null="false" />
</property>
<property name="home_region" type="Integer" >
<column name="home_region" not-null="false" />
</property>
<property name="home_city" type="Integer" >
<column name="home_city" not-null="false" />
</property>
<property name="home_lat" type="Double" >
<column name="home_lat" not-null="false" />
</property>
<property name="home_long" type="Double" >
<column name="home_lat" not-null="false" />
</property>
<property name="home_tz" type="Integer" >
<column name="home_tz" not-null="false" />
</property>
<property name="curr_country" type="Integer" >
<column name="curr_country" not-null="false" />
</property>
<property name="curr_region" type="Integer" >
<column name="curr_region" not-null="false" />
</property>
<property name="curr_city" type="Integer" >
<column name="curr_city" not-null="false" />
</property>
<property name="curr_lat" type="Double" >
<column name="curr_lat" not-null="false" />
</property>
<property name="curr_long" type="Double" >
<column name="curr_long" not-null="false" />
</property>
<property name="curr_tz" type="Integer" >
<column name="curr_tz" not-null="false" />
</property>
<property name="display_name" type="String" >
<column name="display_name" not-null="false" />
</property>
<property name="date_of_birth" type="Date" >
<column name="date_of_birth" not-null="false" />
</property>
<property name="first_name" type="String" >
<column name="first_name" not-null="false" />
</property>
<property name="surname" type="String" >
<column name="surname" not-null="false" />
</property>
<property name="photo" type="Integer" >
<column name="photo" not-null="true" />
</property>
</class>
</hibernate-mapping>