pg_sent_notifications_dao.go 616 字节
package dao

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

type SentNotificationDao struct {
	transactionContext *pgTransaction.TransactionContext
}

//TODO ChangeSentNotificationReceiverAccount
func (dao *SentNotificationDao) ChangeSentNotificationReceiverAccount() {

}

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