SpringBoot框架中的DAO层、Entity层、Service层、Controller层

https://blog.csdn.net/qq_40963664/article/details/123900763

一般的项目模块中都有DAO、Entity、Service、Controller层。

  • Entity层:实体层 数据库在项目中的类
  • DAO层: 持久层 主要与数据库进行交互
  • Service层:业务层 控制业务
  • Controller层:控制层 控制业务逻辑
posted @ 2022-10-09 01:14  yinghualeihenmei  阅读(66)  评论(0编辑  收藏  举报