Contline.hbm.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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.contract.Contline" table="contline">
  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="cntnum" type="java.lang.String">
  14. <column name="CNTNUM" length="30" not-null="true" />
  15. </property>
  16. <property name="linenum" type="java.lang.Long">
  17. <column name="LINENUM" length="22" not-null="true" unique="true" />
  18. </property>
  19. <property name="itemnum" type="java.lang.String">
  20. <column name="ITEMNUM" length="30" />
  21. </property>
  22. <property name="description" type="java.lang.String">
  23. <column name="DESCRIPTION" length="100" unique="true" />
  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" />
  30. </property>
  31. <property name="orderunit" type="java.lang.String">
  32. <column name="ORDERUNIT" length="8" unique="true" />
  33. </property>
  34. <property name="conversion" type="java.lang.Double">
  35. <column name="CONVERSION" length="15" not-null="true" />
  36. </property>
  37. <property name="unitcost" type="java.lang.Double">
  38. <column name="UNITCOST" length="14" unique="true" />
  39. </property>
  40. <property name="taxunitcost" type="java.lang.Double">
  41. <column name="TAXUNITCOST" length="14" unique="true" />
  42. </property>
  43. <property name="linecost" type="java.lang.Double">
  44. <column name="LINECOST" length="14" unique="true" />
  45. </property>
  46. <property name="taxlinecost" type="java.lang.Double">
  47. <column name="TAXLINECOST" length="14" not-null="true" unique="true" />
  48. </property>
  49. <property name="receivedqty" type="java.lang.Double">
  50. <column name="RECEIVEDQTY" length="15" />
  51. </property>
  52. <property name="receivedunitcost" type="java.lang.Double">
  53. <column name="RECEIVEDUNITCOST" length="14" />
  54. </property>
  55. <property name="receivedtotalcost" type="java.lang.Double">
  56. <column name="RECEIVEDTOTALCOST" length="14" unique="true" />
  57. </property>
  58. <property name="taxcode" type="java.lang.String">
  59. <column name="TAXCODE" length="8" unique="true" />
  60. </property>
  61. <property name="taxrate" type="java.lang.Double">
  62. <column name="TAXRATE" length="10" />
  63. </property>
  64. <property name="tax" type="java.lang.Double">
  65. <column name="TAX" length="18" unique="true" />
  66. </property>
  67. <property name="rejectedqty" type="java.lang.Double">
  68. <column name="REJECTEDQTY" length="15" not-null="true" unique="true" />
  69. </property>
  70. <property name="vendeliverydate" type="java.util.Date">
  71. <column name="VENDELIVERYDATE" length="0" />
  72. </property>
  73. <property name="enterdate" type="java.util.Date">
  74. <column name="ENTERDATE" length="0" not-null="true" />
  75. </property>
  76. <property name="enterby" type="java.lang.String">
  77. <column name="ENTERBY" length="18" not-null="true" />
  78. </property>
  79. <property name="requestedby" type="java.lang.String">
  80. <column name="REQUESTEDBY" length="18" />
  81. </property>
  82. <property name="reqdeliverydate" type="java.util.Date">
  83. <column name="REQDELIVERYDATE" length="0" />
  84. </property>
  85. <property name="manufacturer" type="java.lang.String">
  86. <column name="MANUFACTURER" length="18" />
  87. </property>
  88. <property name="modelnum" type="java.lang.String">
  89. <column name="MODELNUM" length="30" />
  90. </property>
  91. <property name="service" type="java.lang.String">
  92. <column name="SERVICE" length="1" not-null="true" />
  93. </property>
  94. <property name="stocktype" type="java.lang.String">
  95. <column name="STOCKTYPE" length="8" />
  96. </property>
  97. <property name="remark" type="java.lang.String">
  98. <column name="REMARK" length="50" />
  99. </property>
  100. <property name="location" type="java.lang.String">
  101. <column name="LOCATION" length="30" />
  102. </property>
  103. <property name="receiptscomplete" type="java.lang.String">
  104. <column name="RECEIPTSCOMPLETE" length="18" />
  105. </property>
  106. <property name="inspection" type="java.lang.String">
  107. <column name="INSPECTION" length="1" not-null="true" />
  108. </property>
  109. <property name="loadedcost" type="java.lang.Double">
  110. <column name="LOADEDCOST" length="14" not-null="true" />
  111. </property>
  112. <property name="prorated" type="java.lang.String">
  113. <column name="PRORATED" length="1" />
  114. </property>
  115. <property name="proratecost" type="java.lang.Double">
  116. <column name="PRORATECOST" length="14" />
  117. </property>
  118. <property name="ponum" type="java.lang.String">
  119. <column name="PONUM" length="18" />
  120. </property>
  121. </class>
  122. </hibernate-mapping>