package shop.alien.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import shop.alien.entity.store.StoreVerificationCode;

/**
 * 短信验证码 service
 */
public interface StoreVerificationCodeService extends IService<StoreVerificationCode> {

    /**
     * 分页查询
     */
    IPage<StoreVerificationCode> pageList(String phone,
                                          Integer appType,
                                          Integer businessType,
                                          Integer pageNum,
                                          Integer pageSize);

    /**
     * 新增记录
     */
    StoreVerificationCode create(StoreVerificationCode request);

    /**
     * 更新记录
     */
    StoreVerificationCode updateRecord(StoreVerificationCode request);

    /**
     * 删除
     */
    boolean removeRecord(Integer id);
}

