package com.cpop.clockin.business.service;

import com.cpop.clockin.business.dto.StaffClassesDto;
import com.cpop.clockin.business.entity.StaffClasses;
import com.cpop.clockin.business.vo.StaffClassesVo;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

public interface StaffClassesService extends IService<StaffClasses> {
    /**
     * 保存员工班次信息
     *
     * @author: Yxz
     * @date: 2024/1/23 20:43
     * @param: [staffClassesDto]
     * @return: void
     **/
    public void saveAll(StaffClassesDto staffClassesDto);
    /**
     * 查询所有员工班次信息
     *
     * @author: Yxz
     * @date: 2024/1/23 20:42
     * @param: []
     * @return: java.util.List<com.cpop.clockin.business.vo.StaffClassesVo>
     **/
    public List<StaffClassesVo> getStaffClassesVolist();
    /**
     * 更新员工班次信息
     *
     * @author: Yxz
     * @date: 2024/1/23 20:42
     * @param: [staffClassesDto]
     * @return: void
     **/
    void updateAll(StaffClassesDto staffClassesDto);
    /**
     * 分页查询员工-班次信息
     *
     * @author: Yxz
     * @date: 2024/1/23 20:42
     * @param: [staffName]
     * @return: com.mybatisflex.core.paginate.Page<com.cpop.clockin.business.vo.StaffClassesVo>
     **/
    Page<StaffClassesVo> selectPage(String staffName);
}
