init push
This commit is contained in:
13
internal/domain/flight_inspection/repository.go
Normal file
13
internal/domain/flight_inspection/repository.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package flightinspection
|
||||
|
||||
import "context"
|
||||
|
||||
type FlightInspectionRepository interface {
|
||||
Create(ctx context.Context, row *FlightInspection) error
|
||||
Update(ctx context.Context, row *FlightInspection) error
|
||||
GetByID(ctx context.Context, id []byte) (*FlightInspection, error)
|
||||
List(ctx context.Context, sort string, limit, offset int) ([]FlightInspection, int64, error)
|
||||
}
|
||||
|
||||
// Repository is kept as backward-compatible alias for older services/wirings.
|
||||
type Repository = FlightInspectionRepository
|
||||
Reference in New Issue
Block a user