package com.starry.admin.modules.clerk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starry.admin.modules.clerk.module.entity.PlayClerkClassificationInfoEntity;
import java.util.List;

/**
 * 店员分类Service接口
 *
 * @author admin
 * @since 2024-04-06
 */
public interface IPlayClerkClassificationInfoService extends IService<PlayClerkClassificationInfoEntity> {
    /**
     * 查询店员分类
     *
     * @param id
     *            店员分类主键
     * @return 店员分类
     */
    PlayClerkClassificationInfoEntity selectPlayClerkClassificationInfoById(String id);

    /**
     * 查询店员分类列表
     *
     * @return 店员分类集合
     */
    List<PlayClerkClassificationInfoEntity> selectAll();

    /**
     * 查询店员分类列表
     *
     * @param playClerkClassificationInfo
     *            店员分类
     * @return 店员分类集合
     */
    IPage<PlayClerkClassificationInfoEntity> selectPlayClerkClassificationInfoByPage(
            PlayClerkClassificationInfoEntity playClerkClassificationInfo);

    /**
     * 新增店员分类
     *
     * @param playClerkClassificationInfo
     *            店员分类
     * @return 结果
     */
    boolean create(PlayClerkClassificationInfoEntity playClerkClassificationInfo);

    /**
     * 修改店员分类
     *
     * @param playClerkClassificationInfo
     *            店员分类
     * @return 结果
     */
    boolean update(PlayClerkClassificationInfoEntity playClerkClassificationInfo);

    /**
     * 批量删除店员分类
     *
     * @param ids
     *            需要删除的店员分类主键集合
     * @return 结果
     */
    int deletePlayClerkClassificationInfoByIds(String[] ids);

    /**
     * 删除店员分类信息
     *
     * @param id
     *            店员分类主键
     * @return 结果
     */
    int deletePlayClerkClassificationInfoById(String id);
}
