package model

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ YunyinSignPayOrderModel = (*customYunyinSignPayOrderModel)(nil)

type (
	// YunyinSignPayOrderModel is an interface to be customized, add more methods here,
	// and implement the added methods in customYunyinSignPayOrderModel.
	YunyinSignPayOrderModel interface {
		yunyinSignPayOrderModel
	}

	customYunyinSignPayOrderModel struct {
		*defaultYunyinSignPayOrderModel
	}
)

// NewYunyinSignPayOrderModel returns a model for the database table.
func NewYunyinSignPayOrderModel(conn sqlx.SqlConn, c cache.CacheConf) YunyinSignPayOrderModel {
	return &customYunyinSignPayOrderModel{
		defaultYunyinSignPayOrderModel: newYunyinSignPayOrderModel(conn, c),
	}
}
