package cn.sikey.hmd.service.activation;

import cn.sikey.framework.common.pojo.CommonResult;
import cn.sikey.hmd.api.hmd.dto.activation.DeviceActivationDTO;
import cn.sikey.hmd.api.hmd.vo.qr.RemainingExpireTimeRespVO;

import java.time.LocalDateTime;

/**
 * @Author: qin
 * @Date: 2025/3/31
 * @Description: 设备激活
 */
public interface DeviceActivationService {

    void updateDeviceActivation(String deviceId, LocalDateTime freeExpireTime, LocalDateTime finalExpireTime, LocalDateTime now, int plansValidity);

    CommonResult<RemainingExpireTimeRespVO> queryExpireTime(String deviceId, String apiType);

    DeviceActivationDTO queryDeviceActivation(String deviceId);
}
