package com.jeesharp.business.modules.coupon.application.api;

import com.jeesharp.business.modules.coupon.api.MemberCouponLifecycleApi;
import com.jeesharp.business.modules.coupon.application.MemberCouponApplicationService;
import com.jeesharp.business.modules.coupon.dto.MemberCouponOfflineConfirmDTO;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * {@link MemberCouponLifecycleApi} 实现，委托 {@link MemberCouponApplicationService}。
 *
 * @author jeesharp
 * @since 2026-06-25
 */
@Service
@AllArgsConstructor
public class MemberCouponLifecycleApiImpl implements MemberCouponLifecycleApi {

    private final MemberCouponApplicationService memberCouponApplicationService;

    @Override
    public void offlineConfirmUsed(MemberCouponOfflineConfirmDTO dto) {
        memberCouponApplicationService.offlineConfirmUsed(dto);
    }
}
