app-cloudep-trade-service/internal/model/wallet_journal_model.go

25 lines
641 B
Go
Raw Normal View History

2024-10-29 08:17:31 +00:00
package model
import "github.com/zeromicro/go-zero/core/stores/sqlx"
var _ WalletJournalModel = (*customWalletJournalModel)(nil)
type (
// WalletJournalModel is an interface to be customized, add more methods here,
// and implement the added methods in customWalletJournalModel.
WalletJournalModel interface {
walletJournalModel
}
customWalletJournalModel struct {
*defaultWalletJournalModel
}
)
// NewWalletJournalModel returns a model for the database table.
func NewWalletJournalModel(conn sqlx.SqlConn) WalletJournalModel {
return &customWalletJournalModel{
defaultWalletJournalModel: newWalletJournalModel(conn),
}
}