spring API 多层

1. mvc controller

2. service

3. @ManyToOne

4.repository :extends crudrepository

原文地址:https://www.cnblogs.com/yanmantianxia/p/9168512.html