package com.aircraft.modules.aircraft.service;

import com.aircraft.modules.aircraft.domain.AircraftMaintenance;
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 AircraftMaintenanceService extends IService<AircraftMaintenance> {

    /**
     * 分页查询飞行器维保记录
     * @param aircraftId
     * @param page
     * @return
     */
    IPage<AircraftMaintenance> page(Long aircraftId, Page<AircraftMaintenance> page);


    /**
     * 新增飞行器维保记录
     * @param aircraftMaintenance
     */
    void create(AircraftMaintenance aircraftMaintenance);

}
