package paymentconfig

import (
	"hfb_sys/backend/internal/auditlog"

	"gorm.io/gorm"
)

type Repository struct {
	db        *gorm.DB
	encryptor Encryptor
}

type AuditMeta = auditlog.Meta

func NewRepository(db *gorm.DB, encryptor Encryptor) *Repository {
	return &Repository{
		db:        db,
		encryptor: encryptor,
	}
}

// List 获取配置列表
