主键生成策略
<id name="id" type="java.lang.String"> <column name="ID" /> <generator class="uuid.hex" /> </id>
主键类型使用string