Msgsender.hbm.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.smsg.Msgsender" table="msgsender">
  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="title" type="java.lang.String">
  14. <column name="TITLE" length="500" not-null="true" />
  15. </property>
  16. <property name="body" type="java.lang.String">
  17. <column name="BODY" length="2000" />
  18. </property>
  19. <property name="sddate" type="java.util.Date">
  20. <column name="SDDATE" length="7" not-null="true" />
  21. </property>
  22. <property name="sendtype" type="java.lang.String">
  23. <column name="SENDTYPE" length="18" not-null="true" />
  24. </property>
  25. <property name="sender" type="java.lang.String">
  26. <column name="SENDER" length="18" not-null="true" />
  27. </property>
  28. <property name="rectype" type="java.lang.String">
  29. <column name="RECTYPE" length="18" />
  30. </property>
  31. <property name="recdept" type="java.lang.String">
  32. <column name="RECDEPT" length="18" />
  33. </property>
  34. <property name="reclaborgrp" type="java.lang.String">
  35. <column name="RECLABORGRP" length="28" />
  36. </property>
  37. <property name="reclabor" type="java.lang.String">
  38. <column name="RECLABOR" length="18" />
  39. </property>
  40. <property name="issue" type="java.lang.String">
  41. <column name="ISSUE" length="1" />
  42. </property>
  43. <property name="reclist" type="java.lang.String">
  44. <column name="RECLIST" length="200" />
  45. </property>
  46. <property name="sendmail" type="java.lang.String">
  47. <column name="SENDMAIL" length="1" />
  48. </property>
  49. <property name="sendsms" type="java.lang.String">
  50. <column name="SENDSMS" length="1" />
  51. </property>
  52. </class>
  53. </hibernate-mapping>