pg_bidder_infos_dao.go
578 字节
package dao
import (
"fmt"
pgTransaction "github.com/linmadan/egglib-go/transaction/pg"
)
type BidderInfosDao struct {
transactionContext *pgTransaction.TransactionContext
}
//TODO ChangeBidderInfosBidderAccount
func (dao *BidderInfosDao) ChangeBidderInfosBidderAccount() {
}
func NewBidderInfosDao(transactionContext *pgTransaction.TransactionContext) (*BidderInfosDao, error) {
if transactionContext == nil {
return nil, fmt.Errorf("transactionContext参数不能为nil")
} else {
return &BidderInfosDao{
transactionContext: transactionContext,
}, nil
}
}