Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmployeeContext - 转换OnBoardingRequest为Employee领域对象 #7

Open
agiledon opened this issue Dec 26, 2019 · 0 comments
Open
Labels
Task Task

Comments

@agiledon
Copy link
Owner

将应用服务接收的消息OnBoardingRequest转换为Employee领域对象,由OnboardingRequestAssembler装配器承担。子任务包括:

伪代码为:

    OnboardingRequestAssembler.composeEmployee() {
        OnboardingRequest.toEmployee(employeeId);
        EmployeeIdGenerator.generate() {
            EmployeeRepository.latestEmployee();
            employee.idFrom(sequenceCode);
        }
    }
@agiledon agiledon added the Task Task label Dec 26, 2019
@agiledon agiledon changed the title 转换OnBoardingRequest为Employee领域对象 EmployeeContext - 转换OnBoardingRequest为Employee领域对象 Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Task
Projects
None yet
Development

No branches or pull requests

1 participant