Files
fm_be/internal/domain/action_signoff/repository.go
2026-07-16 22:16:45 +07:00

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
}