package com.aircraft.modules.aircraft.service;

import com.aircraft.modules.aircraft.domain.AircraftDevice;
import com.aircraft.modules.aircraft.domain.dto.AircraftDevicePageDTO;
import com.aircraft.modules.aircraft.domain.vo.AircraftDevicePageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 飞行器设备表 服务类
 * </p>
 *
 * @author cli
 * @since 2025-07-11
 */
public interface AircraftDeviceService extends IService<AircraftDevice> {


    /**
     * 分页查询飞行器设备
     * @param dto
     * @param page
     * @return
     */
    IPage<AircraftDevicePageVO> page(AircraftDevicePageDTO dto, Page page);


    /**
     * 新增飞行器设备
     * @param aircraftDevice
     */
    void create(AircraftDevice aircraftDevice);

    /**
     * 编辑飞行器设备
     * @param aircraftDevice
     */
    void update(AircraftDevice aircraftDevice);


    /**
     * 删除飞行器设备
     * @param id
     */
    void deleteById(Long id);


    /**
     * 根据ID查询飞行器设备
     * @param id
     */
    AircraftDevice findById(Long id);




}
