package flightinspection

import "context"

type FlightInspectionRepository interface {
	Create(ctx context.Context, row *FlightInspection) error
	Update(ctx context.Context, row *FlightInspection) error
	GetByID(ctx context.Context, id []byte) (*FlightInspection, error)
	List(ctx context.Context, sort string, limit, offset int) ([]FlightInspection, int64, error)
}

// Repository is kept as backward-compatible alias for older services/wirings.
type Repository = FlightInspectionRepository
