package store

import (
	"context"

	"github.com/pingcap-inc/data-ingestion-tools/model"
)

type CreatedCollectionStore interface {
	List(_ context.Context) (records []model.CreatedCollection, err error)
	ListCurrentMonth(_ context.Context, billMonth string) (records []*model.CreatedCollection, err error)
	DeleteAndSave(_ context.Context, records []model.CreatedCollection) ([]model.CreatedCollection, error)
	Update(_ context.Context, record *model.CreatedCollection) error
}
