init push
This commit is contained in:
10
internal/domain/flight_prep_check/repository.go
Normal file
10
internal/domain/flight_prep_check/repository.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package flightprepcheck
|
||||
|
||||
import "context"
|
||||
|
||||
type Repository interface {
|
||||
Create(ctx context.Context, check *FlightPrepCheck) error
|
||||
Update(ctx context.Context, check *FlightPrepCheck) error
|
||||
GetByID(ctx context.Context, id []byte) (*FlightPrepCheck, error)
|
||||
GetByFlightInspectionID(ctx context.Context, flightInspectionID []byte) (*FlightPrepCheck, error)
|
||||
}
|
||||
Reference in New Issue
Block a user