-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathuser.hbm.xml
More file actions
executable file
·52 lines (50 loc) · 3.32 KB
/
user.hbm.xml
File metadata and controls
executable file
·52 lines (50 loc) · 3.32 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
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- This file generated by ~/workspace/ukraine/tools/scripts/ddl.pl -->
<hibernate-mapping>
<class name="ua.cetelem.db.um.User" table="USERS">
<id name="id">
<generator class="native"/>
</id>
<property name="blocked_end" type="timestamp" column="blocked_end"/>
<property name="status" type="long" not-null="true" column="status"/>
<property name="deleted_comment" type="string" length="256" column="deleted_comment"/>
<property name="created" type="timestamp" not-null="true" column="created"/>
<property name="code_tt" type="string" length="12" column="code_tt"/>
<property name="blocked_comment" type="string" length="256" column="blocked_comment"/>
<property name="password_changed" type="timestamp" column="password_changed"/>
<property name="attorney_number" type="string" length="300" column="attorney_number"/>
<property name="reason" type="long" not-null="true" column="reason"/>
<property name="deleted" type="timestamp" column="deleted"/>
<property name="email" type="string" length="50" column="email"/>
<property name="login_attempts" type="long" not-null="true" column="login_attempts"/>
<property name="blocked_start" type="timestamp" column="blocked_start"/>
<property name="phone1" type="string" length="10" column="phone1"/>
<property name="description" type="string" length="128" column="description"/>
<property name="activated" type="timestamp" column="activated"/>
<property name="dictionary_type_of_attorney" type="string" length="30" column="dictionary_type_of_attorney"/>
<property name="passport" type="string" length="8" column="passport"/>
<property name="password" type="string" length="400" column="password"/>
<property name="login" type="string" not-null="true" length="32" column="login"/>
<property name="blocked_role" type="long" column="blocked_role"/>
<property name="tin" type="string" length="10" column="tin"/>
<property name="table_number" type="string" length="10" column="table_number"/>
<property name="attorney_date_start" type="timestamp" column="attorney_date_start"/>
<property name="attorney_date_finish" type="timestamp" column="attorney_date_finish"/>
<property name="name" type="string" length="128" column="name"/>
<property name="last_update" insert="false">
<column name="last_update" default="sysdate"/>
</property>
<property name="blocked_temporary" type="timestamp" column="blocked_temporary"/>
<property name="last_ip" type="string" length="16" column="last_ip"/>
<property name="phone2" type="string" length="10" column="phone2"/>
<property name="birthday" type="timestamp" column="birthday"/>
<property name="last_login" type="timestamp" column="last_login"/>
<property name="blocked" type="yes_no" not-null="true">
<column name="blocked" check="blocked IN ('Y','N')"/>
</property>
<property name="last_shop_code" type="string" length="20" column="last_shop_code"/>
</class>
</hibernate-mapping>