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.bracelet.BraceletParamsDto;
import com.bonus.common.entity.bracelet.vo.EquipmentReqDataVo;
import com.bonus.common.entity.bracelet.vo.EquipmentReqVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @className:AppEquipmentReqService
 * @author:cwchen
 * @date:2024-08-06-15:50
 * @version:1.0
 * @description:APP-设备领用
 */
public interface IAppEquipmentReqService {

    /**
     * APP-设备领用列表
     * @param dto
     * @return List<EquipmentReqVo>
     * @author cwchen
     * @date 2024/8/6 16:09
     */
    PageInfo<EquipmentReqVo> getEquipmentReqLists(AppParamsDto dto);

    /**
     * 设备领用
     * @param vo
     * @return AjaxResult
     * @author cwchen
     * @date 2024/8/5 16:03
     */
    AjaxResult addData(EquipmentReqDataVo vo);

    /**
     * 获取未领用的设备
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/8/5 18:06
     */
    AjaxResult getUseDevices(AppParamsDto dto);

    /**
     * 归还设备
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/8/6 9:14
     */
    AjaxResult returnDevice(AppParamsDto dto);
}
