YtiotTWaterAnalysis.hbm.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  3. "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
  4. <hibernate-mapping>
  5. <class name="cn.com.usky.iot.entity.YtiotTWaterAnalysis" table="ytiot_t_water_analysis" schema="ytIoT">
  6. <id name="id">
  7. <column name="id" sql-type="int(10) unsigned"/>
  8. </id>
  9. <property name="companyCode">
  10. <column name="company_code" sql-type="varchar(10)" length="10" not-null="false"/>
  11. </property>
  12. <property name="dataStatistics">
  13. <column name="data_statistics" sql-type="varchar(255)" length="255" not-null="true"/>
  14. </property>
  15. <property name="dispersionRate">
  16. <column name="dispersion_rate" sql-type="text" not-null="true"/>
  17. </property>
  18. <property name="leakageInvestigation">
  19. <column name="leakage_investigation" sql-type="text" not-null="true"/>
  20. </property>
  21. <property name="deviceAssociation">
  22. <column name="device_association" sql-type="text" not-null="true"/>
  23. </property>
  24. <property name="dataFluctuation">
  25. <column name="data_fluctuation" sql-type="text" not-null="true"/>
  26. </property>
  27. <property name="projectSituation">
  28. <column name="project_situation" sql-type="text" not-null="true"/>
  29. </property>
  30. <property name="equipmentList">
  31. <column name="equipment_list" sql-type="text" not-null="true"/>
  32. </property>
  33. <property name="statisticalPeriod">
  34. <column name="statistical_period" sql-type="text" not-null="true"/>
  35. </property>
  36. <property name="creatTime">
  37. <column name="creat_time" sql-type="datetime" not-null="true"/>
  38. </property>
  39. </class>
  40. </hibernate-mapping>