pg_sent_notifications_dao.go 652 字节
package dao

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

type SentNotificationDao struct {
	transactionContext *pgTransaction.TransactionContext
}

// ChangeSentNotificationReceiverAccount TODO 修改已发送通知用户信息
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
	}
}