init push
This commit is contained in:
11
internal/domain/action_signoff/repository.go
Normal file
11
internal/domain/action_signoff/repository.go
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user