m2u-upass-core / resources / my / com / upass / hibernate / TbAmSecurityCode.hbm.xml @ 9:16125cca68e4
History | View | Annotate | Download (1.39 KB)
1 | 0:02300db8682b | hadi | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
|
||
3 | |||
4 | <hibernate-mapping>
|
||
5 | <class name="my.com.upass.pojo.SecurityCodeBean" table="TB_AM_SECURITY_CODE"> |
||
6 | <id name="scOid" type="long"> |
||
7 | <column name="T_USER_ID" precision="9" /> |
||
8 | <generator class="native" /> |
||
9 | </id>
|
||
10 | |||
11 | <property name="scCipherText" type="string"> |
||
12 | <column name="SC_CIPHERTEXT" length="64" /> |
||
13 | </property>
|
||
14 | <property name="scState" type="int"> |
||
15 | <column name="SC_STATE" precision="1" not-null="true" |
||
16 | default="0" /> |
||
17 | </property>
|
||
18 | <property name="scDateCreated" type="timestamp"> |
||
19 | <column name="SC_DATE_GENERATED" /> |
||
20 | </property>
|
||
21 | <property name="scDateFirstUsed" type="timestamp"> |
||
22 | <column name="SC_DATE_FIRST_USED" /> |
||
23 | </property>
|
||
24 | <property name="scDateLastUsed" type="timestamp"> |
||
25 | <column name="SC_DATE_LAST_USED" /> |
||
26 | </property>
|
||
27 | <property name="scUseCount" type="int"> |
||
28 | <column name="SC_USE_COUNT" precision="6" not-null="true" |
||
29 | default="0" /> |
||
30 | </property>
|
||
31 | <property name="scErrorCount" type="int"> |
||
32 | <column name="SC_ERROR_COUNT" precision="2" not-null="true" |
||
33 | default="0" /> |
||
34 | </property>
|
||
35 | <property name="scReferenceId" type="string"> |
||
36 | <column name="SC_REFERENCE_ID" unique="true" length="40" /> |
||
37 | </property>
|
||
38 | </class>
|
||
39 | </hibernate-mapping>
|