

It is responsible for managing the ingress and egress of the entire domain, including input checking, and converting domain knowledge into a data structure that is presented on the client side.

In domain-driven design, it is also known as the domain service. Use cases: With the domain, the outer layer is use cases, which refers to clients who use domain knowledge to fulfill specific needs.Different from the entity in domain-driven design, the entity here can be realized as the domain in domain-driven design.

