格式:<!-- xx属性,本类与XX的一对多 -->
一对一:
<one-to-one name="xx" class="XX"></one-to-one>
多对一:
<many-to-one name="xx" class="XX" column=""></many-to-one>
一对多:
<set name="xx">
<key column=""></key>
<one-to-many class="XX"/>
</set>
多对多:
<set name="xx" table="">
<key column=""></key>
<many-to-many class="XX" column=""></many-to-many>
</set>