package com.schisandra.auth.domain.service;

import com.schisandra.auth.domain.bo.SchisandraAuthRoleBO;
import org.springframework.stereotype.Service;

/**
 * ClassName:SchisandraAuthRoleDomainService
 * Package:com.schisandra.auth.domain.service
 * Description:角色领域Service
 *
 * @Author:fanyang
 * @Create:2024/4/4 - 20:56
 * @Version: v1.0
 */

public interface SchisandraAuthRoleDomainService {
    /***
    *@ClassName: SchisandraAuthRoleDomainService
    *@Description 更新角色信息
    *@Author Fanyang
    *@Date 2024/4/4
    *@Time 21:02
    */
    Object update(SchisandraAuthRoleBO schisandraAuthRoleBO);
    /***
    *@ClassName: SchisandraAuthRoleDomainService
    *@Description 删除角色信息
    *@Author Fanyang
    *@Date 2024/4/4
    *@Time 21:03
    */
    Object delete(Long id);
    /***
    *@ClassName: SchisandraAuthRoleDomainService
    *@Description 新增角色信息
    *@Author Fanyang
    *@Date 2024/4/4
    *@Time 21:03
    */

    int insert(SchisandraAuthRoleBO schisandraAuthRoleBO);
    /***
    *@ClassName: SchisandraAuthRoleDomainService
    *@Description 查询角色信息
    *@Author Fanyang
    *@Date 2024/4/4
    *@Time 21:04
    */

    Object select(SchisandraAuthRoleBO schisandraAuthRoleBO);
}
