NhBiller.hbm.xml 733 B

1234567891011121314151617
  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.ePayment">
  4. <class name="NhBiller" table="nh_biller" lazy="false" >
  5. <id name="code" column="code" type="string" length="50" />
  6. <property name="name" column="name" type="string" length="225" not-null="true" />
  7. <many-to-one name="billerCategory" column="biller_category" class="NhBillerCategory" not-null="true" />
  8. <bag name="billerReports" table="nh_biller_report">
  9. <key column="biller_code" />
  10. <many-to-many column="report" class="NhReport" />
  11. </bag>
  12. </class>
  13. </hibernate-mapping>