package afterflightinspection

import "context"

type Service interface {
	Upsert(ctx context.Context, flightInspectionID []byte, req *UpsertRequest) (*AfterFlightInspection, error)
	GetByFlightInspectionID(ctx context.Context, flightInspectionID []byte) (*AfterFlightInspection, error)
	DeleteByFlightInspectionID(ctx context.Context, flightInspectionID []byte) error
}

type UpsertRequest struct {
	OilEngineNR1Checked       *string
	OilEngineNR2Checked       *string
	HydraulicLHChecked        *string
	HydraulicRHChecked        *string
	OilTransmissionMGBChecked *string
	OilTransmissionIGBChecked *string
	OilTransmissionTGBChecked *string
	Note                      *string
}
