Prline.hbm.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.pr.Prline" table="prline">
  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="prnum" type="java.lang.String">
  14. <column name="PRNUM" length="18" not-null="true" />
  15. </property>
  16. <property name="prlinenum" type="java.lang.Long">
  17. <column name="PRLINENUM" length="22" not-null="true" />
  18. </property>
  19. <property name="itemnum" type="java.lang.String">
  20. <column name="ITEMNUM" length="30" not-null="true" />
  21. </property>
  22. <property name="description" type="java.lang.String">
  23. <column name="DESCRIPTION" length="100" />
  24. </property>
  25. <property name="warehouse" type="java.lang.String">
  26. <column name="WAREHOUSE" length="18" />
  27. </property>
  28. <property name="orderqty" type="java.lang.Double">
  29. <column name="ORDERQTY" length="15" not-null="true" />
  30. </property>
  31. <property name="orderunit" type="java.lang.String">
  32. <column name="ORDERUNIT" length="8" not-null="true" />
  33. </property>
  34. <property name="conversion" type="java.lang.Double">
  35. <column name="CONVERSION" length="15" />
  36. </property>
  37. <property name="unitcost" type="java.lang.Double">
  38. <column name="UNITCOST" length="14" not-null="true" />
  39. </property>
  40. <property name="linecost" type="java.lang.Double">
  41. <column name="LINECOST" length="14" not-null="true" />
  42. </property>
  43. <property name="reqdeliverydate" type="java.util.Date">
  44. <column name="REQDELIVERYDATE" length="7" />
  45. </property>
  46. <property name="vendeliverydate" type="java.util.Date">
  47. <column name="VENDELIVERYDATE" length="7" />
  48. </property>
  49. <property name="enterdate" type="java.util.Date">
  50. <column name="ENTERDATE" length="7" not-null="true" />
  51. </property>
  52. <property name="enterby" type="java.lang.String">
  53. <column name="ENTERBY" length="18" not-null="true" />
  54. </property>
  55. <property name="requestedby" type="java.lang.String">
  56. <column name="REQUESTEDBY" length="18" />
  57. </property>
  58. <property name="manufacturer" type="java.lang.String">
  59. <column name="MANUFACTURER" length="18" />
  60. </property>
  61. <property name="modelnum" type="java.lang.String">
  62. <column name="MODELNUM" length="30" />
  63. </property>
  64. <property name="ponum" type="java.lang.String">
  65. <column name="PONUM" length="18" />
  66. </property>
  67. <property name="polinenum" type="java.lang.Long">
  68. <column name="POLINENUM" length="22" />
  69. </property>
  70. <property name="stocktype" type="java.lang.String">
  71. <column name="STOCKTYPE" length="8" />
  72. </property>
  73. <property name="remark" type="java.lang.String">
  74. <column name="REMARK" length="100" />
  75. </property>
  76. <property name="isservice" type="java.lang.String">
  77. <column name="ISSERVICE" length="1" not-null="true" />
  78. </property>
  79. <property name="loadedcost" type="java.lang.Double">
  80. <column name="LOADEDCOST" length="14" not-null="true" />
  81. </property>
  82. <property name="prorateservice" type="java.lang.String">
  83. <column name="PRORATESERVICE" length="1" not-null="true" />
  84. </property>
  85. <property name="rfqnum" type="java.lang.String">
  86. <column name="RFQNUM" length="18" />
  87. </property>
  88. <property name="rfqlinenum" type="java.lang.Long">
  89. <column name="RFQLINENUM" length="22" />
  90. </property>
  91. <property name="inspection" type="java.lang.String">
  92. <column name="INSPECTION" length="1" not-null="true" />
  93. </property>
  94. <property name="location" type="java.lang.String">
  95. <column name="LOCATION" length="30" />
  96. </property>
  97. <property name="eqnum" type="java.lang.String">
  98. <column name="EQNUM" length="30" />
  99. </property>
  100. <property name="wonum" type="java.lang.String">
  101. <column name="WONUM" length="50" />
  102. </property>
  103. <property name="tasknum" type="java.lang.String">
  104. <column name="TASKNUM" length="10" />
  105. </property>
  106. <property name="toprlinenum" type="java.lang.Long">
  107. <column name="TOPRLINENUM" length="22" />
  108. </property>
  109. <property name="toprnum" type="java.lang.String">
  110. <column name="TOPRNUM" length="18" />
  111. </property>
  112. <property name="buditem" type="java.lang.String">
  113. <column name="BUDITEM" length="18" />
  114. </property>
  115. <property name="budnum" type="java.lang.String">
  116. <column name="BUDNUM" length="18" />
  117. </property>
  118. </class>
  119. </hibernate-mapping>