首先上图看下关系:
本来想自己写来着,百度了下,真的有总结的很全面的文章,我还是不要献丑了……直接贴出来,看网址吧。
https://blog.csdn.net/xuantian868/article/details/3116442