Opticket.hbm.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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.opticket.Opticket" table="opticket">
  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="tknum" type="java.lang.String">
  14. <column name="TKNUM" length="18" 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" />
  21. </property>
  22. <property name="eqnum" type="java.lang.String">
  23. <column name="EQNUM" length="30" />
  24. </property>
  25. <property name="oplabor" type="java.lang.String">
  26. <column name="OPLABOR" length="18" />
  27. </property>
  28. <property name="checkby" type="java.lang.String">
  29. <column name="CHECKBY" length="18" />
  30. </property>
  31. <property name="permitter" type="java.lang.String">
  32. <column name="PERMITTER" length="18" />
  33. </property>
  34. <property name="enterby" type="java.lang.String">
  35. <column name="ENTERBY" length="18" />
  36. </property>
  37. <property name="startdate" type="java.util.Date">
  38. <column name="STARTDATE" length="0" />
  39. </property>
  40. <property name="enddate" type="java.util.Date">
  41. <column name="ENDDATE" length="0" />
  42. </property>
  43. <property name="isstd" type="java.lang.String">
  44. <column name="ISSTD" length="1" />
  45. </property>
  46. <property name="stdticket" type="java.lang.String">
  47. <column name="STDTICKET" length="12" />
  48. </property>
  49. <property name="ticktype" type="java.lang.String">
  50. <column name="TICKTYPE" length="12" />
  51. </property>
  52. <property name="crewid" type="java.lang.String">
  53. <column name="CREWID" length="12" />
  54. </property>
  55. <property name="shiftnum" type="java.lang.String">
  56. <column name="SHIFTNUM" length="12" />
  57. </property>
  58. <property name="remark" type="java.lang.String">
  59. <column name="REMARK" length="100" />
  60. </property>
  61. <property name="outdate" type="java.util.Date">
  62. <column name="OUTDATE" length="7" />
  63. </property>
  64. <property name="opertype" type="java.lang.String">
  65. <column name="OPERTYPE" length="100" />
  66. </property>
  67. <property name="prinuser" type="java.lang.String">
  68. <column name="PRINUSER" length="18" />
  69. </property>
  70. <property name="turnnum" type="java.lang.String">
  71. <column name="TURNNUM" length="18" />
  72. </property>
  73. <property name="leader" type="java.lang.String">
  74. <column name="LEADER" length="18" />
  75. </property>
  76. <property name="dispatchnum" type="java.lang.String">
  77. <column name="DISPATCHNUM" length="18" />
  78. </property>
  79. <property name="disnumdescrip" type="java.lang.String">
  80. <column name="DISNUMDESCRIP" length="200" />
  81. </property>
  82. <property name="status" type="java.lang.String">
  83. <column name="STATUS" length="18" />
  84. </property>
  85. <property name="statusdate" type="java.util.Date">
  86. <column name="STATUSDATE" length="0" />
  87. </property>
  88. <property name="ticketstatus" type="java.lang.String">
  89. <column name="TICKETSTATUS" length="20" />
  90. </property>
  91. <property name="checkstate" type="java.lang.String">
  92. <column name="CHECKSTATE" length="30" />
  93. </property>
  94. <property name="checkdate" type="java.util.Date">
  95. <column name="CHECKDATE" length="0" />
  96. </property>
  97. <property name="checkperson" type="java.lang.String">
  98. <column name="CHECKPERSON" length="30" />
  99. </property>
  100. <property name="checkquestion" type="java.lang.String">
  101. <column name="CHECKQUESTION" length="2000" />
  102. </property>
  103. <property name="sitenum" type="java.lang.String">
  104. <column name="SITENUM" length="18" />
  105. </property>
  106. <property name="corpnum" type="java.lang.String">
  107. <column name="CORPNUM" length="18" not-null="true" />
  108. </property>
  109. <property name="permittername" type="java.lang.String">
  110. <column name="PERMITTERNAME" length="25" />
  111. </property>
  112. <property name="enterbyname" type="java.lang.String">
  113. <column name="ENTERBYNAME" length="25" />
  114. </property>
  115. <property name="oplaborname" type="java.lang.String">
  116. <column name="OPLABORNAME" length="25" />
  117. </property>
  118. <property name="checkbyname" type="java.lang.String">
  119. <column name="CHECKBYNAME" length="25" />
  120. </property>
  121. <property name="checkpersonname" type="java.lang.String">
  122. <column name="CHECKPERSONNAME" length="25" />
  123. </property>
  124. <property name="otnum" type="java.lang.String">
  125. <column name="OTNUM" length="20" />
  126. </property>
  127. </class>
  128. </hibernate-mapping>