Trainingplan.hbm.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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.running.Trainingplan" table="trainingplan">
  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="num" type="java.lang.String">
  14. <column name="NUM" length="18" not-null="true" />
  15. </property>
  16. <property name="status" type="java.lang.String">
  17. <column name="STATUS" length="18" />
  18. </property>
  19. <property name="statusdate" type="java.util.Date">
  20. <column name="STATUSDATE" length="0" />
  21. </property>
  22. <property name="trainingdate" type="java.util.Date">
  23. <column name="TRAININGDATE" length="0" />
  24. </property>
  25. <property name="trainingplace" type="java.lang.String">
  26. <column name="TRAININGPLACE" length="500" />
  27. </property>
  28. <property name="trainingmethod" type="java.lang.String">
  29. <column name="TRAININGMETHOD" length="100" />
  30. </property>
  31. <property name="speaker" type="java.lang.String">
  32. <column name="SPEAKER" length="18" />
  33. </property>
  34. <property name="recordman" type="java.lang.String">
  35. <column name="RECORDMAN" length="18" />
  36. </property>
  37. <property name="department" type="java.lang.String">
  38. <column name="DEPARTMENT" length="50" />
  39. </property>
  40. <property name="trainingsubject" type="java.lang.String">
  41. <column name="TRAININGSUBJECT" length="1000" />
  42. </property>
  43. <property name="trainingobject" type="java.lang.String">
  44. <column name="TRAININGOBJECT" length="500" />
  45. </property>
  46. <property name="trainingcontent" type="java.lang.String">
  47. <column name="TRAININGCONTENT" length="2000" />
  48. </property>
  49. <property name="period" type="java.lang.Long">
  50. <column name="PERIOD" length="22" />
  51. </property>
  52. <property name="cost" type="java.lang.Double">
  53. <column name="COST" length="15" />
  54. </property>
  55. <property name="approveman" type="java.lang.String">
  56. <column name="APPROVEMAN" length="18" />
  57. </property>
  58. <property name="remark" type="java.lang.String">
  59. <column name="REMARK" length="1000" />
  60. </property>
  61. <property name="bak1" type="java.lang.String">
  62. <column name="BAK1" length="200" />
  63. </property>
  64. <property name="bak2" type="java.lang.String">
  65. <column name="BAK2" length="200" />
  66. </property>
  67. <property name="bak3" type="java.lang.String">
  68. <column name="BAK3" length="200" />
  69. </property>
  70. <property name="sitenum" type="java.lang.String">
  71. <column name="SITENUM" length="18" />
  72. </property>
  73. <property name="corpnum" type="java.lang.String">
  74. <column name="CORPNUM" length="18" not-null="true" />
  75. </property>
  76. </class>
  77. </hibernate-mapping>