Po.hbm.xml 5.1 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.po.Po" table="po">
  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="ponum" type="java.lang.String">
  14. <column name="PONUM" 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="orderdate" type="java.util.Date">
  20. <column name="ORDERDATE" length="7" />
  21. </property>
  22. <property name="requireddate" type="java.util.Date">
  23. <column name="REQUIREDDATE" length="7" />
  24. </property>
  25. <property name="status" type="java.lang.String">
  26. <column name="STATUS" length="18" not-null="true" />
  27. </property>
  28. <property name="statusdate" type="java.util.Date">
  29. <column name="STATUSDATE" length="7" not-null="true" />
  30. </property>
  31. <property name="vendor" type="java.lang.String">
  32. <column name="VENDOR" length="18" not-null="true" />
  33. </property>
  34. <property name="contact" type="java.lang.String">
  35. <column name="CONTACT" length="18" />
  36. </property>
  37. <property name="freightterms" type="java.lang.String">
  38. <column name="FREIGHTTERMS" length="50" />
  39. </property>
  40. <property name="paymentterms" type="java.lang.String">
  41. <column name="PAYMENTTERMS" length="50" />
  42. </property>
  43. <property name="shipvia" type="java.lang.String">
  44. <column name="SHIPVIA" length="50" />
  45. </property>
  46. <property name="shiptolabor" type="java.lang.String">
  47. <column name="SHIPTOLABOR" length="18" />
  48. </property>
  49. <property name="shiptoaddr" type="java.lang.String">
  50. <column name="SHIPTOADDR" length="30" />
  51. </property>
  52. <property name="billtolabor" type="java.lang.String">
  53. <column name="BILLTOLABOR" length="18" />
  54. </property>
  55. <property name="billtoaddr" type="java.lang.String">
  56. <column name="BILLTOADDR" length="30" />
  57. </property>
  58. <property name="totalcost" type="java.lang.Double">
  59. <column name="TOTALCOST" length="18" not-null="true" />
  60. </property>
  61. <property name="changeby" type="java.lang.String">
  62. <column name="CHANGEBY" length="18" />
  63. </property>
  64. <property name="changedate" type="java.util.Date">
  65. <column name="CHANGEDATE" length="7" />
  66. </property>
  67. <property name="vendeliverydate" type="java.util.Date">
  68. <column name="VENDELIVERYDATE" length="7" />
  69. </property>
  70. <property name="receipts" type="java.lang.String">
  71. <column name="RECEIPTS" length="20" />
  72. </property>
  73. <property name="exchangerate" type="java.lang.Double">
  74. <column name="EXCHANGERATE" length="14" />
  75. </property>
  76. <property name="exchangedate" type="java.util.Date">
  77. <column name="EXCHANGEDATE" length="7" />
  78. </property>
  79. <property name="totaltax" type="java.lang.Double">
  80. <column name="TOTALTAX" length="10" />
  81. </property>
  82. <property name="startdate" type="java.util.Date">
  83. <column name="STARTDATE" length="7" />
  84. </property>
  85. <property name="enddate" type="java.util.Date">
  86. <column name="ENDDATE" length="7" />
  87. </property>
  88. <property name="ebssent" type="java.lang.String">
  89. <column name="EBSSENT" length="1" />
  90. </property>
  91. <property name="ebsstatusdate" type="java.util.Date">
  92. <column name="EBSSTATUSDATE" length="7" />
  93. </property>
  94. <property name="potype" type="java.lang.String">
  95. <column name="POTYPE" length="20" />
  96. </property>
  97. <property name="supervisor" type="java.lang.String">
  98. <column name="SUPERVISOR" length="30" />
  99. </property>
  100. <property name="isprotocol" type="java.lang.String">
  101. <column name="ISPROTOCOL" length="1" />
  102. </property>
  103. <property name="isgov" type="java.lang.String">
  104. <column name="ISGOV" length="1" />
  105. </property>
  106. <property name="poreason" type="java.lang.String">
  107. <column name="POREASON" length="3000" />
  108. </property>
  109. <property name="notifynum" type="java.lang.String">
  110. <column name="NOTIFYNUM" length="30" />
  111. </property>
  112. <property name="sitenum" type="java.lang.String">
  113. <column name="SITENUM" length="18" />
  114. </property>
  115. <property name="corpnum" type="java.lang.String">
  116. <column name="CORPNUM" length="18" not-null="true" />
  117. </property>
  118. </class>
  119. </hibernate-mapping>