
package com.pavis.admin.system.service;

import com.pavis.admin.system.model.entity.SmsConfigDO;
import com.pavis.admin.system.model.query.SmsConfigQuery;
import com.pavis.admin.system.model.req.SmsConfigReq;
import com.pavis.admin.system.model.resp.SmsConfigResp;
import top.continew.starter.extension.crud.service.BaseService;

/**
 * 短信配置业务接口
 *
 * 
 * @since 2025/03/15 18:41
 */
public interface SmsConfigService extends BaseService<SmsConfigResp, SmsConfigResp, SmsConfigQuery, SmsConfigReq> {

    /**
     * 设置默认配置
     *
     * @param id ID
     */
    void setDefaultConfig(Long id);

    /**
     * 获取默认短信配置
     *
     * @return 默认短信配置
     */
    SmsConfigDO getDefaultConfig();
}