pg_rob_infos_dao.go 561 字节
package dao

import (
	"fmt"
	pgTransaction "github.com/linmadan/egglib-go/transaction/pg"
)

type RobInfosDao struct {
	transactionContext *pgTransaction.TransactionContext
}

//TODO ChangeRobInfosReceiverAccount
func (dao *RobInfosDao) ChangeRobInfosReceiverAccount() {

}

func NewRobInfosDao(transactionContext *pgTransaction.TransactionContext) (*RobInfosDao, error) {
	if transactionContext == nil {
		return nil, fmt.Errorf("transactionContext参数不能为nil")
	} else {
		return &RobInfosDao{
			transactionContext: transactionContext,
		}, nil
	}
}