Tool.hbm.xml 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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.tool.Tool" table="tool">
  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="toolnum" type="java.lang.String">
  14. <column name="TOOLNUM" length="30" not-null="true" />
  15. </property>
  16. <property name="description" type="java.lang.String">
  17. <column name="DESCRIPTION" length="100" not-null="true" />
  18. </property>
  19. <property name="owdept" type="java.lang.String">
  20. <column name="OWDEPT" length="18" />
  21. </property>
  22. <property name="craft" type="java.lang.String">
  23. <column name="CRAFT" length="18" />
  24. </property>
  25. <property name="crewid" type="java.lang.String">
  26. <column name="CREWID" length="18" />
  27. </property>
  28. <property name="qty" type="java.lang.Long">
  29. <column name="QTY" length="22" not-null="true" />
  30. </property>
  31. <property name="toolrate" type="java.lang.Double">
  32. <column name="TOOLRATE" length="10" not-null="true" />
  33. </property>
  34. <property name="outside" type="java.lang.String">
  35. <column name="OUTSIDE" length="1" not-null="true" />
  36. </property>
  37. <property name="glaccount" type="java.lang.String">
  38. <column name="GLACCOUNT" length="20" />
  39. </property>
  40. <property name="vendor" type="java.lang.String">
  41. <column name="VENDOR" length="18" />
  42. </property>
  43. <property name="disabled" type="java.lang.String">
  44. <column name="DISABLED" length="1" not-null="true" />
  45. </property>
  46. <property name="classid" type="java.lang.String">
  47. <column name="CLASSID" length="36" not-null="true" />
  48. </property>
  49. <property name="frequency" type="java.lang.Long">
  50. <column name="FREQUENCY" length="22" />
  51. </property>
  52. <property name="frequnit" type="java.lang.String">
  53. <column name="FREQUNIT" length="22" />
  54. </property>
  55. <property name="usefrequency" type="java.lang.String">
  56. <column name="USEFREQUENCY" length="22" />
  57. </property>
  58. <property name="starttime" type="java.util.Date">
  59. <column name="STARTTIME" length="0" />
  60. </property>
  61. <property name="sitenum" type="java.lang.String">
  62. <column name="SITENUM" length="18" />
  63. </property>
  64. <property name="corpnum" type="java.lang.String">
  65. <column name="CORPNUM" length="18" not-null="true" />
  66. </property>
  67. <property name="issend" type="java.lang.String">
  68. <column name="ISSEND" length="10" />
  69. </property>
  70. <property name="aheaddays" type="java.lang.Long">
  71. <column name="AHEADDAYS" length="22" />
  72. </property>
  73. <property name="reclist" type="java.lang.String">
  74. <column name="RECLIST" length="200" />
  75. </property>
  76. <property name="usemsg" type="java.lang.String">
  77. <column name="USEMSG" length="22" />
  78. </property>
  79. <property name="useemail" type="java.lang.String">
  80. <column name="USEEMAIL" length="22" />
  81. </property>
  82. <property name="status" type="java.lang.String">
  83. <column name="STATUS" length="100" />
  84. </property>
  85. <property name="statusdate" type="java.util.Date">
  86. <column name="STATUSDATE" length="0" />
  87. </property>
  88. <property name="remark" type="java.lang.String">
  89. <column name="REMARK" length="2000" />
  90. </property>
  91. </class>
  92. </hibernate-mapping>