Safetysubmanagesub.hbm.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.safty.Safetysubmanagesub" table="safetysubmanagesub">
  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="code" type="java.lang.String">
  14. <column name="CODE" length="50" not-null="true" />
  15. </property>
  16. <property name="completiondate1" type="java.util.Date">
  17. <column name="COMPLETIONDATE1" length="0" />
  18. </property>
  19. <property name="completiondate2" type="java.util.Date">
  20. <column name="COMPLETIONDATE2" length="0" />
  21. </property>
  22. <property name="equipment" type="java.lang.String">
  23. <column name="EQUIPMENT" length="50" />
  24. </property>
  25. <property name="equipmentname" type="java.lang.String">
  26. <column name="EQUIPMENTNAME" length="50" />
  27. </property>
  28. <property name="executors" type="java.lang.String">
  29. <column name="EXECUTORS" length="50" />
  30. </property>
  31. <property name="num" type="java.lang.Long">
  32. <column name="NUM" length="22" />
  33. </property>
  34. <property name="problem" type="java.lang.String">
  35. <column name="PROBLEM" length="500" />
  36. </property>
  37. <property name="project" type="java.lang.String">
  38. <column name="PROJECT" length="500" />
  39. </property>
  40. <property name="remark" type="java.lang.String">
  41. <column name="REMARK" length="500" />
  42. </property>
  43. </class>
  44. </hibernate-mapping>