Ajdamage.hbm.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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.Ajdamage" table="ajdamage">
  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="damnum" type="java.lang.String">
  20. <column name="DAMNUM" length="10" />
  21. </property>
  22. <property name="slipnum" type="java.lang.String">
  23. <column name="SLIPNUM" length="11" />
  24. </property>
  25. <property name="dept" type="java.lang.String">
  26. <column name="DEPT" length="10" />
  27. </property>
  28. <property name="crew" type="java.lang.String">
  29. <column name="CREW" length="10" />
  30. </property>
  31. <property name="fillpeople" type="java.lang.String">
  32. <column name="FILLPEOPLE" length="18" />
  33. </property>
  34. <property name="filldate" type="java.util.Date">
  35. <column name="FILLDATE" length="0" />
  36. </property>
  37. <property name="slipsimplequess" type="java.lang.String">
  38. <column name="SLIPSIMPLEQUESS" length="80" />
  39. </property>
  40. <property name="slipstarttime" type="java.util.Date">
  41. <column name="SLIPSTARTTIME" length="0" />
  42. </property>
  43. <property name="slipproperty" type="java.lang.String">
  44. <column name="SLIPPROPERTY" length="10" />
  45. </property>
  46. <property name="sliptype" type="java.lang.String">
  47. <column name="SLIPTYPE" length="10" />
  48. </property>
  49. <property name="slipvest" type="java.lang.String">
  50. <column name="SLIPVEST" length="10" />
  51. </property>
  52. <property name="saftyannal" type="java.lang.String">
  53. <column name="SAFTYANNAL" length="10" />
  54. </property>
  55. <property name="name" type="java.lang.String">
  56. <column name="NAME" length="10" />
  57. </property>
  58. <property name="sex" type="java.lang.String">
  59. <column name="SEX" length="2" />
  60. </property>
  61. <property name="age" type="java.lang.Long">
  62. <column name="AGE" length="4" />
  63. </property>
  64. <property name="lengthofsrv" type="java.lang.Long">
  65. <column name="LENGTHOFSRV" length="4" />
  66. </property>
  67. <property name="typeofwork" type="java.lang.String">
  68. <column name="TYPEOFWORK" length="10" />
  69. </property>
  70. <property name="worksrc" type="java.lang.Long">
  71. <column name="WORKSRC" length="4" />
  72. </property>
  73. <property name="worktype" type="java.lang.String">
  74. <column name="WORKTYPE" length="10" />
  75. </property>
  76. <property name="hasillness" type="java.lang.String">
  77. <column name="HASILLNESS" length="2" />
  78. </property>
  79. <property name="degree" type="java.lang.String">
  80. <column name="DEGREE" length="10" />
  81. </property>
  82. <property name="rescue" type="java.lang.String">
  83. <column name="RESCUE" length="6" />
  84. </property>
  85. <property name="bruisepart" type="java.lang.String">
  86. <column name="BRUISEPART" length="20" />
  87. </property>
  88. <property name="lossday" type="java.lang.Long">
  89. <column name="LOSSDAY" length="4" />
  90. </property>
  91. <property name="losseconomy" type="java.lang.Double">
  92. <column name="LOSSECONOMY" length="8" />
  93. </property>
  94. <property name="denbusstype" type="java.lang.String">
  95. <column name="DENBUSSTYPE" length="10" />
  96. </property>
  97. <property name="origingoods" type="java.lang.String">
  98. <column name="ORIGINGOODS" length="10" />
  99. </property>
  100. <property name="banefullygoods" type="java.lang.String">
  101. <column name="BANEFULLYGOODS" length="10" />
  102. </property>
  103. <property name="eletype" type="java.lang.String">
  104. <column name="ELETYPE" length="10" />
  105. </property>
  106. <property name="elepressure" type="java.lang.String">
  107. <column name="ELEPRESSURE" length="10" />
  108. </property>
  109. <property name="weather" type="java.lang.String">
  110. <column name="WEATHER" length="10" />
  111. </property>
  112. <property name="temperature" type="java.lang.Long">
  113. <column name="TEMPERATURE" length="4" />
  114. </property>
  115. <property name="hasaccess" type="java.lang.String">
  116. <column name="HASACCESS" length="2" />
  117. </property>
  118. <property name="typenum" type="java.lang.String">
  119. <column name="TYPENUM" length="10" />
  120. </property>
  121. <property name="slipcourse" type="java.lang.String">
  122. <column name="SLIPCOURSE" length="600" />
  123. </property>
  124. <property name="quess" type="java.lang.String">
  125. <column name="QUESS" length="600" />
  126. </property>
  127. <property name="relation" type="java.lang.String">
  128. <column name="RELATION" length="10" />
  129. </property>
  130. <property name="economytype" type="java.lang.String">
  131. <column name="ECONOMYTYPE" length="10" />
  132. </property>
  133. <property name="status" type="java.lang.String">
  134. <column name="STATUS" length="50" />
  135. </property>
  136. <property name="statusdate" type="java.util.Date">
  137. <column name="STATUSDATE" length="0" />
  138. </property>
  139. </class>
  140. </hibernate-mapping>