evaluation_project.go 516 字节
package dao

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

type EvaluationProjectDao struct {
	transactionContext *pgTransaction.TransactionContext
}

func NewEvaluationProjectDao(options map[string]interface{}) *EvaluationProjectDao {
	var transactionContext *pgTransaction.TransactionContext
	if value, ok := options["transactionContext"]; ok {
		transactionContext = value.(*pgTransaction.TransactionContext)
	}
	return &EvaluationProjectDao{
		transactionContext: transactionContext,
	}
}