forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserInfo.hbm.xml
More file actions
68 lines (68 loc) · 2.61 KB
/
UserInfo.hbm.xml
File metadata and controls
68 lines (68 loc) · 2.61 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
Mapping file autogenerated by MyEclipse Persistence Tools
-->
<hibernate-mapping>
<class name="com.mr.model.UserInfo" table="tb_userInfo">
<id name="id" type="int">
<column name="id" />
<generator class="native" />
</id>
<property name="account" type="string">
<column name="account" not-null="true" />
</property>
<property name="password" type="string">
<column name="password" not-null="true" />
</property>
<property name="realname" type="string">
<column name="realname" not-null="true" />
</property>
<property name="email" type="string">
<column name="email" not-null="true" />
</property>
<property name="sex" type="string">
<column name="sex" not-null="true" />
</property>
<property name="profession" type="string">
<column name="profession" not-null="true" />
</property>
<property name="tel" type="int">
<column name="tel" not-null="true" />
</property>
<property name="address" type="string">
<column name="address" not-null="true" />
</property>
<property name="homepage" type="string">
<column name="homepage" not-null="true" />
</property>
<property name="qq" type="int">
<column name="qq" not-null="true" />
</property>
<property name="headgif" type="string">
<column name="headgif" not-null="true" />
</property>
<property name="freeze" type="string">
<column name="freeze" not-null="true" />
</property>
<property name="artType" type="string">
<column name="art_type"/>
</property>
<property name="picType" type="string">
<column name="pic_type"/>
</property>
<property name="commend" type="string">
<column name="commend"/>
</property>
<property name="vistor" type="int">
<column name="vistor"/>
</property>
<property name="self" type="string">
<column name="self" not-null="true" />
</property>
<property name="friendType" type="string">
<column name="friend_type"/>
</property>
</class>
</hibernate-mapping>