package com.lightinit.hsdataplatform.service.admin;

import com.lightinit.hsdataplatform.model.ResultState;
import com.lightinit.hsdataplatform.model.admin.AuthorizationHeableModel;
import com.lightinit.hsdataplatform.model.admin.AuthorizationListModel;
import com.lightinit.hsdataplatform.model.admin.AuthorizationSearchModel;
import com.lightinit.hsdataplatform.model.admin.AuthorizationViewModel;

import java.util.List;

public interface IAuthorizationService {
    List<AuthorizationListModel> queryList(AuthorizationSearchModel inputModel);

    long queryCount(AuthorizationSearchModel inputModel);

    AuthorizationViewModel queryOneView(long id);

    ResultState<Long> handle(AuthorizationHeableModel inputModel,Long followId);

    int isAdminFalg(Long id);
}
