DevTellerMap.hbm.xml 1.2 KB

1234567891011121314151617181920212223
  1. <?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. <hibernate-mapping package="id.co.hanoman.service.config">
  4. <class name="DevTellerMap" table="dev_teller_map" lazy="false" >
  5. <id name="id" column="id" type="long">
  6. <generator class="native" />
  7. </id>
  8. <property name="group" column="group" type="string" not-null="true" length="64" />
  9. <property name="deviceId" column="device_id" type="string" not-null="true" length="256" />
  10. <property name="deviceName" column="device_name" type="string" not-null="true" length="256" />
  11. <property name="terminalId" column="terminal_id" type="string" not-null="true" length="256" />
  12. <property name="terminalIp" column="terminal_ip" type="string" not-null="true" length="256" />
  13. <property name="tellerId" column="teller_id" type="string" not-null="true" length="256" />
  14. <property name="ctrlUnitId" column="ctrl_unit_id" type="string" not-null="true" length="256" />
  15. <property name="modifiedBy" column="modified_by" type="string" not-null="true" length="64" />
  16. <property name="timestamp" column="timestamp" type="java.util.Calendar" not-null="true" />
  17. </class>
  18. </hibernate-mapping>