Contract.hbm.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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.Contract" table="contract">
  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="description" type="java.lang.String">
  17. <column name="DESCRIPTION" length="200" />
  18. </property>
  19. <property name="bidnum" type="java.lang.String">
  20. <column name="BIDNUM" length="30" />
  21. </property>
  22. <property name="status" type="java.lang.String">
  23. <column name="STATUS" length="18" />
  24. </property>
  25. <property name="statusdate" type="java.util.Date">
  26. <column name="STATUSDATE" length="0" />
  27. </property>
  28. <property name="cntversion" type="java.lang.String">
  29. <column name="CNTVERSION" length="8" not-null="true" />
  30. </property>
  31. <property name="deptnum" type="java.lang.String">
  32. <column name="DEPTNUM" length="18" />
  33. </property>
  34. <property name="cnttype" type="java.lang.String">
  35. <column name="CNTTYPE" length="18" />
  36. </property>
  37. <property name="potype" type="java.lang.String">
  38. <column name="POTYPE" length="18" />
  39. </property>
  40. <property name="cntclass" type="java.lang.String">
  41. <column name="CNTCLASS" length="36" />
  42. </property>
  43. <property name="owner" type="java.lang.String">
  44. <column name="OWNER" length="18" />
  45. </property>
  46. <property name="owneronbf" type="java.lang.String">
  47. <column name="OWNERONBF" length="18" />
  48. </property>
  49. <property name="ownercontact" type="java.lang.String">
  50. <column name="OWNERCONTACT" length="18" />
  51. </property>
  52. <property name="ownerbank" type="java.lang.String">
  53. <column name="OWNERBANK" length="50" />
  54. </property>
  55. <property name="owneraccount" type="java.lang.String">
  56. <column name="OWNERACCOUNT" length="50" />
  57. </property>
  58. <property name="ownerphone" type="java.lang.String">
  59. <column name="OWNERPHONE" length="30" />
  60. </property>
  61. <property name="owneremail" type="java.lang.String">
  62. <column name="OWNEREMAIL" length="50" />
  63. </property>
  64. <property name="owneraddress" type="java.lang.String">
  65. <column name="OWNERADDRESS" length="100" />
  66. </property>
  67. <property name="vendor" type="java.lang.String">
  68. <column name="VENDOR" length="18" />
  69. </property>
  70. <property name="vendoronbf" type="java.lang.String">
  71. <column name="VENDORONBF" length="18" />
  72. </property>
  73. <property name="vendorcontact" type="java.lang.String">
  74. <column name="VENDORCONTACT" length="18" />
  75. </property>
  76. <property name="vendorphone" type="java.lang.String">
  77. <column name="VENDORPHONE" length="30" />
  78. </property>
  79. <property name="vendoremail" type="java.lang.String">
  80. <column name="VENDOREMAIL" length="50" />
  81. </property>
  82. <property name="vendoraddress" type="java.lang.String">
  83. <column name="VENDORADDRESS" length="100" />
  84. </property>
  85. <property name="vendorbank" type="java.lang.String">
  86. <column name="VENDORBANK" length="50" />
  87. </property>
  88. <property name="vendoraccount" type="java.lang.String">
  89. <column name="VENDORACCOUNT" length="50" />
  90. </property>
  91. <property name="parent" type="java.lang.String">
  92. <column name="PARENT" length="30" />
  93. </property>
  94. <property name="haschild" type="java.lang.String">
  95. <column name="HASCHILD" length="1" />
  96. </property>
  97. <property name="createby" type="java.lang.String">
  98. <column name="CREATEBY" length="18" />
  99. </property>
  100. <property name="createdate" type="java.util.Date">
  101. <column name="CREATEDATE" length="0" />
  102. </property>
  103. <property name="cntstartdate" type="java.util.Date">
  104. <column name="CNTSTARTDATE" length="0" />
  105. </property>
  106. <property name="cntenddate" type="java.util.Date">
  107. <column name="CNTENDDATE" length="0" />
  108. </property>
  109. <property name="cmdstartdate" type="java.util.Date">
  110. <column name="CMDSTARTDATE" length="0" />
  111. </property>
  112. <property name="cmdenddate" type="java.util.Date">
  113. <column name="CMDENDDATE" length="0" />
  114. </property>
  115. <property name="totalcost" type="java.lang.Double">
  116. <column name="TOTALCOST" length="12" />
  117. </property>
  118. <property name="paymold" type="java.lang.String">
  119. <column name="PAYMOLD" length="18" />
  120. </property>
  121. <property name="sigdate" type="java.util.Date">
  122. <column name="SIGDATE" length="0" />
  123. </property>
  124. <property name="cntdur" type="java.lang.String">
  125. <column name="CNTDUR" length="18" />
  126. </property>
  127. <property name="sitenum" type="java.lang.String">
  128. <column name="SITENUM" length="18" />
  129. </property>
  130. <property name="corpnum" type="java.lang.String">
  131. <column name="CORPNUM" length="18" not-null="true" />
  132. </property>
  133. </class>
  134. </hibernate-mapping>