package restore

import (
	"context"

	"github.com/tidbcloud/dataflow-service/app/models/domain"
	"github.com/tidbcloud/pkgv2/bizerr"
)

type RestoreModel interface {
	Create(ctx context.Context, req *domain.CreateRestoreReqV2) (*domain.CreateRestoreRespV2, bizerr.BizError)
	Cancel(ctx context.Context, req *domain.CancelRestoreReqV2) (*domain.CancelRestoreRespV2, bizerr.BizError)
	Query(ctx context.Context, req *domain.QueryRestoreReqV2) (*domain.QueryRestoreRespV2, bizerr.BizError)
	List(ctx context.Context, req *domain.ListRestoreReqV2) (*domain.ListRestoreRespV2, bizerr.BizError)
}
