|
123456789101112131415161718192021222324252627 |
- package model
-
- import (
- "github.com/zeromicro/go-zero/core/stores/cache"
- "github.com/zeromicro/go-zero/core/stores/sqlx"
- )
-
- var _ ScNodePhyInfoModel = (*customScNodePhyInfoModel)(nil)
-
- type (
- // ScNodePhyInfoModel is an interface to be customized, add more methods here,
- // and implement the added methods in customScNodePhyInfoModel.
- ScNodePhyInfoModel interface {
- scNodePhyInfoModel
- }
-
- customScNodePhyInfoModel struct {
- *defaultScNodePhyInfoModel
- }
- )
-
- // NewScNodePhyInfoModel returns a model for the database table.
- func NewScNodePhyInfoModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) ScNodePhyInfoModel {
- return &customScNodePhyInfoModel{
- defaultScNodePhyInfoModel: newScNodePhyInfoModel(conn, c, opts...),
- }
- }
|