标签的属性指定了要映射的类,以及它的映射表。
The tag's attributes specifies the class being mapped, and its mapping table in the database.
如果映射表中此列于这个类的属性名相同,column属性可以省略。
The column attribute can be omitted if the column in the mapping table has the same name as the class property being mapped.
table属性指定类的映射表
The table attribute specifies the mapping table for that class
应用推荐