Companies.hbm.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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.company.Companies" table="companies">
  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="description" type="java.lang.String">
  14. <column name="DESCRIPTION" length="100" />
  15. </property>
  16. <property name="company" type="java.lang.String">
  17. <column name="COMPANY" length="18" not-null="true" />
  18. </property>
  19. <property name="parent" type="java.lang.String">
  20. <column name="PARENT" length="18" />
  21. </property>
  22. <property name="type" type="java.lang.String">
  23. <column name="TYPE" length="8" not-null="true" />
  24. </property>
  25. <property name="regfund" type="java.lang.String">
  26. <column name="REGFUND" length="10" />
  27. </property>
  28. <property name="comptype" type="java.lang.String">
  29. <column name="COMPTYPE" length="30" />
  30. </property>
  31. <property name="delegate" type="java.lang.String">
  32. <column name="DELEGATE" length="18" />
  33. </property>
  34. <property name="regnum" type="java.lang.String">
  35. <column name="REGNUM" length="50" />
  36. </property>
  37. <property name="taxnum" type="java.lang.String">
  38. <column name="TAXNUM" length="50" />
  39. </property>
  40. <property name="mainprod" type="java.lang.String">
  41. <column name="MAINPROD" length="254" />
  42. </property>
  43. <property name="dealin" type="java.lang.String">
  44. <column name="DEALIN" length="254" />
  45. </property>
  46. <property name="address" type="java.lang.String">
  47. <column name="ADDRESS" length="100" />
  48. </property>
  49. <property name="postnum" type="java.lang.String">
  50. <column name="POSTNUM" length="12" />
  51. </property>
  52. <property name="province" type="java.lang.String">
  53. <column name="PROVINCE" length="18" />
  54. </property>
  55. <property name="city" type="java.lang.String">
  56. <column name="CITY" length="18" />
  57. </property>
  58. <property name="contact" type="java.lang.String">
  59. <column name="CONTACT" length="18" />
  60. </property>
  61. <property name="phone" type="java.lang.String">
  62. <column name="PHONE" length="20" />
  63. </property>
  64. <property name="fax" type="java.lang.String">
  65. <column name="FAX" length="20" />
  66. </property>
  67. <property name="contactmp" type="java.lang.String">
  68. <column name="CONTACTMP" length="20" />
  69. </property>
  70. <property name="contactmail" type="java.lang.String">
  71. <column name="CONTACTMAIL" length="50" />
  72. </property>
  73. <property name="fob" type="java.lang.String">
  74. <column name="FOB" length="20" />
  75. </property>
  76. <property name="freightterms" type="java.lang.String">
  77. <column name="FREIGHTTERMS" length="50" />
  78. </property>
  79. <property name="shipvia" type="java.lang.String">
  80. <column name="SHIPVIA" length="50" />
  81. </property>
  82. <property name="paymentterms" type="java.lang.String">
  83. <column name="PAYMENTTERMS" length="50" />
  84. </property>
  85. <property name="ebsnum" type="java.lang.String">
  86. <column name="EBSNUM" length="30" />
  87. </property>
  88. <property name="ebsissync" type="java.lang.String">
  89. <column name="EBSISSYNC" length="1" />
  90. </property>
  91. <property name="changeby" type="java.lang.String">
  92. <column name="CHANGEBY" length="18" />
  93. </property>
  94. <property name="changedate" type="java.util.Date">
  95. <column name="CHANGEDATE" length="7" />
  96. </property>
  97. <property name="payvendor" type="java.lang.String">
  98. <column name="PAYVENDOR" length="30" />
  99. </property>
  100. <property name="bankname" type="java.lang.String">
  101. <column name="BANKNAME" length="30" />
  102. </property>
  103. <property name="bankaccount" type="java.lang.String">
  104. <column name="BANKACCOUNT" length="30" />
  105. </property>
  106. <property name="disabled" type="java.lang.String">
  107. <column name="DISABLED" length="1" not-null="true" />
  108. </property>
  109. <property name="remitaddr" type="java.lang.String">
  110. <column name="REMITADDR" length="100" />
  111. </property>
  112. <property name="remitpostnum" type="java.lang.String">
  113. <column name="REMITPOSTNUM" length="12" />
  114. </property>
  115. <property name="remitphone" type="java.lang.String">
  116. <column name="REMITPHONE" length="20" />
  117. </property>
  118. <property name="remitto" type="java.lang.String">
  119. <column name="REMITTO" length="18" />
  120. </property>
  121. <property name="homepage" type="java.lang.String">
  122. <column name="HOMEPAGE" length="50" />
  123. </property>
  124. <property name="defwarehouse" type="java.lang.String">
  125. <column name="DEFWAREHOUSE" length="18" />
  126. </property>
  127. </class>
  128. </hibernate-mapping>