package com.tykj.workflowcore.user.service;

import com.tykj.workflowcore.user.pojo.Authority;

import java.util.List;

public interface AuthorityService {

    Authority save(Authority authority);

    Authority update(Authority authority);

    void delete(Integer id);

    Authority findById(Integer id);

    List<Authority> findByType(Integer type);

    List<Authority> findAll();

    List<Authority> findByNameLike(String name);




}
