package com.ssm.manage.service;

import com.github.pagehelper.PageInfo;
import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.entity.StoreManagement;
import com.ssm.manage.entity.StoreMemberClass;
import com.ssm.manage.entity.StoreRoom;
import com.ssm.manage.query.StoreMemberClassRequest;
import com.ssm.manage.query.StoreRoomRequest;

import java.text.ParseException;

public interface SsmStoreMemberClassService extends BaseService<StoreMemberClass> {
    PageInfo<StoreMemberClass> selectPage(StoreMemberClassRequest storeRoomRequest) throws SmsException, ParseException;
    int add(StoreMemberClassRequest storeMemberClassRequest,String phone) throws SmsException;
    int update(StoreMemberClassRequest storeMemberClassRequest,String phone) throws SmsException;
    int updateState(StoreMemberClassRequest storeMemberClassRequest,String phone) throws SmsException;
    int delete(StoreMemberClassRequest storeMemberClassRequest) throws SmsException;
}
