package com.xunhong.erp.turbo.user.app.executor.cmd;

import com.xunhong.erp.turbo.api.user.dto.cmd.UserEnableCmd;
import com.xunhong.erp.turbo.user.domain.gateway.UserGateway;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;


@Component
@RequiredArgsConstructor
public class UserEnableCmdExe {
	private final UserGateway userGateway;

	public void execute(UserEnableCmd userEnableCmd) {
		userGateway.enable(userEnableCmd);
	}
}
