package model import "github.com/zeromicro/go-zero/core/stores/sqlx" var _ NhGamesPropertyLogsModel = (*customNhGamesPropertyLogsModel)(nil) type ( // NhGamesPropertyLogsModel is an interface to be customized, add more methods here, // and implement the added methods in customNhGamesPropertyLogsModel. NhGamesPropertyLogsModel interface { nhGamesPropertyLogsModel WithSession(session sqlx.Session) NhGamesPropertyLogsModel } customNhGamesPropertyLogsModel struct { *defaultNhGamesPropertyLogsModel } ) // NewNhGamesPropertyLogsModel returns a model for the database table. func NewNhGamesPropertyLogsModel(conn sqlx.SqlConn) NhGamesPropertyLogsModel { return &customNhGamesPropertyLogsModel{ defaultNhGamesPropertyLogsModel: newNhGamesPropertyLogsModel(conn), } } func (m *customNhGamesPropertyLogsModel) WithSession(session sqlx.Session) NhGamesPropertyLogsModel { return NewNhGamesPropertyLogsModel(sqlx.NewSqlConnFromSession(session)) }