面向对象12:Dao层

           1.Dao层步骤
        第一步:建表
        第二步:实体类
        第三步:写接口(需求)
        第四步:帮助类(BaseDao)(只需写一次)
        第五步:实现类

        表--->实体类--->dao--->biz--->controller

        serializable 序列化接口
              序列化         接口+实现
                   接口+实现

         2.MVC思想
        1.model:模型层
        2.view:视图层
        3.controller:控制层
        4.业务层:biz,server
          dao层
        
        分包:
            Dao
            Biz
            Controller
            view  (Test)
            entity
            utils

原文地址:https://www.cnblogs.com/yangchan250/p/7018339.html