package com.crm.manager.service;

import com.crm.rely.backend.core.dto.account.type.AccountTypeListDto;
import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.entity.account.type.AccountTypeListUpdateEntity;
import com.crm.rely.backend.core.entity.system.config.SendUpdateEmailCodeEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

/**
 * Created by max on 2020/8/18.
 */
public interface AccountTypeService {

    List<AccountTypeListDto> getList() throws Exception;

    BaseResultDto<Object> updateList(List<AccountTypeListUpdateEntity> entities) throws Exception;

    void sendEmailCode(SendUpdateEmailCodeEntity entity) throws ServiceException;

}
