Riskprec.hbm.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0"?>
  2. <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  3. "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
  4. <!--
  5. Mapping file autogenerated by MyEclipse - Hibernate Tools
  6. -->
  7. <hibernate-mapping>
  8. <class name="inbasis.domain.riskprec.Riskprec" table="riskprec">
  9. <id name="id" type="java.lang.Long">
  10. <column name="ID" precision="22" scale="0" />
  11. <generator class="assigned" />
  12. </id>
  13. <property name="rsnum" type="java.lang.String">
  14. <column name="RSNUM" length="20" />
  15. </property>
  16. <property name="addtime" type="java.util.Date">
  17. <column name="ADDTIME" length="0" />
  18. </property>
  19. <property name="serialnum" type="java.lang.Long">
  20. <column name="SERIALNUM" length="22" />
  21. </property>
  22. <property name="describe" type="java.lang.String">
  23. <column name="DESCRIBE" length="800" />
  24. </property>
  25. <property name="principal" type="java.lang.String">
  26. <column name="PRINCIPAL" length="50" />
  27. </property>
  28. <property name="title" type="java.lang.String">
  29. <column name="TITLE" length="100" />
  30. </property>
  31. <property name="likelihood" type="java.lang.Double">
  32. <column name="LIKELIHOOD" length="15" />
  33. </property>
  34. <property name="danger" type="java.lang.Double">
  35. <column name="DANGER" length="15" />
  36. </property>
  37. <property name="consequence" type="java.lang.Double">
  38. <column name="CONSEQUENCE" length="15" />
  39. </property>
  40. <property name="exposure" type="java.lang.Double">
  41. <column name="EXPOSURE" length="15" />
  42. </property>
  43. <property name="riskgrade" type="java.lang.String">
  44. <column name="RISKGRADE" length="20" />
  45. </property>
  46. <property name="describe2" type="java.lang.String">
  47. <column name="DESCRIBE2" length="800" />
  48. </property>
  49. </class>
  50. </hibernate-mapping>