package com.red.circle.other.app.service.user.user;

import com.red.circle.other.app.command.user.UserNotActiveLogAddExe;
import com.red.circle.other.app.dto.cmd.user.user.RemoveNotActionUserCmd;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 移除不活跃用户
 *
 * @author zongpubin on 2023/9/6
 */

@Service
@RequiredArgsConstructor
public class UserNotActiveLogServiceImpl implements UserNotActiveLogService {

  private final UserNotActiveLogAddExe userNotActiveLogAddExe;

  @Override
  public void addLog(RemoveNotActionUserCmd cmd) {
    userNotActiveLogAddExe.execute(cmd);
  }

}
