http://blog.csdn.net/z69183787/article/details/20044343 name 是默认将外实体的主键作为外键 二referencedColumnName 则不是,他可以制定 但是一般都是主键作为外键