Premaint.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.pm.Premaint" table="premaint">
  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="pmnum" type="java.lang.String">
  14. <column name="PMNUM" 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="eqnum" type="java.lang.String">
  20. <column name="EQNUM" length="3500" />
  21. </property>
  22. <property name="location" type="java.lang.String">
  23. <column name="LOCATION" length="3500" />
  24. </property>
  25. <property name="warehouse" type="java.lang.String">
  26. <column name="WAREHOUSE" length="30" />
  27. </property>
  28. <property name="laststartdate" type="java.util.Date">
  29. <column name="LASTSTARTDATE" length="0" />
  30. </property>
  31. <property name="firstdate" type="java.util.Date">
  32. <column name="FIRSTDATE" length="0" />
  33. </property>
  34. <property name="lastcompdate" type="java.util.Date">
  35. <column name="LASTCOMPDATE" length="0" />
  36. </property>
  37. <property name="frequency" type="java.lang.Long">
  38. <column name="FREQUENCY" length="22" not-null="true" />
  39. </property>
  40. <property name="frequnit" type="java.lang.String">
  41. <column name="FREQUNIT" length="8" not-null="true" />
  42. </property>
  43. <property name="pmcounter" type="java.lang.Long">
  44. <column name="PMCOUNTER" length="22" not-null="true" />
  45. </property>
  46. <property name="worktype" type="java.lang.String">
  47. <column name="WORKTYPE" length="8" />
  48. </property>
  49. <property name="jpnum" type="java.lang.String">
  50. <column name="JPNUM" length="18" />
  51. </property>
  52. <property name="usejpseq" type="java.lang.String">
  53. <column name="USEJPSEQ" length="1" not-null="true" />
  54. </property>
  55. <property name="nextdate" type="java.util.Date">
  56. <column name="NEXTDATE" length="0" />
  57. </property>
  58. <property name="supervisor" type="java.lang.String">
  59. <column name="SUPERVISOR" length="18" />
  60. </property>
  61. <property name="crewid" type="java.lang.String">
  62. <column name="CREWID" length="18" />
  63. </property>
  64. <property name="eqdown" type="java.lang.String">
  65. <column name="EQDOWN" length="1" not-null="true" />
  66. </property>
  67. <property name="parent" type="java.lang.String">
  68. <column name="PARENT" length="18" />
  69. </property>
  70. <property name="haschild" type="java.lang.String">
  71. <column name="HASCHILD" length="1" not-null="true" />
  72. </property>
  73. <property name="usefrequency" type="java.lang.String">
  74. <column name="USEFREQUENCY" length="1" not-null="true" />
  75. </property>
  76. <property name="leadtime" type="java.lang.Long">
  77. <column name="LEADTIME" length="22" />
  78. </property>
  79. <property name="adjnextdue" type="java.lang.String">
  80. <column name="ADJNEXTDUE" length="1" not-null="true" />
  81. </property>
  82. <property name="wostatus" type="java.lang.String">
  83. <column name="WOSTATUS" length="18" not-null="true" />
  84. </property>
  85. <property name="classid" type="java.lang.String">
  86. <column name="CLASSID" length="36" />
  87. </property>
  88. <property name="autowf" type="java.lang.String">
  89. <column name="AUTOWF" length="1" />
  90. </property>
  91. <property name="sitenum" type="java.lang.String">
  92. <column name="SITENUM" length="18" />
  93. </property>
  94. <property name="corpnum" type="java.lang.String">
  95. <column name="CORPNUM" length="18" not-null="true" />
  96. </property>
  97. <property name="ordertype" type="java.lang.String">
  98. <column name="ORDERTYPE" length="30" not-null="true" />
  99. </property>
  100. <property name="windfarm" type="java.lang.String">
  101. <column name="WINDFARM" length="18" />
  102. </property>
  103. </class>
  104. </hibernate-mapping>