package hospital

import "context"

type Repository interface {
	Create(ctx context.Context, hospital *Hospital) error
	Update(ctx context.Context, hospital *Hospital) error
	Delete(ctx context.Context, id []byte, deletedBy []byte) error
	GetByID(ctx context.Context, id []byte) (*Hospital, error)
	List(ctx context.Context, filter, sort string, limit, offset int) ([]Hospital, int64, error)
}
