package repository

import (
	"context"

	"haixun-backend/internal/model/copy_draft/domain/entity"
)

type Repository interface {
	EnsureIndexes(ctx context.Context) error
	Create(ctx context.Context, draft *entity.CopyDraft) error
	List(ctx context.Context, tenantID, ownerUID, personaID string, limit int) ([]entity.CopyDraft, error)
}
