package afterflightinspection

import "context"

type Repository interface {
	Upsert(ctx context.Context, row *AfterFlightInspection) error
	GetByFlightInspectionID(ctx context.Context, flightInspectionID []byte) (*AfterFlightInspection, error)
	DeleteByFlightInspectionID(ctx context.Context, flightInspectionID []byte) error
	FlightInspectionExists(ctx context.Context, flightInspectionID []byte) (bool, error)
	GetHelicopterCapabilities(ctx context.Context, flightInspectionID []byte) (*HelicopterCapabilities, error)
}

type HelicopterCapabilities struct {
	NR1 bool
	NR2 bool
	LH  bool
	RH  bool
	MGB bool
	IGB bool
	TGB bool
}
