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

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


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

	public void execute(UserDisableCmd userDestroyCmd) {
		userGateway.disable(userDestroyCmd);
	}
}
