package com.bonus.app.service;

import com.bonus.common.core.web.domain.AjaxResult;
import com.bonus.common.entity.app.AppParamsDto;
import com.bonus.common.entity.app.vo.SafetyHatDataVo;
import com.bonus.common.entity.app.vo.SafetyHatVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @className:IAppSafetyHatService
 * @author:cwchen
 * @date:2024-08-07-15:37
 * @version:1.0
 * @description:APP-智能安全帽
 */
public interface IAppSafetyHatService {
    /**
     * 安全帽设备列表
     * @param dto
     * @return PageInfo<SafetyHatVo>
     * @author cwchen
     * @date 2024/8/7 16:28
     */
    PageInfo<SafetyHatVo> getSafetyHatLists(AppParamsDto dto);

    /**
     * 分配安全帽
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/8/7 18:15
     */
    AjaxResult distributionHelmet(SafetyHatDataVo dto);

    /**
     * 归还设备
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/8/7 19:23
     */
    AjaxResult returnHelmet(AppParamsDto dto);
}
