package store

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

type CloudBillingStore interface {
	ListOverSeaByMonth(cloudProvider, yearMonth string, offset, pageSize int) (records []model.CloudBillingOverSea, total int64, err error)
	ListDomesticByMonth(cloudProvider, yearMonth string, offset, pageSize int) (records []model.CloudBillingDomestic, total int64, err error)
	ListAccountByMonth(cloudProvider, yearMonth string, offset, pageSize int) (records []model.CloudRevrecAccount, total int64, err error)
	SaveOverSeaByMonth(records []*model.CloudBillingOverSea, yearMonth string, cloudProvider string) error
	SaveDomesticByMonth(records []*model.CloudBillingDomestic, yearMonth string, cloudProvider string) error
	SaveAccountByMonth(records []*model.CloudRevrecAccount, yearMonth string) error
}
