package model

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

var _ AgentFreezeTaskModel = (*customAgentFreezeTaskModel)(nil)

type (
	// AgentFreezeTaskModel is an interface to be customized, add more methods here,
	// and implement the added methods in customAgentFreezeTaskModel.
	AgentFreezeTaskModel interface {
		agentFreezeTaskModel
	}

	customAgentFreezeTaskModel struct {
		*defaultAgentFreezeTaskModel
	}
)

// NewAgentFreezeTaskModel returns a model for the database table.
func NewAgentFreezeTaskModel(conn sqlx.SqlConn, c cache.CacheConf) AgentFreezeTaskModel {
	return &customAgentFreezeTaskModel{
		defaultAgentFreezeTaskModel: newAgentFreezeTaskModel(conn, c),
	}
}
