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


import com.xunhong.erp.turbo.api.user.dto.cmd.OpenSafeCmd;
import com.xunhong.erp.turbo.user.domain.gateway.UserAuthGateway;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author shenyifei
 */
@Slf4j
@Component
@RequiredArgsConstructor
public class OpenSafeCmdExe {
	private final UserAuthGateway userAuthGateway;

	public void execute(OpenSafeCmd openSafeCmd) {
		userAuthGateway.openSafe(openSafeCmd);
	}
}
