猪齿鱼_03_领域模型

一、前言

二、分层

DDD四层结构

数据库
Infro

DO (与数据库字段对应) -> 数据表
Mapper
Mapper.xml

domain

entity(DO+ objectVersion等)

Repository

api

dto (entity + 限制条件注解)

domain

convertor

原文地址:https://www.cnblogs.com/shirui/p/10751875.html