Preventivetestmain.hbm.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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.pm.Preventivetestmain" table="preventivetestmain">
  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="abridge" type="java.lang.String">
  14. <column name="ABRIDGE" length="50" />
  15. </property>
  16. <property name="confirmpeople" type="java.lang.String">
  17. <column name="CONFIRMPEOPLE" length="50" />
  18. </property>
  19. <property name="corpnum" type="java.lang.String">
  20. <column name="CORPNUM" length="18" not-null="true" />
  21. </property>
  22. <property name="humidity" type="java.lang.Double">
  23. <column name="HUMIDITY" length="15" />
  24. </property>
  25. <property name="num" type="java.lang.String">
  26. <column name="NUM" length="50" not-null="true" />
  27. </property>
  28. <property name="outsourcingunit" type="java.lang.String">
  29. <column name="OUTSOURCINGUNIT" length="50" />
  30. </property>
  31. <property name="remark" type="java.lang.String">
  32. <column name="REMARK" length="500" />
  33. </property>
  34. <property name="sitenum" type="java.lang.String">
  35. <column name="SITENUM" length="18" />
  36. </property>
  37. <property name="status" type="java.lang.String">
  38. <column name="STATUS" length="50" />
  39. </property>
  40. <property name="statusdate" type="java.util.Date">
  41. <column name="STATUSDATE" length="0" />
  42. </property>
  43. <property name="temperature" type="java.lang.Double">
  44. <column name="TEMPERATURE" length="15" />
  45. </property>
  46. <property name="testdate" type="java.util.Date">
  47. <column name="TESTDATE" length="0" />
  48. </property>
  49. <property name="testone" type="java.lang.String">
  50. <column name="TESTONE" length="50" />
  51. </property>
  52. <property name="weather" type="java.lang.String">
  53. <column name="WEATHER" length="50" />
  54. </property>
  55. <property name="windfarm" type="java.lang.String">
  56. <column name="WINDFARM" length="50" />
  57. </property>
  58. </class>
  59. </hibernate-mapping>