init push

This commit is contained in:
2026-07-16 22:16:45 +07:00
commit 8b068bdb10
1021 changed files with 332816 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package beforeflightinspection
import "context"
type Service interface {
Upsert(ctx context.Context, flightInspectionID []byte, req *UpsertRequest) (*BeforeFlightInspection, error)
GetByFlightInspectionID(ctx context.Context, flightInspectionID []byte) (*BeforeFlightInspection, error)
}
type UpsertRequest struct {
OilEngineNR1Checked *bool `json:"oil_engine_nr1_checked"`
OilEngineNR2Checked *bool `json:"oil_engine_nr2_checked"`
HydraulicLHChecked *bool `json:"hydraulic_lh_checked"`
HydraulicRHChecked *bool `json:"hydraulic_rh_checked"`
OilTransmissionMGBChecked *bool `json:"oil_transmission_mgb_checked"`
OilTransmissionIGBChecked *bool `json:"oil_transmission_igb_checked"`
OilTransmissionTGBChecked *bool `json:"oil_transmission_tgb_checked"`
FuelAmount *float64 `json:"fuel_amount"`
FuelUnit *string `json:"fuel_unit"`
FuelAddedAmount *float64 `json:"fuel_added_amount"`
Note *string `json:"note"`
}