Masterkey.hbm.xml 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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.Masterkey" table="masterkey">
  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="sitenum" type="java.lang.String">
  14. <column name="SITENUM" length="18" />
  15. </property>
  16. <property name="corpnum" type="java.lang.String">
  17. <column name="CORPNUM" length="18" not-null="true" />
  18. </property>
  19. <property name="num" type="java.lang.String">
  20. <column name="NUM" length="18" not-null="true" />
  21. </property>
  22. <property name="name" type="java.lang.String">
  23. <column name="NAME" length="50" not-null="true" />
  24. </property>
  25. <property name="worktask" type="java.lang.String">
  26. <column name="WORKTASK" length="500" />
  27. </property>
  28. <property name="location" type="java.lang.String">
  29. <column name="LOCATION" length="50" />
  30. </property>
  31. <property name="eqnum" type="java.lang.String">
  32. <column name="EQNUM" length="50" />
  33. </property>
  34. <property name="description1" type="java.lang.String">
  35. <column name="DESCRIPTION1" length="100" />
  36. </property>
  37. <property name="description2" type="java.lang.String">
  38. <column name="DESCRIPTION2" length="100" />
  39. </property>
  40. <property name="employer" type="java.lang.String">
  41. <column name="EMPLOYER" length="18" not-null="true" />
  42. </property>
  43. <property name="reason" type="java.lang.String">
  44. <column name="REASON" length="500" />
  45. </property>
  46. <property name="ratifyman" type="java.lang.String">
  47. <column name="RATIFYMAN" length="18" />
  48. </property>
  49. <property name="status" type="java.lang.String">
  50. <column name="STATUS" length="50" />
  51. </property>
  52. <property name="statusdate" type="java.util.Date">
  53. <column name="STATUSDATE" length="0" />
  54. </property>
  55. <property name="applydept" type="java.lang.String">
  56. <column name="APPLYDEPT" length="50" not-null="true" />
  57. </property>
  58. <property name="applyer" type="java.lang.String">
  59. <column name="APPLYER" length="18" not-null="true" />
  60. </property>
  61. <property name="startdate" type="java.util.Date">
  62. <column name="STARTDATE" length="0" not-null="true" />
  63. </property>
  64. <property name="enddate" type="java.util.Date">
  65. <column name="ENDDATE" length="0" not-null="true" />
  66. </property>
  67. <property name="operateitem" type="java.lang.String">
  68. <column name="OPERATEITEM" length="1000" not-null="true" />
  69. </property>
  70. <property name="safenotice" type="java.lang.String">
  71. <column name="SAFENOTICE" length="500" />
  72. </property>
  73. <property name="principalview" type="java.lang.String">
  74. <column name="PRINCIPALVIEW" length="500" not-null="true" />
  75. </property>
  76. <property name="guardian" type="java.lang.String">
  77. <column name="GUARDIAN" length="18" />
  78. </property>
  79. <property name="guardian1" type="java.lang.String">
  80. <column name="GUARDIAN1" length="18" />
  81. </property>
  82. <property name="erroraffirm" type="java.lang.String">
  83. <column name="ERRORAFFIRM" length="18" />
  84. </property>
  85. <property name="supervisor" type="java.lang.String">
  86. <column name="SUPERVISOR" length="18" />
  87. </property>
  88. <property name="lenddate" type="java.util.Date">
  89. <column name="LENDDATE" length="0" />
  90. </property>
  91. <property name="returndate" type="java.util.Date">
  92. <column name="RETURNDATE" length="0" />
  93. </property>
  94. <property name="errorinfo" type="java.lang.String">
  95. <column name="ERRORINFO" length="1000" />
  96. </property>
  97. </class>
  98. </hibernate-mapping>