12 lines
435 B
Go
12 lines
435 B
Go
package actionsignoff
|
|
|
|
import "context"
|
|
|
|
type Repository interface {
|
|
GetByFlight(ctx context.Context, flightID []byte) (*ActionSignoff, error)
|
|
GetByComplaint(ctx context.Context, complaintID []byte) (*ActionSignoff, error)
|
|
GetByComplaintIDs(ctx context.Context, complaintIDs [][]byte) (map[string]*ActionSignoff, error)
|
|
Create(ctx context.Context, row *ActionSignoff) error
|
|
Update(ctx context.Context, row *ActionSignoff) error
|
|
}
|