init push
This commit is contained in:
11
internal/domain/fleet_history/repository.go
Normal file
11
internal/domain/fleet_history/repository.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package fleethistory
|
||||
|
||||
import "context"
|
||||
|
||||
type Repository interface {
|
||||
Create(ctx context.Context, row *FleetHistory) error
|
||||
ListByHelicopter(ctx context.Context, helicopterID []byte, limit, offset int) ([]FleetHistory, int64, error)
|
||||
// HelicopterIDByInspection resolves the helicopter linked to a flight inspection
|
||||
// via its reserve_ac, returning nil bytes when none is found.
|
||||
HelicopterIDByInspection(ctx context.Context, inspectionID []byte) ([]byte, error)
|
||||
}
|
||||
Reference in New Issue
Block a user