Energymeter.hbm.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.windfarm.Energymeter" table="energymeter">
  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="meternum" type="java.lang.Long">
  14. <column name="METERNUM" length="28" not-null="true" />
  15. </property>
  16. <property name="ownerwf" type="java.lang.Long">
  17. <column name="OWNERWF" length="28" not-null="true" />
  18. </property>
  19. <property name="ownerproject" type="java.lang.Long">
  20. <column name="OWNERPROJECT" length="28" not-null="true" />
  21. </property>
  22. <property name="ownerline" type="java.lang.Long">
  23. <column name="OWNERLINE" length="28" not-null="true" />
  24. </property>
  25. <property name="ownertrans" type="java.lang.Long">
  26. <column name="OWNERTRANS" length="28" not-null="true" />
  27. </property>
  28. <property name="metertype" type="java.lang.String">
  29. <column name="METERTYPE" length="50" not-null="true" />
  30. </property>
  31. <property name="ratio" type="java.lang.Double">
  32. <column name="RATIO" length="12" not-null="true" />
  33. </property>
  34. <property name="meterdesc" type="java.lang.String">
  35. <column name="METERDESC" length="50" />
  36. </property>
  37. <property name="datanum" type="java.lang.Long">
  38. <column name="DATANUM" length="22" />
  39. </property>
  40. </class>
  41. </hibernate-mapping>