package com.zsc.edu.gateway.modules.system.service;

import com.zsc.edu.gateway.modules.system.dto.RoleDto;
import com.zsc.edu.gateway.modules.system.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zsc.edu.gateway.modules.system.vo.RoleVo;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author Yao
 * @since 2023-04-06
 */
public interface RoleService extends IService<Role> {

    Role create(RoleDto roleDto);

    Role edit(RoleDto roleDto, Long id);

    RoleVo detail(Long id);

    Boolean toggle(Long id);

    Boolean delete(Long id);

}
