Pr.hbm.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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.Pr" table="pr">
  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="description" type="java.lang.String">
  17. <column name="DESCRIPTION" length="100" />
  18. </property>
  19. <property name="status" type="java.lang.String">
  20. <column name="STATUS" length="18" not-null="true" />
  21. </property>
  22. <property name="statusdate" type="java.util.Date">
  23. <column name="STATUSDATE" length="7" not-null="true" />
  24. </property>
  25. <property name="requestdate" type="java.util.Date">
  26. <column name="REQUESTDATE" length="7" not-null="true" />
  27. </property>
  28. <property name="requestedby" type="java.lang.String">
  29. <column name="REQUESTEDBY" length="18" not-null="true" />
  30. </property>
  31. <property name="requestdept" type="java.lang.String">
  32. <column name="REQUESTDEPT" length="30" />
  33. </property>
  34. <property name="requireddate" type="java.util.Date">
  35. <column name="REQUIREDDATE" length="7" />
  36. </property>
  37. <property name="vendor" type="java.lang.String">
  38. <column name="VENDOR" length="18" />
  39. </property>
  40. <property name="contact" type="java.lang.String">
  41. <column name="CONTACT" length="18" />
  42. </property>
  43. <property name="customernum" type="java.lang.String">
  44. <column name="CUSTOMERNUM" length="16" />
  45. </property>
  46. <property name="fobprice" type="java.lang.String">
  47. <column name="FOBPRICE" length="20" />
  48. </property>
  49. <property name="freightterms" type="java.lang.String">
  50. <column name="FREIGHTTERMS" length="100" />
  51. </property>
  52. <property name="shipvia" type="java.lang.String">
  53. <column name="SHIPVIA" length="20" />
  54. </property>
  55. <property name="paymentterms" type="java.lang.String">
  56. <column name="PAYMENTTERMS" length="100" />
  57. </property>
  58. <property name="shiptolabor" type="java.lang.String">
  59. <column name="SHIPTOLABOR" length="18" />
  60. </property>
  61. <property name="shiptoaddr" type="java.lang.String">
  62. <column name="SHIPTOADDR" length="30" />
  63. </property>
  64. <property name="billtolabor" type="java.lang.String">
  65. <column name="BILLTOLABOR" length="18" />
  66. </property>
  67. <property name="billtoaddr" type="java.lang.String">
  68. <column name="BILLTOADDR" length="30" />
  69. </property>
  70. <property name="changedate" type="java.util.Date">
  71. <column name="CHANGEDATE" length="7" />
  72. </property>
  73. <property name="changeby" type="java.lang.String">
  74. <column name="CHANGEBY" length="18" />
  75. </property>
  76. <property name="totalcost" type="java.lang.Double">
  77. <column name="TOTALCOST" length="18" />
  78. </property>
  79. <property name="supervisor" type="java.lang.String">
  80. <column name="SUPERVISOR" length="18" />
  81. </property>
  82. <property name="exchangerate" type="java.lang.Double">
  83. <column name="EXCHANGERATE" length="14" />
  84. </property>
  85. <property name="exchangedate" type="java.util.Date">
  86. <column name="EXCHANGEDATE" length="7" />
  87. </property>
  88. <property name="totaltax" type="java.lang.Double">
  89. <column name="TOTALTAX" length="10" />
  90. </property>
  91. <property name="prtype" type="java.lang.String">
  92. <column name="PRTYPE" length="20" />
  93. </property>
  94. <property name="budnum" type="java.lang.String">
  95. <column name="BUDNUM" length="18" />
  96. </property>
  97. <property name="buditem" type="java.lang.String">
  98. <column name="BUDITEM" length="18" />
  99. </property>
  100. <property name="prnumtype" type="java.lang.String">
  101. <column name="PRNUMTYPE" length="50" />
  102. </property>
  103. </class>
  104. </hibernate-mapping>