Equipment.hbm.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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.equipment.Equipment" table="equipment">
  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="eqnum" type="java.lang.String">
  14. <column name="EQNUM" length="30" not-null="true" />
  15. </property>
  16. <property name="description" type="java.lang.String">
  17. <column name="DESCRIPTION" length="100" />
  18. </property>
  19. <property name="location" type="java.lang.String">
  20. <column name="LOCATION" length="30" not-null="true" />
  21. </property>
  22. <property name="serialnum" type="java.lang.String">
  23. <column name="SERIALNUM" length="50" />
  24. </property>
  25. <property name="assetnum" type="java.lang.String">
  26. <column name="ASSETNUM" length="15" />
  27. </property>
  28. <property name="status" type="java.lang.String">
  29. <column name="STATUS" length="18" />
  30. </property>
  31. <property name="statusdate" type="java.util.Date">
  32. <column name="STATUSDATE" length="7" />
  33. </property>
  34. <property name="vendor" type="java.lang.String">
  35. <column name="VENDOR" length="8" />
  36. </property>
  37. <property name="failurecode" type="java.lang.String">
  38. <column name="FAILURECODE" length="8" />
  39. </property>
  40. <property name="manufacturer" type="java.lang.String">
  41. <column name="MANUFACTURER" length="18" />
  42. </property>
  43. <property name="purprice" type="java.lang.Double">
  44. <column name="PURPRICE" length="10" not-null="true" />
  45. </property>
  46. <property name="installdate" type="java.util.Date">
  47. <column name="INSTALLDATE" length="7" />
  48. </property>
  49. <property name="warrantyexpdate" type="java.util.Date">
  50. <column name="WARRANTYEXPDATE" length="7" />
  51. </property>
  52. <property name="totalcost" type="java.lang.Double">
  53. <column name="TOTALCOST" length="10" not-null="true" />
  54. </property>
  55. <property name="ytdcost" type="java.lang.Double">
  56. <column name="YTDCOST" length="10" not-null="true" />
  57. </property>
  58. <property name="budgetcost" type="java.lang.Double">
  59. <column name="BUDGETCOST" length="10" not-null="true" />
  60. </property>
  61. <property name="classid" type="java.lang.String">
  62. <column name="CLASSID" length="36" />
  63. </property>
  64. <property name="isrunning" type="java.lang.String">
  65. <column name="ISRUNNING" length="1" not-null="true" />
  66. </property>
  67. <property name="itemnum" type="java.lang.String">
  68. <column name="ITEMNUM" length="30" />
  69. </property>
  70. <property name="totdowntime" type="java.lang.Double">
  71. <column name="TOTDOWNTIME" length="20" not-null="true" />
  72. </property>
  73. <property name="changedate" type="java.util.Date">
  74. <column name="CHANGEDATE" length="7" not-null="true" />
  75. </property>
  76. <property name="changeby" type="java.lang.String">
  77. <column name="CHANGEBY" length="18" not-null="true" />
  78. </property>
  79. <property name="priority" type="java.lang.Long">
  80. <column name="PRIORITY" length="22" />
  81. </property>
  82. <property name="invcost" type="java.lang.Double">
  83. <column name="INVCOST" length="10" not-null="true" />
  84. </property>
  85. <property name="deptnum" type="java.lang.String">
  86. <column name="DEPTNUM" length="18" />
  87. </property>
  88. <property name="binnum" type="java.lang.String">
  89. <column name="BINNUM" length="8" />
  90. </property>
  91. <property name="parent" type="java.lang.String">
  92. <column name="PARENT" length="30" />
  93. </property>
  94. <property name="lfdate" type="java.util.Date">
  95. <column name="LFDATE" length="20" />
  96. </property>
  97. <property name="grade" type="java.lang.String">
  98. <column name="GRADE" length="10" />
  99. </property>
  100. <property name="rundate" type="java.util.Date">
  101. <column name="RUNDATE" length="20" />
  102. </property>
  103. <property name="runnumber" type="java.lang.String">
  104. <column name="RUNNUMBER" length="30" />
  105. </property>
  106. <property name="construct" type="java.lang.String">
  107. <column name="CONSTRUCT" length="100" />
  108. </property>
  109. <property name="model" type="java.lang.String">
  110. <column name="MODEL" length="200" />
  111. </property>
  112. <property name="lfnumber" type="java.lang.String">
  113. <column name="LFNUMBER" length="30" />
  114. </property>
  115. <property name="lfserial" type="java.lang.String">
  116. <column name="LFSERIAL" length="30" />
  117. </property>
  118. <property name="stockcost" type="java.lang.Double">
  119. <column name="STOCKCOST" length="10" />
  120. </property>
  121. <property name="largetype" type="java.lang.String">
  122. <column name="LARGETYPE" length="100" />
  123. </property>
  124. <property name="serial" type="java.lang.String">
  125. <column name="SERIAL" length="30" />
  126. </property>
  127. <property name="labornum" type="java.lang.String">
  128. <column name="LABORNUM" length="18" />
  129. </property>
  130. <property name="planyears" type="java.lang.Long">
  131. <column name="PLANYEARS" length="22" />
  132. </property>
  133. <property name="appertain" type="java.lang.String">
  134. <column name="APPERTAIN" length="5" />
  135. </property>
  136. <property name="cntnum" type="java.lang.String">
  137. <column name="CNTNUM" length="50" />
  138. </property>
  139. <property name="currency" type="java.lang.String">
  140. <column name="CURRENCY" length="20" />
  141. </property>
  142. <property name="project" type="java.lang.String">
  143. <column name="PROJECT" length="50" />
  144. </property>
  145. <property name="rate" type="java.lang.Double">
  146. <column name="RATE" length="15" />
  147. </property>
  148. <property name="lotnum" type="java.lang.String">
  149. <column name="LOTNUM" length="50" />
  150. </property>
  151. <property name="calnum" type="java.lang.String">
  152. <column name="CALNUM" length="8" />
  153. </property>
  154. <property name="shiftnum" type="java.lang.String">
  155. <column name="SHIFTNUM" length="12" />
  156. </property>
  157. <property name="sitenum" type="java.lang.String">
  158. <column name="SITENUM" length="18" />
  159. </property>
  160. <property name="corpnum" type="java.lang.String">
  161. <column name="CORPNUM" length="18" not-null="true" />
  162. </property>
  163. <property name="changereason" type="java.lang.String">
  164. <column name="CHANGEREASON" length="200" />
  165. </property>
  166. </class>
  167. </hibernate-mapping>