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

import com.red.circle.other.app.command.task.RoomDailyTaskProgressUpdateExe;
import com.red.circle.other.app.dto.cmd.task.RoomDailyTaskProgressUpdateCmd;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class RoomDailyTaskProgressServiceImpl implements RoomDailyTaskProgressService {

    private final RoomDailyTaskProgressUpdateExe progressUpdateExe;

    @Override
    public void updateTaskProgress(RoomDailyTaskProgressUpdateCmd cmd) {
        progressUpdateExe.execute(cmd);
    }
}
