This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Patient.hbm.xml
71 lines (71 loc) · 2.99 KB
/
Patient.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
<?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 - Hibernate Tools
-->
<hibernate-mapping>
<class name="feelsafeHibernatePackage.Patient" table="patient" catalog="feelsafe">
<id name="patientuserid" type="java.lang.String">
<column name="patientuserid" length="20" />
<generator class="assigned" />
</id>
<many-to-one name="employeesByEmployeeuserid" class="feelsafeHibernatePackage.Employees" fetch="select">
<column name="employeeuserid" length="20" />
</many-to-one>
<many-to-one name="employeesByDoctorconsultedid" class="feelsafeHibernatePackage.Employees" fetch="select">
<column name="doctorconsultedid" length="20" />
</many-to-one>
<property name="password" type="java.lang.String">
<column name="password" length="20" />
</property>
<property name="name" type="java.lang.String">
<column name="name" length="20" />
</property>
<property name="age" type="java.lang.Integer">
<column name="age" />
</property>
<property name="sex" type="java.lang.Integer">
<column name="sex" />
</property>
<property name="bloodgroup" type="java.lang.String">
<column name="bloodgroup" length="20" />
</property>
<property name="testundergone" type="java.lang.Integer">
<column name="testundergone" />
</property>
<property name="ecg" type="java.lang.Integer">
<column name="ecg" />
</property>
<property name="bloodtest" type="java.lang.Integer">
<column name="bloodtest" />
</property>
<property name="xray" type="java.lang.Integer">
<column name="xray" />
</property>
<property name="scan" type="java.lang.Integer">
<column name="scan" />
</property>
<property name="address" type="java.lang.String">
<column name="address" length="128" />
</property>
<property name="mobilenumber" type="java.lang.String">
<column name="mobilenumber" length="20" />
</property>
<property name="healthproblem" type="java.lang.String">
<column name="healthproblem" length="64" />
</property>
<property name="dietspecified" type="java.lang.String">
<column name="dietspecified" length="64" />
</property>
<property name="prescribedmedicines" type="java.lang.String">
<column name="prescribedmedicines" length="64" />
</property>
<set name="roomses" inverse="true">
<key>
<column name="patientuserid" length="20" />
</key>
<one-to-many class="feelsafeHibernatePackage.Rooms" />
</set>
</class>
</hibernate-mapping>