dbschema

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2024 License: AGPL-3.0 Imports: 8 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WithPrefix = func(tableName string) string {
	return "" + tableName
}

Functions

This section is empty.

Types

type NgingAlertRecipient

type NgingAlertRecipient struct {
	Id          uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Name        string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"`
	Account     string `db:"account" bson:"account" comment:"账号" json:"account" xml:"account"`
	Extra       string `db:"extra" bson:"extra" comment:"扩展信息(JSON)" json:"extra" xml:"extra"`
	Type        string `db:"type" bson:"type" comment:"类型" json:"type" xml:"type"`
	Platform    string `db:"platform" bson:"platform" comment:"平台(dingding-钉钉;workwx-企业微信)" json:"platform" xml:"platform"`
	Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"`
	Disabled    string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	Created     uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated     uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

NgingAlertRecipient 报警收信人

func NewNgingAlertRecipient

func NewNgingAlertRecipient(ctx echo.Context) *NgingAlertRecipient

func (*NgingAlertRecipient) AsKV

func (a *NgingAlertRecipient) AsKV(keyField string, valueField string, inputRows ...[]*NgingAlertRecipient) param.Store

func (*NgingAlertRecipient) AsMap

func (a *NgingAlertRecipient) AsMap(onlyFields ...string) param.Store

func (*NgingAlertRecipient) AsRow

func (a *NgingAlertRecipient) AsRow(onlyFields ...string) param.Store

func (*NgingAlertRecipient) Base_

func (a *NgingAlertRecipient) Base_() factory.Baser

func (*NgingAlertRecipient) BatchValidate

func (a *NgingAlertRecipient) BatchValidate(kvset map[string]interface{}) error

func (*NgingAlertRecipient) CPAFrom

func (a *NgingAlertRecipient) CPAFrom(source factory.Model) factory.Model

func (*NgingAlertRecipient) ConnID

func (a *NgingAlertRecipient) ConnID() int

func (*NgingAlertRecipient) Context

func (a *NgingAlertRecipient) Context() echo.Context

func (*NgingAlertRecipient) Count

func (a *NgingAlertRecipient) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingAlertRecipient) Delete

func (a *NgingAlertRecipient) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertRecipient) Deletex

func (a *NgingAlertRecipient) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingAlertRecipient) EventOFF

func (a *NgingAlertRecipient) EventOFF(off ...bool) factory.Model

func (*NgingAlertRecipient) EventON

func (a *NgingAlertRecipient) EventON(on ...bool) factory.Model

func (*NgingAlertRecipient) Exists

func (a *NgingAlertRecipient) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingAlertRecipient) FromRow

func (a *NgingAlertRecipient) FromRow(row map[string]interface{})

func (*NgingAlertRecipient) Get

func (a *NgingAlertRecipient) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertRecipient) GroupBy

func (a *NgingAlertRecipient) GroupBy(keyField string, inputRows ...[]*NgingAlertRecipient) map[string][]*NgingAlertRecipient

func (*NgingAlertRecipient) InitObjects

func (a *NgingAlertRecipient) InitObjects() *[]*NgingAlertRecipient

func (*NgingAlertRecipient) Insert

func (a *NgingAlertRecipient) Insert() (pk interface{}, err error)

func (*NgingAlertRecipient) KeyBy

func (a *NgingAlertRecipient) KeyBy(keyField string, inputRows ...[]*NgingAlertRecipient) map[string]*NgingAlertRecipient

func (*NgingAlertRecipient) List

func (a *NgingAlertRecipient) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingAlertRecipient) ListByOffset

func (a *NgingAlertRecipient) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingAlertRecipient) ListPage

func (a *NgingAlertRecipient) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingAlertRecipient) ListPageAs

func (a *NgingAlertRecipient) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingAlertRecipient) Name_

func (a *NgingAlertRecipient) Name_() string

func (*NgingAlertRecipient) Namer

func (a *NgingAlertRecipient) Namer() func(factory.Model) string

func (*NgingAlertRecipient) New

func (a *NgingAlertRecipient) New(structName string, connID ...int) factory.Model

func (*NgingAlertRecipient) NewObjects

func (a *NgingAlertRecipient) NewObjects() factory.Ranger

func (*NgingAlertRecipient) NewParam

func (a *NgingAlertRecipient) NewParam() *factory.Param

func (*NgingAlertRecipient) Objects

func (a *NgingAlertRecipient) Objects() []*NgingAlertRecipient

func (*NgingAlertRecipient) Param

func (a *NgingAlertRecipient) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingAlertRecipient) Reset

func (*NgingAlertRecipient) Set

func (a *NgingAlertRecipient) Set(key interface{}, value ...interface{})

func (*NgingAlertRecipient) SetConnID

func (a *NgingAlertRecipient) SetConnID(connID int) factory.Model

func (*NgingAlertRecipient) SetContext

func (a *NgingAlertRecipient) SetContext(ctx echo.Context) factory.Model

func (*NgingAlertRecipient) SetNamer

func (a *NgingAlertRecipient) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingAlertRecipient) SetParam

func (a *NgingAlertRecipient) SetParam(param *factory.Param) factory.Model

func (*NgingAlertRecipient) Short_

func (a *NgingAlertRecipient) Short_() string

func (*NgingAlertRecipient) Struct_

func (a *NgingAlertRecipient) Struct_() string

func (*NgingAlertRecipient) Trans

func (*NgingAlertRecipient) Update

func (a *NgingAlertRecipient) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertRecipient) UpdateByFields

func (a *NgingAlertRecipient) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingAlertRecipient) UpdateField

func (a *NgingAlertRecipient) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingAlertRecipient) UpdateFields

func (a *NgingAlertRecipient) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingAlertRecipient) UpdateValues

func (a *NgingAlertRecipient) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingAlertRecipient) Updatex

func (a *NgingAlertRecipient) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingAlertRecipient) UpdatexByFields

func (a *NgingAlertRecipient) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingAlertRecipient) UpdatexField

func (a *NgingAlertRecipient) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingAlertRecipient) UpdatexFields

func (a *NgingAlertRecipient) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingAlertRecipient) Upsert

func (a *NgingAlertRecipient) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingAlertRecipient) Use

func (*NgingAlertRecipient) Validate

func (a *NgingAlertRecipient) Validate(field string, value interface{}) error

func (*NgingAlertRecipient) XObjects

type NgingAlertTopic

type NgingAlertTopic struct {
	Id          uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Topic       string `db:"topic" bson:"topic" comment:"通知专题" json:"topic" xml:"topic"`
	RecipientId uint   `db:"recipient_id" bson:"recipient_id" comment:"收信账号" json:"recipient_id" xml:"recipient_id"`
	Disabled    string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	Created     uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated     uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

NgingAlertTopic 报警收信专题关联

func NewNgingAlertTopic

func NewNgingAlertTopic(ctx echo.Context) *NgingAlertTopic

func (*NgingAlertTopic) AsKV

func (a *NgingAlertTopic) AsKV(keyField string, valueField string, inputRows ...[]*NgingAlertTopic) param.Store

func (*NgingAlertTopic) AsMap

func (a *NgingAlertTopic) AsMap(onlyFields ...string) param.Store

func (*NgingAlertTopic) AsRow

func (a *NgingAlertTopic) AsRow(onlyFields ...string) param.Store

func (*NgingAlertTopic) Base_

func (a *NgingAlertTopic) Base_() factory.Baser

func (*NgingAlertTopic) BatchValidate

func (a *NgingAlertTopic) BatchValidate(kvset map[string]interface{}) error

func (*NgingAlertTopic) CPAFrom

func (a *NgingAlertTopic) CPAFrom(source factory.Model) factory.Model

func (*NgingAlertTopic) ConnID

func (a *NgingAlertTopic) ConnID() int

func (*NgingAlertTopic) Context

func (a *NgingAlertTopic) Context() echo.Context

func (*NgingAlertTopic) Count

func (a *NgingAlertTopic) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingAlertTopic) Delete

func (a *NgingAlertTopic) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertTopic) Deletex

func (a *NgingAlertTopic) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingAlertTopic) EventOFF

func (a *NgingAlertTopic) EventOFF(off ...bool) factory.Model

func (*NgingAlertTopic) EventON

func (a *NgingAlertTopic) EventON(on ...bool) factory.Model

func (*NgingAlertTopic) Exists

func (a *NgingAlertTopic) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingAlertTopic) FromRow

func (a *NgingAlertTopic) FromRow(row map[string]interface{})

func (*NgingAlertTopic) Get

func (a *NgingAlertTopic) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertTopic) GroupBy

func (a *NgingAlertTopic) GroupBy(keyField string, inputRows ...[]*NgingAlertTopic) map[string][]*NgingAlertTopic

func (*NgingAlertTopic) InitObjects

func (a *NgingAlertTopic) InitObjects() *[]*NgingAlertTopic

func (*NgingAlertTopic) Insert

func (a *NgingAlertTopic) Insert() (pk interface{}, err error)

func (*NgingAlertTopic) KeyBy

func (a *NgingAlertTopic) KeyBy(keyField string, inputRows ...[]*NgingAlertTopic) map[string]*NgingAlertTopic

func (*NgingAlertTopic) List

func (a *NgingAlertTopic) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingAlertTopic) ListByOffset

func (a *NgingAlertTopic) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingAlertTopic) ListPage

func (a *NgingAlertTopic) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingAlertTopic) ListPageAs

func (a *NgingAlertTopic) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingAlertTopic) Name_

func (a *NgingAlertTopic) Name_() string

func (*NgingAlertTopic) Namer

func (a *NgingAlertTopic) Namer() func(factory.Model) string

func (*NgingAlertTopic) New

func (a *NgingAlertTopic) New(structName string, connID ...int) factory.Model

func (*NgingAlertTopic) NewObjects

func (a *NgingAlertTopic) NewObjects() factory.Ranger

func (*NgingAlertTopic) NewParam

func (a *NgingAlertTopic) NewParam() *factory.Param

func (*NgingAlertTopic) Objects

func (a *NgingAlertTopic) Objects() []*NgingAlertTopic

func (*NgingAlertTopic) Param

func (a *NgingAlertTopic) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingAlertTopic) Reset

func (a *NgingAlertTopic) Reset() *NgingAlertTopic

func (*NgingAlertTopic) Set

func (a *NgingAlertTopic) Set(key interface{}, value ...interface{})

func (*NgingAlertTopic) SetConnID

func (a *NgingAlertTopic) SetConnID(connID int) factory.Model

func (*NgingAlertTopic) SetContext

func (a *NgingAlertTopic) SetContext(ctx echo.Context) factory.Model

func (*NgingAlertTopic) SetNamer

func (a *NgingAlertTopic) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingAlertTopic) SetParam

func (a *NgingAlertTopic) SetParam(param *factory.Param) factory.Model

func (*NgingAlertTopic) Short_

func (a *NgingAlertTopic) Short_() string

func (*NgingAlertTopic) Struct_

func (a *NgingAlertTopic) Struct_() string

func (*NgingAlertTopic) Trans

func (*NgingAlertTopic) Update

func (a *NgingAlertTopic) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertTopic) UpdateByFields

func (a *NgingAlertTopic) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingAlertTopic) UpdateField

func (a *NgingAlertTopic) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingAlertTopic) UpdateFields

func (a *NgingAlertTopic) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingAlertTopic) UpdateValues

func (a *NgingAlertTopic) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingAlertTopic) Updatex

func (a *NgingAlertTopic) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingAlertTopic) UpdatexByFields

func (a *NgingAlertTopic) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingAlertTopic) UpdatexField

func (a *NgingAlertTopic) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingAlertTopic) UpdatexFields

func (a *NgingAlertTopic) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingAlertTopic) Upsert

func (a *NgingAlertTopic) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingAlertTopic) Use

func (*NgingAlertTopic) Validate

func (a *NgingAlertTopic) Validate(field string, value interface{}) error

func (*NgingAlertTopic) XObjects

func (a *NgingAlertTopic) XObjects() Slice_NgingAlertTopic

type NgingCloudBackup

type NgingCloudBackup struct {
	Id                uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Name              string `db:"name" bson:"name" comment:"配置名" json:"name" xml:"name"`
	SourcePath        string `db:"source_path" bson:"source_path" comment:"源" json:"source_path" xml:"source_path"`
	IgnoreRule        string `db:"ignore_rule" bson:"ignore_rule" comment:"忽略文件路径(正则表达式)" json:"ignore_rule" xml:"ignore_rule"`
	MatchRule         string `db:"match_rule" bson:"match_rule" comment:"匹配规则(正则表达式)" json:"match_rule" xml:"match_rule"`
	WaitFillCompleted string `` /* 145-byte string literal not displayed */
	MinModifyInterval uint   `` /* 133-byte string literal not displayed */
	IgnoreWaitRule    string `` /* 136-byte string literal not displayed */
	Delay             uint   `db:"delay" bson:"delay" comment:"延后秒数" json:"delay" xml:"delay"`
	StorageEngine     string `db:"storage_engine" bson:"storage_engine" comment:"存储引擎" json:"storage_engine" xml:"storage_engine"`
	StorageConfig     string `db:"storage_config" bson:"storage_config" comment:"存储引擎配置参数(JSON)" json:"storage_config" xml:"storage_config"`
	DestStorage       uint   `db:"dest_storage" bson:"dest_storage" comment:"目标存储ID" json:"dest_storage" xml:"dest_storage"`
	DestPath          string `db:"dest_path" bson:"dest_path" comment:"目标存储路径" json:"dest_path" xml:"dest_path"`
	Result            string `db:"result" bson:"result" comment:"运行结果" json:"result" xml:"result"`
	LastExecuted      uint   `db:"last_executed" bson:"last_executed" comment:"最近运行时间" json:"last_executed" xml:"last_executed"`
	Status            string `db:"status" bson:"status" comment:"运行状态" json:"status" xml:"status"`
	Disabled          string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	LogDisabled       string `db:"log_disabled" bson:"log_disabled" comment:"是否(Y/N)禁用日志" json:"log_disabled" xml:"log_disabled"`
	LogType           string `db:"log_type" bson:"log_type" comment:"日志类型(error-仅记录报错;all-记录所有)" json:"log_type" xml:"log_type"`
	Created           uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated           uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

NgingCloudBackup 云备份

func NewNgingCloudBackup

func NewNgingCloudBackup(ctx echo.Context) *NgingCloudBackup

func (*NgingCloudBackup) AsKV

func (a *NgingCloudBackup) AsKV(keyField string, valueField string, inputRows ...[]*NgingCloudBackup) param.Store

func (*NgingCloudBackup) AsMap

func (a *NgingCloudBackup) AsMap(onlyFields ...string) param.Store

func (*NgingCloudBackup) AsRow

func (a *NgingCloudBackup) AsRow(onlyFields ...string) param.Store

func (*NgingCloudBackup) Base_

func (a *NgingCloudBackup) Base_() factory.Baser

func (*NgingCloudBackup) BatchValidate

func (a *NgingCloudBackup) BatchValidate(kvset map[string]interface{}) error

func (*NgingCloudBackup) CPAFrom

func (a *NgingCloudBackup) CPAFrom(source factory.Model) factory.Model

func (*NgingCloudBackup) ConnID

func (a *NgingCloudBackup) ConnID() int

func (*NgingCloudBackup) Context

func (a *NgingCloudBackup) Context() echo.Context

func (*NgingCloudBackup) Count

func (a *NgingCloudBackup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCloudBackup) Delete

func (a *NgingCloudBackup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudBackup) Deletex

func (a *NgingCloudBackup) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackup) EventOFF

func (a *NgingCloudBackup) EventOFF(off ...bool) factory.Model

func (*NgingCloudBackup) EventON

func (a *NgingCloudBackup) EventON(on ...bool) factory.Model

func (*NgingCloudBackup) Exists

func (a *NgingCloudBackup) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingCloudBackup) FromRow

func (a *NgingCloudBackup) FromRow(row map[string]interface{})

func (*NgingCloudBackup) Get

func (a *NgingCloudBackup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudBackup) GroupBy

func (a *NgingCloudBackup) GroupBy(keyField string, inputRows ...[]*NgingCloudBackup) map[string][]*NgingCloudBackup

func (*NgingCloudBackup) InitObjects

func (a *NgingCloudBackup) InitObjects() *[]*NgingCloudBackup

func (*NgingCloudBackup) Insert

func (a *NgingCloudBackup) Insert() (pk interface{}, err error)

func (*NgingCloudBackup) KeyBy

func (a *NgingCloudBackup) KeyBy(keyField string, inputRows ...[]*NgingCloudBackup) map[string]*NgingCloudBackup

func (*NgingCloudBackup) List

func (a *NgingCloudBackup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCloudBackup) ListByOffset

func (a *NgingCloudBackup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCloudBackup) ListPage

func (a *NgingCloudBackup) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingCloudBackup) ListPageAs

func (a *NgingCloudBackup) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingCloudBackup) Name_

func (a *NgingCloudBackup) Name_() string

func (*NgingCloudBackup) Namer

func (a *NgingCloudBackup) Namer() func(factory.Model) string

func (*NgingCloudBackup) New

func (a *NgingCloudBackup) New(structName string, connID ...int) factory.Model

func (*NgingCloudBackup) NewObjects

func (a *NgingCloudBackup) NewObjects() factory.Ranger

func (*NgingCloudBackup) NewParam

func (a *NgingCloudBackup) NewParam() *factory.Param

func (*NgingCloudBackup) Objects

func (a *NgingCloudBackup) Objects() []*NgingCloudBackup

func (*NgingCloudBackup) Param

func (a *NgingCloudBackup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCloudBackup) Reset

func (a *NgingCloudBackup) Reset() *NgingCloudBackup

func (*NgingCloudBackup) Set

func (a *NgingCloudBackup) Set(key interface{}, value ...interface{})

func (*NgingCloudBackup) SetConnID

func (a *NgingCloudBackup) SetConnID(connID int) factory.Model

func (*NgingCloudBackup) SetContext

func (a *NgingCloudBackup) SetContext(ctx echo.Context) factory.Model

func (*NgingCloudBackup) SetNamer

func (a *NgingCloudBackup) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingCloudBackup) SetParam

func (a *NgingCloudBackup) SetParam(param *factory.Param) factory.Model

func (*NgingCloudBackup) Short_

func (a *NgingCloudBackup) Short_() string

func (*NgingCloudBackup) Struct_

func (a *NgingCloudBackup) Struct_() string

func (*NgingCloudBackup) Trans

func (*NgingCloudBackup) Update

func (a *NgingCloudBackup) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudBackup) UpdateByFields

func (a *NgingCloudBackup) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingCloudBackup) UpdateField

func (a *NgingCloudBackup) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCloudBackup) UpdateFields

func (a *NgingCloudBackup) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCloudBackup) UpdateValues

func (a *NgingCloudBackup) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingCloudBackup) Updatex

func (a *NgingCloudBackup) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackup) UpdatexByFields

func (a *NgingCloudBackup) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackup) UpdatexField

func (a *NgingCloudBackup) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackup) UpdatexFields

func (a *NgingCloudBackup) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackup) Upsert

func (a *NgingCloudBackup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCloudBackup) Use

func (*NgingCloudBackup) Validate

func (a *NgingCloudBackup) Validate(field string, value interface{}) error

func (*NgingCloudBackup) XObjects

type NgingCloudBackupLog

type NgingCloudBackupLog struct {
	Id         uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	BackupId   uint   `db:"backup_id" bson:"backup_id" comment:"云备份规则ID" json:"backup_id" xml:"backup_id"`
	BackupType string `` /* 152-byte string literal not displayed */
	BackupFile string `db:"backup_file" bson:"backup_file" comment:"需要备份本地文件" json:"backup_file" xml:"backup_file"`
	RemoteFile string `db:"remote_file" bson:"remote_file" comment:"保存到远程的文件路径" json:"remote_file" xml:"remote_file"`
	Operation  string `db:"operation" bson:"operation" comment:"操作" json:"operation" xml:"operation"`
	Error      string `db:"error" bson:"error" comment:"错误信息" json:"error" xml:"error"`
	Status     string `db:"status" bson:"status" comment:"状态" json:"status" xml:"status"`
	Size       uint64 `db:"size" bson:"size" comment:"文件大小(字节)" json:"size" xml:"size"`
	Elapsed    uint   `db:"elapsed" bson:"elapsed" comment:"消耗时间(毫秒)" json:"elapsed" xml:"elapsed"`
	Created    uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

NgingCloudBackupLog 云备份日志

func NewNgingCloudBackupLog

func NewNgingCloudBackupLog(ctx echo.Context) *NgingCloudBackupLog

func (*NgingCloudBackupLog) AsKV

func (a *NgingCloudBackupLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingCloudBackupLog) param.Store

func (*NgingCloudBackupLog) AsMap

func (a *NgingCloudBackupLog) AsMap(onlyFields ...string) param.Store

func (*NgingCloudBackupLog) AsRow

func (a *NgingCloudBackupLog) AsRow(onlyFields ...string) param.Store

func (*NgingCloudBackupLog) Base_

func (a *NgingCloudBackupLog) Base_() factory.Baser

func (*NgingCloudBackupLog) BatchValidate

func (a *NgingCloudBackupLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingCloudBackupLog) CPAFrom

func (a *NgingCloudBackupLog) CPAFrom(source factory.Model) factory.Model

func (*NgingCloudBackupLog) ConnID

func (a *NgingCloudBackupLog) ConnID() int

func (*NgingCloudBackupLog) Context

func (a *NgingCloudBackupLog) Context() echo.Context

func (*NgingCloudBackupLog) Count

func (a *NgingCloudBackupLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCloudBackupLog) Delete

func (a *NgingCloudBackupLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudBackupLog) Deletex

func (a *NgingCloudBackupLog) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackupLog) EventOFF

func (a *NgingCloudBackupLog) EventOFF(off ...bool) factory.Model

func (*NgingCloudBackupLog) EventON

func (a *NgingCloudBackupLog) EventON(on ...bool) factory.Model

func (*NgingCloudBackupLog) Exists

func (a *NgingCloudBackupLog) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingCloudBackupLog) FromRow

func (a *NgingCloudBackupLog) FromRow(row map[string]interface{})

func (*NgingCloudBackupLog) Get

func (a *NgingCloudBackupLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudBackupLog) GroupBy

func (a *NgingCloudBackupLog) GroupBy(keyField string, inputRows ...[]*NgingCloudBackupLog) map[string][]*NgingCloudBackupLog

func (*NgingCloudBackupLog) InitObjects

func (a *NgingCloudBackupLog) InitObjects() *[]*NgingCloudBackupLog

func (*NgingCloudBackupLog) Insert

func (a *NgingCloudBackupLog) Insert() (pk interface{}, err error)

func (*NgingCloudBackupLog) KeyBy

func (a *NgingCloudBackupLog) KeyBy(keyField string, inputRows ...[]*NgingCloudBackupLog) map[string]*NgingCloudBackupLog

func (*NgingCloudBackupLog) List

func (a *NgingCloudBackupLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCloudBackupLog) ListByOffset

func (a *NgingCloudBackupLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCloudBackupLog) ListPage

func (a *NgingCloudBackupLog) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingCloudBackupLog) ListPageAs

func (a *NgingCloudBackupLog) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingCloudBackupLog) Name_

func (a *NgingCloudBackupLog) Name_() string

func (*NgingCloudBackupLog) Namer

func (a *NgingCloudBackupLog) Namer() func(factory.Model) string

func (*NgingCloudBackupLog) New

func (a *NgingCloudBackupLog) New(structName string, connID ...int) factory.Model

func (*NgingCloudBackupLog) NewObjects

func (a *NgingCloudBackupLog) NewObjects() factory.Ranger

func (*NgingCloudBackupLog) NewParam

func (a *NgingCloudBackupLog) NewParam() *factory.Param

func (*NgingCloudBackupLog) Objects

func (a *NgingCloudBackupLog) Objects() []*NgingCloudBackupLog

func (*NgingCloudBackupLog) Param

func (a *NgingCloudBackupLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCloudBackupLog) Reset

func (*NgingCloudBackupLog) Set

func (a *NgingCloudBackupLog) Set(key interface{}, value ...interface{})

func (*NgingCloudBackupLog) SetConnID

func (a *NgingCloudBackupLog) SetConnID(connID int) factory.Model

func (*NgingCloudBackupLog) SetContext

func (a *NgingCloudBackupLog) SetContext(ctx echo.Context) factory.Model

func (*NgingCloudBackupLog) SetNamer

func (a *NgingCloudBackupLog) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingCloudBackupLog) SetParam

func (a *NgingCloudBackupLog) SetParam(param *factory.Param) factory.Model

func (*NgingCloudBackupLog) Short_

func (a *NgingCloudBackupLog) Short_() string

func (*NgingCloudBackupLog) Struct_

func (a *NgingCloudBackupLog) Struct_() string

func (*NgingCloudBackupLog) Trans

func (*NgingCloudBackupLog) Update

func (a *NgingCloudBackupLog) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudBackupLog) UpdateByFields

func (a *NgingCloudBackupLog) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingCloudBackupLog) UpdateField

func (a *NgingCloudBackupLog) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCloudBackupLog) UpdateFields

func (a *NgingCloudBackupLog) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCloudBackupLog) UpdateValues

func (a *NgingCloudBackupLog) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingCloudBackupLog) Updatex

func (a *NgingCloudBackupLog) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackupLog) UpdatexByFields

func (a *NgingCloudBackupLog) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackupLog) UpdatexField

func (a *NgingCloudBackupLog) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackupLog) UpdatexFields

func (a *NgingCloudBackupLog) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCloudBackupLog) Upsert

func (a *NgingCloudBackupLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCloudBackupLog) Use

func (*NgingCloudBackupLog) Validate

func (a *NgingCloudBackupLog) Validate(field string, value interface{}) error

func (*NgingCloudBackupLog) XObjects

type NgingCloudStorage

type NgingCloudStorage struct {
	Id       uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Name     string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"`
	Type     string `db:"type" bson:"type" comment:"存储类型(aws,oss,cos)" json:"type" xml:"type"`
	Key      string `db:"key" bson:"key" comment:"key" json:"key" xml:"key"`
	Secret   string `db:"secret" bson:"secret" comment:"密钥(加密处理)" json:"secret" xml:"secret"`
	Bucket   string `db:"bucket" bson:"bucket" comment:"存储桶" json:"bucket" xml:"bucket"`
	Endpoint string `db:"endpoint" bson:"endpoint" comment:"地域节点" json:"endpoint" xml:"endpoint"`
	Region   string `db:"region" bson:"region" comment:"地区" json:"region" xml:"region"`
	Secure   string `db:"secure" bson:"secure" comment:"是否(Y/N)HTTPS" json:"secure" xml:"secure"`
	Baseurl  string `db:"baseurl" bson:"baseurl" comment:"资源基础网址" json:"baseurl" xml:"baseurl"`
	Created  uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated  uint   `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

NgingCloudStorage 云存储账号

func NewNgingCloudStorage

func NewNgingCloudStorage(ctx echo.Context) *NgingCloudStorage

func (*NgingCloudStorage) AsKV

func (a *NgingCloudStorage) AsKV(keyField string, valueField string, inputRows ...[]*NgingCloudStorage) param.Store

func (*NgingCloudStorage) AsMap

func (a *NgingCloudStorage) AsMap(onlyFields ...string) param.Store

func (*NgingCloudStorage) AsRow

func (a *NgingCloudStorage) AsRow(onlyFields ...string) param.Store

func (*NgingCloudStorage) Base_

func (a *NgingCloudStorage) Base_() factory.Baser

func (*NgingCloudStorage) BatchValidate

func (a *NgingCloudStorage) BatchValidate(kvset map[string]interface{}) error

func (*NgingCloudStorage) CPAFrom

func (a *NgingCloudStorage) CPAFrom(source factory.Model) factory.Model

func (*NgingCloudStorage) ConnID

func (a *NgingCloudStorage) ConnID() int

func (*NgingCloudStorage) Context

func (a *NgingCloudStorage) Context() echo.Context

func (*NgingCloudStorage) Count

func (a *NgingCloudStorage) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCloudStorage) Delete

func (a *NgingCloudStorage) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudStorage) Deletex

func (a *NgingCloudStorage) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCloudStorage) EventOFF

func (a *NgingCloudStorage) EventOFF(off ...bool) factory.Model

func (*NgingCloudStorage) EventON

func (a *NgingCloudStorage) EventON(on ...bool) factory.Model

func (*NgingCloudStorage) Exists

func (a *NgingCloudStorage) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingCloudStorage) FromRow

func (a *NgingCloudStorage) FromRow(row map[string]interface{})

func (*NgingCloudStorage) Get

func (a *NgingCloudStorage) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudStorage) GroupBy

func (a *NgingCloudStorage) GroupBy(keyField string, inputRows ...[]*NgingCloudStorage) map[string][]*NgingCloudStorage

func (*NgingCloudStorage) InitObjects

func (a *NgingCloudStorage) InitObjects() *[]*NgingCloudStorage

func (*NgingCloudStorage) Insert

func (a *NgingCloudStorage) Insert() (pk interface{}, err error)

func (*NgingCloudStorage) KeyBy

func (a *NgingCloudStorage) KeyBy(keyField string, inputRows ...[]*NgingCloudStorage) map[string]*NgingCloudStorage

func (*NgingCloudStorage) List

func (a *NgingCloudStorage) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCloudStorage) ListByOffset

func (a *NgingCloudStorage) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCloudStorage) ListPage

func (a *NgingCloudStorage) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingCloudStorage) ListPageAs

func (a *NgingCloudStorage) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingCloudStorage) Name_

func (a *NgingCloudStorage) Name_() string

func (*NgingCloudStorage) Namer

func (a *NgingCloudStorage) Namer() func(factory.Model) string

func (*NgingCloudStorage) New

func (a *NgingCloudStorage) New(structName string, connID ...int) factory.Model

func (*NgingCloudStorage) NewObjects

func (a *NgingCloudStorage) NewObjects() factory.Ranger

func (*NgingCloudStorage) NewParam

func (a *NgingCloudStorage) NewParam() *factory.Param

func (*NgingCloudStorage) Objects

func (a *NgingCloudStorage) Objects() []*NgingCloudStorage

func (*NgingCloudStorage) Param

func (a *NgingCloudStorage) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCloudStorage) Reset

func (*NgingCloudStorage) Set

func (a *NgingCloudStorage) Set(key interface{}, value ...interface{})

func (*NgingCloudStorage) SetConnID

func (a *NgingCloudStorage) SetConnID(connID int) factory.Model

func (*NgingCloudStorage) SetContext

func (a *NgingCloudStorage) SetContext(ctx echo.Context) factory.Model

func (*NgingCloudStorage) SetNamer

func (a *NgingCloudStorage) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingCloudStorage) SetParam

func (a *NgingCloudStorage) SetParam(param *factory.Param) factory.Model

func (*NgingCloudStorage) Short_

func (a *NgingCloudStorage) Short_() string

func (*NgingCloudStorage) Struct_

func (a *NgingCloudStorage) Struct_() string

func (*NgingCloudStorage) Trans

func (*NgingCloudStorage) Update

func (a *NgingCloudStorage) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudStorage) UpdateByFields

func (a *NgingCloudStorage) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingCloudStorage) UpdateField

func (a *NgingCloudStorage) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCloudStorage) UpdateFields

func (a *NgingCloudStorage) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCloudStorage) UpdateValues

func (a *NgingCloudStorage) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingCloudStorage) Updatex

func (a *NgingCloudStorage) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCloudStorage) UpdatexByFields

func (a *NgingCloudStorage) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingCloudStorage) UpdatexField

func (a *NgingCloudStorage) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCloudStorage) UpdatexFields

func (a *NgingCloudStorage) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCloudStorage) Upsert

func (a *NgingCloudStorage) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCloudStorage) Use

func (*NgingCloudStorage) Validate

func (a *NgingCloudStorage) Validate(field string, value interface{}) error

func (*NgingCloudStorage) XObjects

type NgingCodeInvitation

type NgingCodeInvitation struct {
	Id       uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Uid      uint   `db:"uid" bson:"uid" comment:"创建者" json:"uid" xml:"uid"`
	RecvUid  uint   `db:"recv_uid" bson:"recv_uid" comment:"使用者" json:"recv_uid" xml:"recv_uid"`
	Code     string `db:"code" bson:"code" comment:"邀请码" json:"code" xml:"code"`
	Created  uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Used     uint   `db:"used" bson:"used" comment:"使用时间" json:"used" xml:"used"`
	Start    uint   `db:"start" bson:"start" comment:"有效时间" json:"start" xml:"start"`
	End      uint   `db:"end" bson:"end" comment:"失效时间" json:"end" xml:"end"`
	Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	RoleIds  string `db:"role_ids" bson:"role_ids" comment:"注册为角色(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"`
	// contains filtered or unexported fields
}

NgingCodeInvitation 邀请码

func NewNgingCodeInvitation

func NewNgingCodeInvitation(ctx echo.Context) *NgingCodeInvitation

func (*NgingCodeInvitation) AsKV

func (a *NgingCodeInvitation) AsKV(keyField string, valueField string, inputRows ...[]*NgingCodeInvitation) param.Store

func (*NgingCodeInvitation) AsMap

func (a *NgingCodeInvitation) AsMap(onlyFields ...string) param.Store

func (*NgingCodeInvitation) AsRow

func (a *NgingCodeInvitation) AsRow(onlyFields ...string) param.Store

func (*NgingCodeInvitation) Base_

func (a *NgingCodeInvitation) Base_() factory.Baser

func (*NgingCodeInvitation) BatchValidate

func (a *NgingCodeInvitation) BatchValidate(kvset map[string]interface{}) error

func (*NgingCodeInvitation) CPAFrom

func (a *NgingCodeInvitation) CPAFrom(source factory.Model) factory.Model

func (*NgingCodeInvitation) ConnID

func (a *NgingCodeInvitation) ConnID() int

func (*NgingCodeInvitation) Context

func (a *NgingCodeInvitation) Context() echo.Context

func (*NgingCodeInvitation) Count

func (a *NgingCodeInvitation) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCodeInvitation) Delete

func (a *NgingCodeInvitation) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeInvitation) Deletex

func (a *NgingCodeInvitation) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCodeInvitation) EventOFF

func (a *NgingCodeInvitation) EventOFF(off ...bool) factory.Model

func (*NgingCodeInvitation) EventON

func (a *NgingCodeInvitation) EventON(on ...bool) factory.Model

func (*NgingCodeInvitation) Exists

func (a *NgingCodeInvitation) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingCodeInvitation) FromRow

func (a *NgingCodeInvitation) FromRow(row map[string]interface{})

func (*NgingCodeInvitation) Get

func (a *NgingCodeInvitation) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeInvitation) GroupBy

func (a *NgingCodeInvitation) GroupBy(keyField string, inputRows ...[]*NgingCodeInvitation) map[string][]*NgingCodeInvitation

func (*NgingCodeInvitation) InitObjects

func (a *NgingCodeInvitation) InitObjects() *[]*NgingCodeInvitation

func (*NgingCodeInvitation) Insert

func (a *NgingCodeInvitation) Insert() (pk interface{}, err error)

func (*NgingCodeInvitation) KeyBy

func (a *NgingCodeInvitation) KeyBy(keyField string, inputRows ...[]*NgingCodeInvitation) map[string]*NgingCodeInvitation

func (*NgingCodeInvitation) List

func (a *NgingCodeInvitation) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCodeInvitation) ListByOffset

func (a *NgingCodeInvitation) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCodeInvitation) ListPage

func (a *NgingCodeInvitation) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingCodeInvitation) ListPageAs

func (a *NgingCodeInvitation) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingCodeInvitation) Name_

func (a *NgingCodeInvitation) Name_() string

func (*NgingCodeInvitation) Namer

func (a *NgingCodeInvitation) Namer() func(factory.Model) string

func (*NgingCodeInvitation) New

func (a *NgingCodeInvitation) New(structName string, connID ...int) factory.Model

func (*NgingCodeInvitation) NewObjects

func (a *NgingCodeInvitation) NewObjects() factory.Ranger

func (*NgingCodeInvitation) NewParam

func (a *NgingCodeInvitation) NewParam() *factory.Param

func (*NgingCodeInvitation) Objects

func (a *NgingCodeInvitation) Objects() []*NgingCodeInvitation

func (*NgingCodeInvitation) Param

func (a *NgingCodeInvitation) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCodeInvitation) Reset

func (*NgingCodeInvitation) Set

func (a *NgingCodeInvitation) Set(key interface{}, value ...interface{})

func (*NgingCodeInvitation) SetConnID

func (a *NgingCodeInvitation) SetConnID(connID int) factory.Model

func (*NgingCodeInvitation) SetContext

func (a *NgingCodeInvitation) SetContext(ctx echo.Context) factory.Model

func (*NgingCodeInvitation) SetNamer

func (a *NgingCodeInvitation) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingCodeInvitation) SetParam

func (a *NgingCodeInvitation) SetParam(param *factory.Param) factory.Model

func (*NgingCodeInvitation) Short_

func (a *NgingCodeInvitation) Short_() string

func (*NgingCodeInvitation) Struct_

func (a *NgingCodeInvitation) Struct_() string

func (*NgingCodeInvitation) Trans

func (*NgingCodeInvitation) Update

func (a *NgingCodeInvitation) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeInvitation) UpdateByFields

func (a *NgingCodeInvitation) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingCodeInvitation) UpdateField

func (a *NgingCodeInvitation) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCodeInvitation) UpdateFields

func (a *NgingCodeInvitation) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCodeInvitation) UpdateValues

func (a *NgingCodeInvitation) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingCodeInvitation) Updatex

func (a *NgingCodeInvitation) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCodeInvitation) UpdatexByFields

func (a *NgingCodeInvitation) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingCodeInvitation) UpdatexField

func (a *NgingCodeInvitation) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCodeInvitation) UpdatexFields

func (a *NgingCodeInvitation) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCodeInvitation) Upsert

func (a *NgingCodeInvitation) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCodeInvitation) Use

func (*NgingCodeInvitation) Validate

func (a *NgingCodeInvitation) Validate(field string, value interface{}) error

func (*NgingCodeInvitation) XObjects

type NgingCodeVerification

type NgingCodeVerification struct {
	Id         uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Code       string `db:"code" bson:"code" comment:"验证码" json:"code" xml:"code"`
	Created    uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	OwnerId    uint64 `db:"owner_id" bson:"owner_id" comment:"所有者ID" json:"owner_id" xml:"owner_id"`
	OwnerType  string `db:"owner_type" bson:"owner_type" comment:"所有者类型" json:"owner_type" xml:"owner_type"`
	Used       uint   `db:"used" bson:"used" comment:"使用时间" json:"used" xml:"used"`
	Purpose    string `db:"purpose" bson:"purpose" comment:"目的" json:"purpose" xml:"purpose"`
	Start      uint   `db:"start" bson:"start" comment:"有效时间" json:"start" xml:"start"`
	End        uint   `db:"end" bson:"end" comment:"失效时间" json:"end" xml:"end"`
	Disabled   string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	SendMethod string `db:"send_method" bson:"send_method" comment:"发送方式(mobile-手机;email-邮箱)" json:"send_method" xml:"send_method"`
	SendTo     string `db:"send_to" bson:"send_to" comment:"发送目标" json:"send_to" xml:"send_to"`
	// contains filtered or unexported fields
}

NgingCodeVerification 验证码

func NewNgingCodeVerification

func NewNgingCodeVerification(ctx echo.Context) *NgingCodeVerification

func (*NgingCodeVerification) AsKV

func (a *NgingCodeVerification) AsKV(keyField string, valueField string, inputRows ...[]*NgingCodeVerification) param.Store

func (*NgingCodeVerification) AsMap

func (a *NgingCodeVerification) AsMap(onlyFields ...string) param.Store

func (*NgingCodeVerification) AsRow

func (a *NgingCodeVerification) AsRow(onlyFields ...string) param.Store

func (*NgingCodeVerification) Base_

func (a *NgingCodeVerification) Base_() factory.Baser

func (*NgingCodeVerification) BatchValidate

func (a *NgingCodeVerification) BatchValidate(kvset map[string]interface{}) error

func (*NgingCodeVerification) CPAFrom

func (a *NgingCodeVerification) CPAFrom(source factory.Model) factory.Model

func (*NgingCodeVerification) ConnID

func (a *NgingCodeVerification) ConnID() int

func (*NgingCodeVerification) Context

func (a *NgingCodeVerification) Context() echo.Context

func (*NgingCodeVerification) Count

func (a *NgingCodeVerification) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCodeVerification) Delete

func (a *NgingCodeVerification) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeVerification) Deletex

func (a *NgingCodeVerification) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCodeVerification) EventOFF

func (a *NgingCodeVerification) EventOFF(off ...bool) factory.Model

func (*NgingCodeVerification) EventON

func (a *NgingCodeVerification) EventON(on ...bool) factory.Model

func (*NgingCodeVerification) Exists

func (a *NgingCodeVerification) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingCodeVerification) FromRow

func (a *NgingCodeVerification) FromRow(row map[string]interface{})

func (*NgingCodeVerification) Get

func (a *NgingCodeVerification) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeVerification) GroupBy

func (a *NgingCodeVerification) GroupBy(keyField string, inputRows ...[]*NgingCodeVerification) map[string][]*NgingCodeVerification

func (*NgingCodeVerification) InitObjects

func (a *NgingCodeVerification) InitObjects() *[]*NgingCodeVerification

func (*NgingCodeVerification) Insert

func (a *NgingCodeVerification) Insert() (pk interface{}, err error)

func (*NgingCodeVerification) KeyBy

func (a *NgingCodeVerification) KeyBy(keyField string, inputRows ...[]*NgingCodeVerification) map[string]*NgingCodeVerification

func (*NgingCodeVerification) List

func (a *NgingCodeVerification) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCodeVerification) ListByOffset

func (a *NgingCodeVerification) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCodeVerification) ListPage

func (a *NgingCodeVerification) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingCodeVerification) ListPageAs

func (a *NgingCodeVerification) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingCodeVerification) Name_

func (a *NgingCodeVerification) Name_() string

func (*NgingCodeVerification) Namer

func (a *NgingCodeVerification) Namer() func(factory.Model) string

func (*NgingCodeVerification) New

func (a *NgingCodeVerification) New(structName string, connID ...int) factory.Model

func (*NgingCodeVerification) NewObjects

func (a *NgingCodeVerification) NewObjects() factory.Ranger

func (*NgingCodeVerification) NewParam

func (a *NgingCodeVerification) NewParam() *factory.Param

func (*NgingCodeVerification) Objects

func (*NgingCodeVerification) Param

func (a *NgingCodeVerification) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCodeVerification) Reset

func (*NgingCodeVerification) Set

func (a *NgingCodeVerification) Set(key interface{}, value ...interface{})

func (*NgingCodeVerification) SetConnID

func (a *NgingCodeVerification) SetConnID(connID int) factory.Model

func (*NgingCodeVerification) SetContext

func (a *NgingCodeVerification) SetContext(ctx echo.Context) factory.Model

func (*NgingCodeVerification) SetNamer

func (a *NgingCodeVerification) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingCodeVerification) SetParam

func (a *NgingCodeVerification) SetParam(param *factory.Param) factory.Model

func (*NgingCodeVerification) Short_

func (a *NgingCodeVerification) Short_() string

func (*NgingCodeVerification) Struct_

func (a *NgingCodeVerification) Struct_() string

func (*NgingCodeVerification) Trans

func (*NgingCodeVerification) Update

func (a *NgingCodeVerification) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeVerification) UpdateByFields

func (a *NgingCodeVerification) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingCodeVerification) UpdateField

func (a *NgingCodeVerification) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCodeVerification) UpdateFields

func (a *NgingCodeVerification) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCodeVerification) UpdateValues

func (a *NgingCodeVerification) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingCodeVerification) Updatex

func (a *NgingCodeVerification) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingCodeVerification) UpdatexByFields

func (a *NgingCodeVerification) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingCodeVerification) UpdatexField

func (a *NgingCodeVerification) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCodeVerification) UpdatexFields

func (a *NgingCodeVerification) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingCodeVerification) Upsert

func (a *NgingCodeVerification) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCodeVerification) Use

func (*NgingCodeVerification) Validate

func (a *NgingCodeVerification) Validate(field string, value interface{}) error

func (*NgingCodeVerification) XObjects

type NgingConfig

type NgingConfig struct {
	Key         string `db:"key,pk" bson:"key" comment:"键" json:"key" xml:"key"`
	Group       string `db:"group,pk" bson:"group" comment:"组" json:"group" xml:"group"`
	Label       string `db:"label" bson:"label" comment:"选项名称" json:"label" xml:"label"`
	Value       string `db:"value" bson:"value" comment:"值" json:"value" xml:"value"`
	Description string `db:"description" bson:"description" comment:"简介" json:"description" xml:"description"`
	Type        string `db:"type" bson:"type" comment:"值类型(list-以半角逗号分隔的值列表)" json:"type" xml:"type"`
	Sort        int    `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"`
	Disabled    string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	Encrypted   string `db:"encrypted" bson:"encrypted" comment:"是否加密" json:"encrypted" xml:"encrypted"`
	Updated     uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

NgingConfig 配置

func NewNgingConfig

func NewNgingConfig(ctx echo.Context) *NgingConfig

func (*NgingConfig) AsKV

func (a *NgingConfig) AsKV(keyField string, valueField string, inputRows ...[]*NgingConfig) param.Store

func (*NgingConfig) AsMap

func (a *NgingConfig) AsMap(onlyFields ...string) param.Store

func (*NgingConfig) AsRow

func (a *NgingConfig) AsRow(onlyFields ...string) param.Store

func (*NgingConfig) Base_

func (a *NgingConfig) Base_() factory.Baser

func (*NgingConfig) BatchValidate

func (a *NgingConfig) BatchValidate(kvset map[string]interface{}) error

func (*NgingConfig) CPAFrom

func (a *NgingConfig) CPAFrom(source factory.Model) factory.Model

func (*NgingConfig) ConnID

func (a *NgingConfig) ConnID() int

func (*NgingConfig) Context

func (a *NgingConfig) Context() echo.Context

func (*NgingConfig) Count

func (a *NgingConfig) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingConfig) Delete

func (a *NgingConfig) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingConfig) Deletex

func (a *NgingConfig) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingConfig) EventOFF

func (a *NgingConfig) EventOFF(off ...bool) factory.Model

func (*NgingConfig) EventON

func (a *NgingConfig) EventON(on ...bool) factory.Model

func (*NgingConfig) Exists

func (a *NgingConfig) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingConfig) FromRow

func (a *NgingConfig) FromRow(row map[string]interface{})

func (*NgingConfig) Get

func (a *NgingConfig) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingConfig) GroupBy

func (a *NgingConfig) GroupBy(keyField string, inputRows ...[]*NgingConfig) map[string][]*NgingConfig

func (*NgingConfig) InitObjects

func (a *NgingConfig) InitObjects() *[]*NgingConfig

func (*NgingConfig) Insert

func (a *NgingConfig) Insert() (pk interface{}, err error)

func (*NgingConfig) KeyBy

func (a *NgingConfig) KeyBy(keyField string, inputRows ...[]*NgingConfig) map[string]*NgingConfig

func (*NgingConfig) List

func (a *NgingConfig) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingConfig) ListByOffset

func (a *NgingConfig) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingConfig) ListPage

func (a *NgingConfig) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingConfig) ListPageAs

func (a *NgingConfig) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingConfig) Name_

func (a *NgingConfig) Name_() string

func (*NgingConfig) Namer

func (a *NgingConfig) Namer() func(factory.Model) string

func (*NgingConfig) New

func (a *NgingConfig) New(structName string, connID ...int) factory.Model

func (*NgingConfig) NewObjects

func (a *NgingConfig) NewObjects() factory.Ranger

func (*NgingConfig) NewParam

func (a *NgingConfig) NewParam() *factory.Param

func (*NgingConfig) Objects

func (a *NgingConfig) Objects() []*NgingConfig

func (*NgingConfig) Param

func (a *NgingConfig) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingConfig) Reset

func (a *NgingConfig) Reset() *NgingConfig

func (*NgingConfig) Set

func (a *NgingConfig) Set(key interface{}, value ...interface{})

func (*NgingConfig) SetConnID

func (a *NgingConfig) SetConnID(connID int) factory.Model

func (*NgingConfig) SetContext

func (a *NgingConfig) SetContext(ctx echo.Context) factory.Model

func (*NgingConfig) SetNamer

func (a *NgingConfig) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingConfig) SetParam

func (a *NgingConfig) SetParam(param *factory.Param) factory.Model

func (*NgingConfig) Short_

func (a *NgingConfig) Short_() string

func (*NgingConfig) Struct_

func (a *NgingConfig) Struct_() string

func (*NgingConfig) Trans

func (a *NgingConfig) Trans() factory.Transactioner

func (*NgingConfig) Update

func (a *NgingConfig) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingConfig) UpdateByFields

func (a *NgingConfig) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingConfig) UpdateField

func (a *NgingConfig) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingConfig) UpdateFields

func (a *NgingConfig) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingConfig) UpdateValues

func (a *NgingConfig) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingConfig) Updatex

func (a *NgingConfig) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingConfig) UpdatexByFields

func (a *NgingConfig) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingConfig) UpdatexField

func (a *NgingConfig) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingConfig) UpdatexFields

func (a *NgingConfig) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingConfig) Upsert

func (a *NgingConfig) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingConfig) Use

func (*NgingConfig) Validate

func (a *NgingConfig) Validate(field string, value interface{}) error

func (*NgingConfig) XObjects

func (a *NgingConfig) XObjects() Slice_NgingConfig

type NgingFile

type NgingFile struct {
	Id         uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"文件ID" json:"id" xml:"id"`
	OwnerType  string `db:"owner_type" bson:"owner_type" comment:"用户类型" json:"owner_type" xml:"owner_type"`
	OwnerId    uint64 `db:"owner_id" bson:"owner_id" comment:"用户ID" json:"owner_id" xml:"owner_id"`
	Name       string `db:"name" bson:"name" comment:"原始文件名" json:"name" xml:"name"`
	SaveName   string `db:"save_name" bson:"save_name" comment:"保存名称" json:"save_name" xml:"save_name"`
	SavePath   string `db:"save_path" bson:"save_path" comment:"文件保存路径" json:"save_path" xml:"save_path"`
	ViewUrl    string `db:"view_url" bson:"view_url" comment:"查看链接" json:"view_url" xml:"view_url"`
	Ext        string `db:"ext" bson:"ext" comment:"文件后缀" json:"ext" xml:"ext"`
	Mime       string `db:"mime" bson:"mime" comment:"文件mime类型" json:"mime" xml:"mime"`
	Type       string `db:"type" bson:"type" comment:"文件类型" json:"type" xml:"type"`
	Size       uint64 `db:"size" bson:"size" comment:"文件大小" json:"size" xml:"size"`
	Width      uint   `db:"width" bson:"width" comment:"宽度(像素)" json:"width" xml:"width"`
	Height     uint   `db:"height" bson:"height" comment:"高度(像素)" json:"height" xml:"height"`
	Dpi        uint   `db:"dpi" bson:"dpi" comment:"分辨率" json:"dpi" xml:"dpi"`
	Md5        string `db:"md5" bson:"md5" comment:"文件md5" json:"md5" xml:"md5"`
	StorerName string `db:"storer_name" bson:"storer_name" comment:"文件保存位置" json:"storer_name" xml:"storer_name"`
	StorerId   string `db:"storer_id" bson:"storer_id" comment:"位置ID" json:"storer_id" xml:"storer_id"`
	Created    uint   `db:"created" bson:"created" comment:"上传时间" json:"created" xml:"created"`
	Updated    uint   `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	Sort       int64  `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"`
	Status     int    `db:"status" bson:"status" comment:"状态(1-已审核/0-未审核)" json:"status" xml:"status"`
	CategoryId uint   `db:"category_id" bson:"category_id" comment:"分类ID" json:"category_id" xml:"category_id"`
	Tags       string `db:"tags" bson:"tags" comment:"标签" json:"tags" xml:"tags"`
	Subdir     string `db:"subdir" bson:"subdir" comment:"子目录" json:"subdir" xml:"subdir"`
	UsedTimes  uint   `db:"used_times" bson:"used_times" comment:"被使用的次数" json:"used_times" xml:"used_times"`
	// contains filtered or unexported fields
}

NgingFile 文件表

func NewNgingFile

func NewNgingFile(ctx echo.Context) *NgingFile

func (*NgingFile) AsKV

func (a *NgingFile) AsKV(keyField string, valueField string, inputRows ...[]*NgingFile) param.Store

func (*NgingFile) AsMap

func (a *NgingFile) AsMap(onlyFields ...string) param.Store

func (*NgingFile) AsRow

func (a *NgingFile) AsRow(onlyFields ...string) param.Store

func (*NgingFile) Base_

func (a *NgingFile) Base_() factory.Baser

func (*NgingFile) BatchValidate

func (a *NgingFile) BatchValidate(kvset map[string]interface{}) error

func (*NgingFile) CPAFrom

func (a *NgingFile) CPAFrom(source factory.Model) factory.Model

func (*NgingFile) ConnID

func (a *NgingFile) ConnID() int

func (*NgingFile) Context

func (a *NgingFile) Context() echo.Context

func (*NgingFile) Count

func (a *NgingFile) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFile) Delete

func (a *NgingFile) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFile) Deletex

func (a *NgingFile) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingFile) EventOFF

func (a *NgingFile) EventOFF(off ...bool) factory.Model

func (*NgingFile) EventON

func (a *NgingFile) EventON(on ...bool) factory.Model

func (*NgingFile) Exists

func (a *NgingFile) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingFile) FromRow

func (a *NgingFile) FromRow(row map[string]interface{})

func (*NgingFile) Get

func (a *NgingFile) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFile) GroupBy

func (a *NgingFile) GroupBy(keyField string, inputRows ...[]*NgingFile) map[string][]*NgingFile

func (*NgingFile) InitObjects

func (a *NgingFile) InitObjects() *[]*NgingFile

func (*NgingFile) Insert

func (a *NgingFile) Insert() (pk interface{}, err error)

func (*NgingFile) KeyBy

func (a *NgingFile) KeyBy(keyField string, inputRows ...[]*NgingFile) map[string]*NgingFile

func (*NgingFile) List

func (a *NgingFile) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFile) ListByOffset

func (a *NgingFile) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFile) ListPage

func (a *NgingFile) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingFile) ListPageAs

func (a *NgingFile) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingFile) Name_

func (a *NgingFile) Name_() string

func (*NgingFile) Namer

func (a *NgingFile) Namer() func(factory.Model) string

func (*NgingFile) New

func (a *NgingFile) New(structName string, connID ...int) factory.Model

func (*NgingFile) NewObjects

func (a *NgingFile) NewObjects() factory.Ranger

func (*NgingFile) NewParam

func (a *NgingFile) NewParam() *factory.Param

func (*NgingFile) Objects

func (a *NgingFile) Objects() []*NgingFile

func (*NgingFile) Param

func (a *NgingFile) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFile) Reset

func (a *NgingFile) Reset() *NgingFile

func (*NgingFile) Set

func (a *NgingFile) Set(key interface{}, value ...interface{})

func (*NgingFile) SetConnID

func (a *NgingFile) SetConnID(connID int) factory.Model

func (*NgingFile) SetContext

func (a *NgingFile) SetContext(ctx echo.Context) factory.Model

func (*NgingFile) SetNamer

func (a *NgingFile) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingFile) SetParam

func (a *NgingFile) SetParam(param *factory.Param) factory.Model

func (*NgingFile) Short_

func (a *NgingFile) Short_() string

func (*NgingFile) Struct_

func (a *NgingFile) Struct_() string

func (*NgingFile) Trans

func (a *NgingFile) Trans() factory.Transactioner

func (*NgingFile) Update

func (a *NgingFile) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFile) UpdateByFields

func (a *NgingFile) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingFile) UpdateField

func (a *NgingFile) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFile) UpdateFields

func (a *NgingFile) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFile) UpdateValues

func (a *NgingFile) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingFile) Updatex

func (a *NgingFile) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingFile) UpdatexByFields

func (a *NgingFile) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingFile) UpdatexField

func (a *NgingFile) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingFile) UpdatexFields

func (a *NgingFile) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingFile) Upsert

func (a *NgingFile) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFile) Use

func (*NgingFile) Validate

func (a *NgingFile) Validate(field string, value interface{}) error

func (*NgingFile) XObjects

func (a *NgingFile) XObjects() Slice_NgingFile

type NgingFileEmbedded

type NgingFileEmbedded struct {
	Id        uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"主键" json:"id" xml:"id"`
	Project   string `db:"project" bson:"project" comment:"项目名" json:"project" xml:"project"`
	TableId   string `db:"table_id" bson:"table_id" comment:"表主键" json:"table_id" xml:"table_id"`
	TableName string `db:"table_name" bson:"table_name" comment:"表名称" json:"table_name" xml:"table_name"`
	FieldName string `db:"field_name" bson:"field_name" comment:"字段名" json:"field_name" xml:"field_name"`
	FileIds   string `db:"file_ids" bson:"file_ids" comment:"文件id列表" json:"file_ids" xml:"file_ids"`
	Embedded  string `db:"embedded" bson:"embedded" comment:"是否(Y/N)为内嵌文件" json:"embedded" xml:"embedded"`
	// contains filtered or unexported fields
}

NgingFileEmbedded 嵌入文件

func NewNgingFileEmbedded

func NewNgingFileEmbedded(ctx echo.Context) *NgingFileEmbedded

func (*NgingFileEmbedded) AsKV

func (a *NgingFileEmbedded) AsKV(keyField string, valueField string, inputRows ...[]*NgingFileEmbedded) param.Store

func (*NgingFileEmbedded) AsMap

func (a *NgingFileEmbedded) AsMap(onlyFields ...string) param.Store

func (*NgingFileEmbedded) AsRow

func (a *NgingFileEmbedded) AsRow(onlyFields ...string) param.Store

func (*NgingFileEmbedded) Base_

func (a *NgingFileEmbedded) Base_() factory.Baser

func (*NgingFileEmbedded) BatchValidate

func (a *NgingFileEmbedded) BatchValidate(kvset map[string]interface{}) error

func (*NgingFileEmbedded) CPAFrom

func (a *NgingFileEmbedded) CPAFrom(source factory.Model) factory.Model

func (*NgingFileEmbedded) ConnID

func (a *NgingFileEmbedded) ConnID() int

func (*NgingFileEmbedded) Context

func (a *NgingFileEmbedded) Context() echo.Context

func (*NgingFileEmbedded) Count

func (a *NgingFileEmbedded) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFileEmbedded) Delete

func (a *NgingFileEmbedded) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileEmbedded) Deletex

func (a *NgingFileEmbedded) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingFileEmbedded) EventOFF

func (a *NgingFileEmbedded) EventOFF(off ...bool) factory.Model

func (*NgingFileEmbedded) EventON

func (a *NgingFileEmbedded) EventON(on ...bool) factory.Model

func (*NgingFileEmbedded) Exists

func (a *NgingFileEmbedded) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingFileEmbedded) FromRow

func (a *NgingFileEmbedded) FromRow(row map[string]interface{})

func (*NgingFileEmbedded) Get

func (a *NgingFileEmbedded) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileEmbedded) GroupBy

func (a *NgingFileEmbedded) GroupBy(keyField string, inputRows ...[]*NgingFileEmbedded) map[string][]*NgingFileEmbedded

func (*NgingFileEmbedded) InitObjects

func (a *NgingFileEmbedded) InitObjects() *[]*NgingFileEmbedded

func (*NgingFileEmbedded) Insert

func (a *NgingFileEmbedded) Insert() (pk interface{}, err error)

func (*NgingFileEmbedded) KeyBy

func (a *NgingFileEmbedded) KeyBy(keyField string, inputRows ...[]*NgingFileEmbedded) map[string]*NgingFileEmbedded

func (*NgingFileEmbedded) List

func (a *NgingFileEmbedded) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFileEmbedded) ListByOffset

func (a *NgingFileEmbedded) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFileEmbedded) ListPage

func (a *NgingFileEmbedded) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingFileEmbedded) ListPageAs

func (a *NgingFileEmbedded) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingFileEmbedded) Name_

func (a *NgingFileEmbedded) Name_() string

func (*NgingFileEmbedded) Namer

func (a *NgingFileEmbedded) Namer() func(factory.Model) string

func (*NgingFileEmbedded) New

func (a *NgingFileEmbedded) New(structName string, connID ...int) factory.Model

func (*NgingFileEmbedded) NewObjects

func (a *NgingFileEmbedded) NewObjects() factory.Ranger

func (*NgingFileEmbedded) NewParam

func (a *NgingFileEmbedded) NewParam() *factory.Param

func (*NgingFileEmbedded) Objects

func (a *NgingFileEmbedded) Objects() []*NgingFileEmbedded

func (*NgingFileEmbedded) Param

func (a *NgingFileEmbedded) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFileEmbedded) Reset

func (*NgingFileEmbedded) Set

func (a *NgingFileEmbedded) Set(key interface{}, value ...interface{})

func (*NgingFileEmbedded) SetConnID

func (a *NgingFileEmbedded) SetConnID(connID int) factory.Model

func (*NgingFileEmbedded) SetContext

func (a *NgingFileEmbedded) SetContext(ctx echo.Context) factory.Model

func (*NgingFileEmbedded) SetNamer

func (a *NgingFileEmbedded) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingFileEmbedded) SetParam

func (a *NgingFileEmbedded) SetParam(param *factory.Param) factory.Model

func (*NgingFileEmbedded) Short_

func (a *NgingFileEmbedded) Short_() string

func (*NgingFileEmbedded) Struct_

func (a *NgingFileEmbedded) Struct_() string

func (*NgingFileEmbedded) Trans

func (*NgingFileEmbedded) Update

func (a *NgingFileEmbedded) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileEmbedded) UpdateByFields

func (a *NgingFileEmbedded) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingFileEmbedded) UpdateField

func (a *NgingFileEmbedded) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFileEmbedded) UpdateFields

func (a *NgingFileEmbedded) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFileEmbedded) UpdateValues

func (a *NgingFileEmbedded) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingFileEmbedded) Updatex

func (a *NgingFileEmbedded) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingFileEmbedded) UpdatexByFields

func (a *NgingFileEmbedded) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingFileEmbedded) UpdatexField

func (a *NgingFileEmbedded) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingFileEmbedded) UpdatexFields

func (a *NgingFileEmbedded) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingFileEmbedded) Upsert

func (a *NgingFileEmbedded) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFileEmbedded) Use

func (*NgingFileEmbedded) Validate

func (a *NgingFileEmbedded) Validate(field string, value interface{}) error

func (*NgingFileEmbedded) XObjects

type NgingFileMoved

type NgingFileMoved struct {
	Id      uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"主键" json:"id" xml:"id"`
	FileId  uint64 `db:"file_id" bson:"file_id" comment:"文件ID" json:"file_id" xml:"file_id"`
	From    string `db:"from" bson:"from" comment:"文件原路径" json:"from" xml:"from"`
	To      string `db:"to" bson:"to" comment:"文件新路径" json:"to" xml:"to"`
	ThumbId uint64 `db:"thumb_id" bson:"thumb_id" comment:"缩略图ID(缩略图时有效)" json:"thumb_id" xml:"thumb_id"`
	Created uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

NgingFileMoved 文件移动记录

func NewNgingFileMoved

func NewNgingFileMoved(ctx echo.Context) *NgingFileMoved

func (*NgingFileMoved) AsKV

func (a *NgingFileMoved) AsKV(keyField string, valueField string, inputRows ...[]*NgingFileMoved) param.Store

func (*NgingFileMoved) AsMap

func (a *NgingFileMoved) AsMap(onlyFields ...string) param.Store

func (*NgingFileMoved) AsRow

func (a *NgingFileMoved) AsRow(onlyFields ...string) param.Store

func (*NgingFileMoved) Base_

func (a *NgingFileMoved) Base_() factory.Baser

func (*NgingFileMoved) BatchValidate

func (a *NgingFileMoved) BatchValidate(kvset map[string]interface{}) error

func (*NgingFileMoved) CPAFrom

func (a *NgingFileMoved) CPAFrom(source factory.Model) factory.Model

func (*NgingFileMoved) ConnID

func (a *NgingFileMoved) ConnID() int

func (*NgingFileMoved) Context

func (a *NgingFileMoved) Context() echo.Context

func (*NgingFileMoved) Count

func (a *NgingFileMoved) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFileMoved) Delete

func (a *NgingFileMoved) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileMoved) Deletex

func (a *NgingFileMoved) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingFileMoved) EventOFF

func (a *NgingFileMoved) EventOFF(off ...bool) factory.Model

func (*NgingFileMoved) EventON

func (a *NgingFileMoved) EventON(on ...bool) factory.Model

func (*NgingFileMoved) Exists

func (a *NgingFileMoved) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingFileMoved) FromRow

func (a *NgingFileMoved) FromRow(row map[string]interface{})

func (*NgingFileMoved) Get

func (a *NgingFileMoved) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileMoved) GroupBy

func (a *NgingFileMoved) GroupBy(keyField string, inputRows ...[]*NgingFileMoved) map[string][]*NgingFileMoved

func (*NgingFileMoved) InitObjects

func (a *NgingFileMoved) InitObjects() *[]*NgingFileMoved

func (*NgingFileMoved) Insert

func (a *NgingFileMoved) Insert() (pk interface{}, err error)

func (*NgingFileMoved) KeyBy

func (a *NgingFileMoved) KeyBy(keyField string, inputRows ...[]*NgingFileMoved) map[string]*NgingFileMoved

func (*NgingFileMoved) List

func (a *NgingFileMoved) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFileMoved) ListByOffset

func (a *NgingFileMoved) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFileMoved) ListPage

func (a *NgingFileMoved) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingFileMoved) ListPageAs

func (a *NgingFileMoved) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingFileMoved) Name_

func (a *NgingFileMoved) Name_() string

func (*NgingFileMoved) Namer

func (a *NgingFileMoved) Namer() func(factory.Model) string

func (*NgingFileMoved) New

func (a *NgingFileMoved) New(structName string, connID ...int) factory.Model

func (*NgingFileMoved) NewObjects

func (a *NgingFileMoved) NewObjects() factory.Ranger

func (*NgingFileMoved) NewParam

func (a *NgingFileMoved) NewParam() *factory.Param

func (*NgingFileMoved) Objects

func (a *NgingFileMoved) Objects() []*NgingFileMoved

func (*NgingFileMoved) Param

func (a *NgingFileMoved) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFileMoved) Reset

func (a *NgingFileMoved) Reset() *NgingFileMoved

func (*NgingFileMoved) Set

func (a *NgingFileMoved) Set(key interface{}, value ...interface{})

func (*NgingFileMoved) SetConnID

func (a *NgingFileMoved) SetConnID(connID int) factory.Model

func (*NgingFileMoved) SetContext

func (a *NgingFileMoved) SetContext(ctx echo.Context) factory.Model

func (*NgingFileMoved) SetNamer

func (a *NgingFileMoved) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingFileMoved) SetParam

func (a *NgingFileMoved) SetParam(param *factory.Param) factory.Model

func (*NgingFileMoved) Short_

func (a *NgingFileMoved) Short_() string

func (*NgingFileMoved) Struct_

func (a *NgingFileMoved) Struct_() string

func (*NgingFileMoved) Trans

func (*NgingFileMoved) Update

func (a *NgingFileMoved) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileMoved) UpdateByFields

func (a *NgingFileMoved) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingFileMoved) UpdateField

func (a *NgingFileMoved) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFileMoved) UpdateFields

func (a *NgingFileMoved) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFileMoved) UpdateValues

func (a *NgingFileMoved) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingFileMoved) Updatex

func (a *NgingFileMoved) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingFileMoved) UpdatexByFields

func (a *NgingFileMoved) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingFileMoved) UpdatexField

func (a *NgingFileMoved) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingFileMoved) UpdatexFields

func (a *NgingFileMoved) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingFileMoved) Upsert

func (a *NgingFileMoved) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFileMoved) Use

func (*NgingFileMoved) Validate

func (a *NgingFileMoved) Validate(field string, value interface{}) error

func (*NgingFileMoved) XObjects

func (a *NgingFileMoved) XObjects() Slice_NgingFileMoved

type NgingFileThumb

type NgingFileThumb struct {
	Id        uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"主键" json:"id" xml:"id"`
	FileId    uint64 `db:"file_id" bson:"file_id" comment:"文件ID" json:"file_id" xml:"file_id"`
	Size      uint64 `db:"size" bson:"size" comment:"文件大小" json:"size" xml:"size"`
	Width     uint   `db:"width" bson:"width" comment:"宽度(像素)" json:"width" xml:"width"`
	Height    uint   `db:"height" bson:"height" comment:"高度(像素)" json:"height" xml:"height"`
	Dpi       uint   `db:"dpi" bson:"dpi" comment:"分辨率" json:"dpi" xml:"dpi"`
	SaveName  string `db:"save_name" bson:"save_name" comment:"保存名称" json:"save_name" xml:"save_name"`
	SavePath  string `db:"save_path" bson:"save_path" comment:"保存路径" json:"save_path" xml:"save_path"`
	ViewUrl   string `db:"view_url" bson:"view_url" comment:"访问网址" json:"view_url" xml:"view_url"`
	UsedTimes uint   `db:"used_times" bson:"used_times" comment:"被使用的次数" json:"used_times" xml:"used_times"`
	Md5       string `db:"md5" bson:"md5" comment:"缩略图文件MD5值" json:"md5" xml:"md5"`
	// contains filtered or unexported fields
}

NgingFileThumb 图片文件缩略图

func NewNgingFileThumb

func NewNgingFileThumb(ctx echo.Context) *NgingFileThumb

func (*NgingFileThumb) AsKV

func (a *NgingFileThumb) AsKV(keyField string, valueField string, inputRows ...[]*NgingFileThumb) param.Store

func (*NgingFileThumb) AsMap

func (a *NgingFileThumb) AsMap(onlyFields ...string) param.Store

func (*NgingFileThumb) AsRow

func (a *NgingFileThumb) AsRow(onlyFields ...string) param.Store

func (*NgingFileThumb) Base_

func (a *NgingFileThumb) Base_() factory.Baser

func (*NgingFileThumb) BatchValidate

func (a *NgingFileThumb) BatchValidate(kvset map[string]interface{}) error

func (*NgingFileThumb) CPAFrom

func (a *NgingFileThumb) CPAFrom(source factory.Model) factory.Model

func (*NgingFileThumb) ConnID

func (a *NgingFileThumb) ConnID() int

func (*NgingFileThumb) Context

func (a *NgingFileThumb) Context() echo.Context

func (*NgingFileThumb) Count

func (a *NgingFileThumb) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFileThumb) Delete

func (a *NgingFileThumb) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileThumb) Deletex

func (a *NgingFileThumb) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingFileThumb) EventOFF

func (a *NgingFileThumb) EventOFF(off ...bool) factory.Model

func (*NgingFileThumb) EventON

func (a *NgingFileThumb) EventON(on ...bool) factory.Model

func (*NgingFileThumb) Exists

func (a *NgingFileThumb) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingFileThumb) FromRow

func (a *NgingFileThumb) FromRow(row map[string]interface{})

func (*NgingFileThumb) Get

func (a *NgingFileThumb) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileThumb) GroupBy

func (a *NgingFileThumb) GroupBy(keyField string, inputRows ...[]*NgingFileThumb) map[string][]*NgingFileThumb

func (*NgingFileThumb) InitObjects

func (a *NgingFileThumb) InitObjects() *[]*NgingFileThumb

func (*NgingFileThumb) Insert

func (a *NgingFileThumb) Insert() (pk interface{}, err error)

func (*NgingFileThumb) KeyBy

func (a *NgingFileThumb) KeyBy(keyField string, inputRows ...[]*NgingFileThumb) map[string]*NgingFileThumb

func (*NgingFileThumb) List

func (a *NgingFileThumb) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFileThumb) ListByOffset

func (a *NgingFileThumb) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFileThumb) ListPage

func (a *NgingFileThumb) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingFileThumb) ListPageAs

func (a *NgingFileThumb) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingFileThumb) Name_

func (a *NgingFileThumb) Name_() string

func (*NgingFileThumb) Namer

func (a *NgingFileThumb) Namer() func(factory.Model) string

func (*NgingFileThumb) New

func (a *NgingFileThumb) New(structName string, connID ...int) factory.Model

func (*NgingFileThumb) NewObjects

func (a *NgingFileThumb) NewObjects() factory.Ranger

func (*NgingFileThumb) NewParam

func (a *NgingFileThumb) NewParam() *factory.Param

func (*NgingFileThumb) Objects

func (a *NgingFileThumb) Objects() []*NgingFileThumb

func (*NgingFileThumb) Param

func (a *NgingFileThumb) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFileThumb) Reset

func (a *NgingFileThumb) Reset() *NgingFileThumb

func (*NgingFileThumb) Set

func (a *NgingFileThumb) Set(key interface{}, value ...interface{})

func (*NgingFileThumb) SetConnID

func (a *NgingFileThumb) SetConnID(connID int) factory.Model

func (*NgingFileThumb) SetContext

func (a *NgingFileThumb) SetContext(ctx echo.Context) factory.Model

func (*NgingFileThumb) SetNamer

func (a *NgingFileThumb) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingFileThumb) SetParam

func (a *NgingFileThumb) SetParam(param *factory.Param) factory.Model

func (*NgingFileThumb) Short_

func (a *NgingFileThumb) Short_() string

func (*NgingFileThumb) Struct_

func (a *NgingFileThumb) Struct_() string

func (*NgingFileThumb) Trans

func (*NgingFileThumb) Update

func (a *NgingFileThumb) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileThumb) UpdateByFields

func (a *NgingFileThumb) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingFileThumb) UpdateField

func (a *NgingFileThumb) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFileThumb) UpdateFields

func (a *NgingFileThumb) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFileThumb) UpdateValues

func (a *NgingFileThumb) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingFileThumb) Updatex

func (a *NgingFileThumb) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingFileThumb) UpdatexByFields

func (a *NgingFileThumb) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingFileThumb) UpdatexField

func (a *NgingFileThumb) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingFileThumb) UpdatexFields

func (a *NgingFileThumb) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingFileThumb) Upsert

func (a *NgingFileThumb) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFileThumb) Use

func (*NgingFileThumb) Validate

func (a *NgingFileThumb) Validate(field string, value interface{}) error

func (*NgingFileThumb) XObjects

func (a *NgingFileThumb) XObjects() Slice_NgingFileThumb

type NgingKv

type NgingKv struct {
	Id           uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Key          string `db:"key" bson:"key" comment:"键名" json:"key" xml:"key"`
	Value        string `db:"value" bson:"value" comment:"元素值" json:"value" xml:"value"`
	Description  string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"`
	Help         string `db:"help" bson:"help" comment:"帮助说明" json:"help" xml:"help"`
	Type         string `db:"type" bson:"type" comment:"类型标识" json:"type" xml:"type"`
	Sort         int    `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"`
	Updated      uint   `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	ChildKeyType string `db:"child_key_type" bson:"child_key_type" comment:"子键类型(number/text...)" json:"child_key_type" xml:"child_key_type"`
	// contains filtered or unexported fields
}

NgingKv 键值数据

func NewNgingKv

func NewNgingKv(ctx echo.Context) *NgingKv

func (*NgingKv) AsKV

func (a *NgingKv) AsKV(keyField string, valueField string, inputRows ...[]*NgingKv) param.Store

func (*NgingKv) AsMap

func (a *NgingKv) AsMap(onlyFields ...string) param.Store

func (*NgingKv) AsRow

func (a *NgingKv) AsRow(onlyFields ...string) param.Store

func (*NgingKv) Base_

func (a *NgingKv) Base_() factory.Baser

func (*NgingKv) BatchValidate

func (a *NgingKv) BatchValidate(kvset map[string]interface{}) error

func (*NgingKv) CPAFrom

func (a *NgingKv) CPAFrom(source factory.Model) factory.Model

func (*NgingKv) ConnID

func (a *NgingKv) ConnID() int

func (*NgingKv) Context

func (a *NgingKv) Context() echo.Context

func (*NgingKv) Count

func (a *NgingKv) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingKv) Delete

func (a *NgingKv) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingKv) Deletex

func (a *NgingKv) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingKv) EventOFF

func (a *NgingKv) EventOFF(off ...bool) factory.Model

func (*NgingKv) EventON

func (a *NgingKv) EventON(on ...bool) factory.Model

func (*NgingKv) Exists

func (a *NgingKv) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingKv) FromRow

func (a *NgingKv) FromRow(row map[string]interface{})

func (*NgingKv) Get

func (a *NgingKv) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingKv) GroupBy

func (a *NgingKv) GroupBy(keyField string, inputRows ...[]*NgingKv) map[string][]*NgingKv

func (*NgingKv) InitObjects

func (a *NgingKv) InitObjects() *[]*NgingKv

func (*NgingKv) Insert

func (a *NgingKv) Insert() (pk interface{}, err error)

func (*NgingKv) KeyBy

func (a *NgingKv) KeyBy(keyField string, inputRows ...[]*NgingKv) map[string]*NgingKv

func (*NgingKv) List

func (a *NgingKv) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingKv) ListByOffset

func (a *NgingKv) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingKv) ListPage

func (a *NgingKv) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingKv) ListPageAs

func (a *NgingKv) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingKv) Name_

func (a *NgingKv) Name_() string

func (*NgingKv) Namer

func (a *NgingKv) Namer() func(factory.Model) string

func (*NgingKv) New

func (a *NgingKv) New(structName string, connID ...int) factory.Model

func (*NgingKv) NewObjects

func (a *NgingKv) NewObjects() factory.Ranger

func (*NgingKv) NewParam

func (a *NgingKv) NewParam() *factory.Param

func (*NgingKv) Objects

func (a *NgingKv) Objects() []*NgingKv

func (*NgingKv) Param

func (a *NgingKv) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingKv) Reset

func (a *NgingKv) Reset() *NgingKv

func (*NgingKv) Set

func (a *NgingKv) Set(key interface{}, value ...interface{})

func (*NgingKv) SetConnID

func (a *NgingKv) SetConnID(connID int) factory.Model

func (*NgingKv) SetContext

func (a *NgingKv) SetContext(ctx echo.Context) factory.Model

func (*NgingKv) SetNamer

func (a *NgingKv) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingKv) SetParam

func (a *NgingKv) SetParam(param *factory.Param) factory.Model

func (*NgingKv) Short_

func (a *NgingKv) Short_() string

func (*NgingKv) Struct_

func (a *NgingKv) Struct_() string

func (*NgingKv) Trans

func (a *NgingKv) Trans() factory.Transactioner

func (*NgingKv) Update

func (a *NgingKv) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingKv) UpdateByFields

func (a *NgingKv) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingKv) UpdateField

func (a *NgingKv) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingKv) UpdateFields

func (a *NgingKv) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingKv) UpdateValues

func (a *NgingKv) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingKv) Updatex

func (a *NgingKv) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingKv) UpdatexByFields

func (a *NgingKv) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingKv) UpdatexField

func (a *NgingKv) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingKv) UpdatexFields

func (a *NgingKv) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingKv) Upsert

func (a *NgingKv) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingKv) Use

func (a *NgingKv) Use(trans factory.Transactioner) factory.Model

func (*NgingKv) Validate

func (a *NgingKv) Validate(field string, value interface{}) error

func (*NgingKv) XObjects

func (a *NgingKv) XObjects() Slice_NgingKv

type NgingLoginLog

type NgingLoginLog struct {
	OwnerType  string `` /* 132-byte string literal not displayed */
	OwnerId    uint64 `db:"owner_id" bson:"owner_id" comment:"用户ID" json:"owner_id" xml:"owner_id"`
	SessionId  string `db:"session_id" bson:"session_id" comment:"session id" json:"session_id" xml:"session_id"`
	Username   string `db:"username" bson:"username" comment:"登录名" json:"username" xml:"username"`
	AuthType   string `db:"auth_type" bson:"auth_type" comment:"认证方式" json:"auth_type" xml:"auth_type"`
	Errpwd     string `db:"errpwd" bson:"errpwd" comment:"错误密码" json:"errpwd" xml:"errpwd"`
	IpAddress  string `db:"ip_address" bson:"ip_address" comment:"ip地址" json:"ip_address" xml:"ip_address"`
	IpLocation string `db:"ip_location" bson:"ip_location" comment:"ip定位" json:"ip_location" xml:"ip_location"`
	UserAgent  string `db:"user_agent" bson:"user_agent" comment:"浏览器代理" json:"user_agent" xml:"user_agent"`
	Success    string `db:"success" bson:"success" comment:"是否登录成功" json:"success" xml:"success"`
	Failmsg    string `db:"failmsg" bson:"failmsg" comment:"失败信息" json:"failmsg" xml:"failmsg"`
	Day        uint   `db:"day" bson:"day" comment:"日期(Ymd)" json:"day" xml:"day"`
	Created    uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

NgingLoginLog 登录日志

func NewNgingLoginLog

func NewNgingLoginLog(ctx echo.Context) *NgingLoginLog

func (*NgingLoginLog) AsKV

func (a *NgingLoginLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingLoginLog) param.Store

func (*NgingLoginLog) AsMap

func (a *NgingLoginLog) AsMap(onlyFields ...string) param.Store

func (*NgingLoginLog) AsRow

func (a *NgingLoginLog) AsRow(onlyFields ...string) param.Store

func (*NgingLoginLog) Base_

func (a *NgingLoginLog) Base_() factory.Baser

func (*NgingLoginLog) BatchValidate

func (a *NgingLoginLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingLoginLog) CPAFrom

func (a *NgingLoginLog) CPAFrom(source factory.Model) factory.Model

func (*NgingLoginLog) ConnID

func (a *NgingLoginLog) ConnID() int

func (*NgingLoginLog) Context

func (a *NgingLoginLog) Context() echo.Context

func (*NgingLoginLog) Count

func (a *NgingLoginLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingLoginLog) Delete

func (a *NgingLoginLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingLoginLog) Deletex

func (a *NgingLoginLog) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingLoginLog) EventOFF

func (a *NgingLoginLog) EventOFF(off ...bool) factory.Model

func (*NgingLoginLog) EventON

func (a *NgingLoginLog) EventON(on ...bool) factory.Model

func (*NgingLoginLog) Exists

func (a *NgingLoginLog) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingLoginLog) FromRow

func (a *NgingLoginLog) FromRow(row map[string]interface{})

func (*NgingLoginLog) Get

func (a *NgingLoginLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingLoginLog) GroupBy

func (a *NgingLoginLog) GroupBy(keyField string, inputRows ...[]*NgingLoginLog) map[string][]*NgingLoginLog

func (*NgingLoginLog) InitObjects

func (a *NgingLoginLog) InitObjects() *[]*NgingLoginLog

func (*NgingLoginLog) Insert

func (a *NgingLoginLog) Insert() (pk interface{}, err error)

func (*NgingLoginLog) KeyBy

func (a *NgingLoginLog) KeyBy(keyField string, inputRows ...[]*NgingLoginLog) map[string]*NgingLoginLog

func (*NgingLoginLog) List

func (a *NgingLoginLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingLoginLog) ListByOffset

func (a *NgingLoginLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingLoginLog) ListPage

func (a *NgingLoginLog) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingLoginLog) ListPageAs

func (a *NgingLoginLog) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingLoginLog) Name_

func (a *NgingLoginLog) Name_() string

func (*NgingLoginLog) Namer

func (a *NgingLoginLog) Namer() func(factory.Model) string

func (*NgingLoginLog) New

func (a *NgingLoginLog) New(structName string, connID ...int) factory.Model

func (*NgingLoginLog) NewObjects

func (a *NgingLoginLog) NewObjects() factory.Ranger

func (*NgingLoginLog) NewParam

func (a *NgingLoginLog) NewParam() *factory.Param

func (*NgingLoginLog) Objects

func (a *NgingLoginLog) Objects() []*NgingLoginLog

func (*NgingLoginLog) Param

func (a *NgingLoginLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingLoginLog) Reset

func (a *NgingLoginLog) Reset() *NgingLoginLog

func (*NgingLoginLog) Set

func (a *NgingLoginLog) Set(key interface{}, value ...interface{})

func (*NgingLoginLog) SetConnID

func (a *NgingLoginLog) SetConnID(connID int) factory.Model

func (*NgingLoginLog) SetContext

func (a *NgingLoginLog) SetContext(ctx echo.Context) factory.Model

func (*NgingLoginLog) SetNamer

func (a *NgingLoginLog) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingLoginLog) SetParam

func (a *NgingLoginLog) SetParam(param *factory.Param) factory.Model

func (*NgingLoginLog) Short_

func (a *NgingLoginLog) Short_() string

func (*NgingLoginLog) Struct_

func (a *NgingLoginLog) Struct_() string

func (*NgingLoginLog) Trans

func (a *NgingLoginLog) Trans() factory.Transactioner

func (*NgingLoginLog) Update

func (a *NgingLoginLog) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingLoginLog) UpdateByFields

func (a *NgingLoginLog) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingLoginLog) UpdateField

func (a *NgingLoginLog) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingLoginLog) UpdateFields

func (a *NgingLoginLog) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingLoginLog) UpdateValues

func (a *NgingLoginLog) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingLoginLog) Updatex

func (a *NgingLoginLog) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingLoginLog) UpdatexByFields

func (a *NgingLoginLog) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingLoginLog) UpdatexField

func (a *NgingLoginLog) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingLoginLog) UpdatexFields

func (a *NgingLoginLog) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingLoginLog) Upsert

func (a *NgingLoginLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingLoginLog) Use

func (*NgingLoginLog) Validate

func (a *NgingLoginLog) Validate(field string, value interface{}) error

func (*NgingLoginLog) XObjects

func (a *NgingLoginLog) XObjects() Slice_NgingLoginLog

type NgingOauthAgree

type NgingOauthAgree struct {
	Uid     uint   `db:"uid,pk" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"`
	AppId   string `db:"app_id,pk" bson:"app_id" comment:"AppID" json:"app_id" xml:"app_id"`
	Scopes  string `db:"scopes" bson:"scopes" comment:"授权信息" json:"scopes" xml:"scopes"`
	Created uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

NgingOauthAgree oauth2服务端用户授权表

func NewNgingOauthAgree

func NewNgingOauthAgree(ctx echo.Context) *NgingOauthAgree

func (*NgingOauthAgree) AsKV

func (a *NgingOauthAgree) AsKV(keyField string, valueField string, inputRows ...[]*NgingOauthAgree) param.Store

func (*NgingOauthAgree) AsMap

func (a *NgingOauthAgree) AsMap(onlyFields ...string) param.Store

func (*NgingOauthAgree) AsRow

func (a *NgingOauthAgree) AsRow(onlyFields ...string) param.Store

func (*NgingOauthAgree) Base_

func (a *NgingOauthAgree) Base_() factory.Baser

func (*NgingOauthAgree) BatchValidate

func (a *NgingOauthAgree) BatchValidate(kvset map[string]interface{}) error

func (*NgingOauthAgree) CPAFrom

func (a *NgingOauthAgree) CPAFrom(source factory.Model) factory.Model

func (*NgingOauthAgree) ConnID

func (a *NgingOauthAgree) ConnID() int

func (*NgingOauthAgree) Context

func (a *NgingOauthAgree) Context() echo.Context

func (*NgingOauthAgree) Count

func (a *NgingOauthAgree) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingOauthAgree) Delete

func (a *NgingOauthAgree) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingOauthAgree) Deletex

func (a *NgingOauthAgree) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingOauthAgree) EventOFF

func (a *NgingOauthAgree) EventOFF(off ...bool) factory.Model

func (*NgingOauthAgree) EventON

func (a *NgingOauthAgree) EventON(on ...bool) factory.Model

func (*NgingOauthAgree) Exists

func (a *NgingOauthAgree) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingOauthAgree) FromRow

func (a *NgingOauthAgree) FromRow(row map[string]interface{})

func (*NgingOauthAgree) Get

func (a *NgingOauthAgree) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingOauthAgree) GroupBy

func (a *NgingOauthAgree) GroupBy(keyField string, inputRows ...[]*NgingOauthAgree) map[string][]*NgingOauthAgree

func (*NgingOauthAgree) InitObjects

func (a *NgingOauthAgree) InitObjects() *[]*NgingOauthAgree

func (*NgingOauthAgree) Insert

func (a *NgingOauthAgree) Insert() (pk interface{}, err error)

func (*NgingOauthAgree) KeyBy

func (a *NgingOauthAgree) KeyBy(keyField string, inputRows ...[]*NgingOauthAgree) map[string]*NgingOauthAgree

func (*NgingOauthAgree) List

func (a *NgingOauthAgree) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingOauthAgree) ListByOffset

func (a *NgingOauthAgree) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingOauthAgree) ListPage

func (a *NgingOauthAgree) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingOauthAgree) ListPageAs

func (a *NgingOauthAgree) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingOauthAgree) Name_

func (a *NgingOauthAgree) Name_() string

func (*NgingOauthAgree) Namer

func (a *NgingOauthAgree) Namer() func(factory.Model) string

func (*NgingOauthAgree) New

func (a *NgingOauthAgree) New(structName string, connID ...int) factory.Model

func (*NgingOauthAgree) NewObjects

func (a *NgingOauthAgree) NewObjects() factory.Ranger

func (*NgingOauthAgree) NewParam

func (a *NgingOauthAgree) NewParam() *factory.Param

func (*NgingOauthAgree) Objects

func (a *NgingOauthAgree) Objects() []*NgingOauthAgree

func (*NgingOauthAgree) Param

func (a *NgingOauthAgree) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingOauthAgree) Reset

func (a *NgingOauthAgree) Reset() *NgingOauthAgree

func (*NgingOauthAgree) Set

func (a *NgingOauthAgree) Set(key interface{}, value ...interface{})

func (*NgingOauthAgree) SetConnID

func (a *NgingOauthAgree) SetConnID(connID int) factory.Model

func (*NgingOauthAgree) SetContext

func (a *NgingOauthAgree) SetContext(ctx echo.Context) factory.Model

func (*NgingOauthAgree) SetNamer

func (a *NgingOauthAgree) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingOauthAgree) SetParam

func (a *NgingOauthAgree) SetParam(param *factory.Param) factory.Model

func (*NgingOauthAgree) Short_

func (a *NgingOauthAgree) Short_() string

func (*NgingOauthAgree) Struct_

func (a *NgingOauthAgree) Struct_() string

func (*NgingOauthAgree) Trans

func (*NgingOauthAgree) Update

func (a *NgingOauthAgree) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingOauthAgree) UpdateByFields

func (a *NgingOauthAgree) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingOauthAgree) UpdateField

func (a *NgingOauthAgree) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingOauthAgree) UpdateFields

func (a *NgingOauthAgree) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingOauthAgree) UpdateValues

func (a *NgingOauthAgree) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingOauthAgree) Updatex

func (a *NgingOauthAgree) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingOauthAgree) UpdatexByFields

func (a *NgingOauthAgree) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingOauthAgree) UpdatexField

func (a *NgingOauthAgree) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingOauthAgree) UpdatexFields

func (a *NgingOauthAgree) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingOauthAgree) Upsert

func (a *NgingOauthAgree) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingOauthAgree) Use

func (*NgingOauthAgree) Validate

func (a *NgingOauthAgree) Validate(field string, value interface{}) error

func (*NgingOauthAgree) XObjects

func (a *NgingOauthAgree) XObjects() Slice_NgingOauthAgree

type NgingOauthApp

type NgingOauthApp struct {
	Id              uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	AppId           string `db:"app_id" bson:"app_id" comment:"App ID" json:"app_id" xml:"app_id"`
	AppSecret       string `db:"app_secret" bson:"app_secret" comment:"App 密钥" json:"-" xml:"-"`
	SiteName        string `db:"site_name" bson:"site_name" comment:"外部站点名称" json:"site_name" xml:"site_name"`
	SiteDescription string `db:"site_description" bson:"site_description" comment:"外部站点说明" json:"site_description" xml:"site_description"`
	SiteDomains     string `` /* 155-byte string literal not displayed */
	Scopes          string `db:"scopes" bson:"scopes" comment:"授权业务(多个用\",\"分隔)" json:"scopes" xml:"scopes"`
	GroupId         uint   `db:"group_id" bson:"group_id" comment:"分组" json:"group_id" xml:"group_id"`
	Disabled        string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	Created         uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated         uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

NgingOauthApp oauth2应用

func NewNgingOauthApp

func NewNgingOauthApp(ctx echo.Context) *NgingOauthApp

func (*NgingOauthApp) AsKV

func (a *NgingOauthApp) AsKV(keyField string, valueField string, inputRows ...[]*NgingOauthApp) param.Store

func (*NgingOauthApp) AsMap

func (a *NgingOauthApp) AsMap(onlyFields ...string) param.Store

func (*NgingOauthApp) AsRow

func (a *NgingOauthApp) AsRow(onlyFields ...string) param.Store

func (*NgingOauthApp) Base_

func (a *NgingOauthApp) Base_() factory.Baser

func (*NgingOauthApp) BatchValidate

func (a *NgingOauthApp) BatchValidate(kvset map[string]interface{}) error

func (*NgingOauthApp) CPAFrom

func (a *NgingOauthApp) CPAFrom(source factory.Model) factory.Model

func (*NgingOauthApp) ConnID

func (a *NgingOauthApp) ConnID() int

func (*NgingOauthApp) Context

func (a *NgingOauthApp) Context() echo.Context

func (*NgingOauthApp) Count

func (a *NgingOauthApp) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingOauthApp) Delete

func (a *NgingOauthApp) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingOauthApp) Deletex

func (a *NgingOauthApp) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingOauthApp) EventOFF

func (a *NgingOauthApp) EventOFF(off ...bool) factory.Model

func (*NgingOauthApp) EventON

func (a *NgingOauthApp) EventON(on ...bool) factory.Model

func (*NgingOauthApp) Exists

func (a *NgingOauthApp) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingOauthApp) FromRow

func (a *NgingOauthApp) FromRow(row map[string]interface{})

func (*NgingOauthApp) Get

func (a *NgingOauthApp) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingOauthApp) GroupBy

func (a *NgingOauthApp) GroupBy(keyField string, inputRows ...[]*NgingOauthApp) map[string][]*NgingOauthApp

func (*NgingOauthApp) InitObjects

func (a *NgingOauthApp) InitObjects() *[]*NgingOauthApp

func (*NgingOauthApp) Insert

func (a *NgingOauthApp) Insert() (pk interface{}, err error)

func (*NgingOauthApp) KeyBy

func (a *NgingOauthApp) KeyBy(keyField string, inputRows ...[]*NgingOauthApp) map[string]*NgingOauthApp

func (*NgingOauthApp) List

func (a *NgingOauthApp) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingOauthApp) ListByOffset

func (a *NgingOauthApp) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingOauthApp) ListPage

func (a *NgingOauthApp) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingOauthApp) ListPageAs

func (a *NgingOauthApp) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingOauthApp) Name_

func (a *NgingOauthApp) Name_() string

func (*NgingOauthApp) Namer

func (a *NgingOauthApp) Namer() func(factory.Model) string

func (*NgingOauthApp) New

func (a *NgingOauthApp) New(structName string, connID ...int) factory.Model

func (*NgingOauthApp) NewObjects

func (a *NgingOauthApp) NewObjects() factory.Ranger

func (*NgingOauthApp) NewParam

func (a *NgingOauthApp) NewParam() *factory.Param

func (*NgingOauthApp) Objects

func (a *NgingOauthApp) Objects() []*NgingOauthApp

func (*NgingOauthApp) Param

func (a *NgingOauthApp) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingOauthApp) Reset

func (a *NgingOauthApp) Reset() *NgingOauthApp

func (*NgingOauthApp) Set

func (a *NgingOauthApp) Set(key interface{}, value ...interface{})

func (*NgingOauthApp) SetConnID

func (a *NgingOauthApp) SetConnID(connID int) factory.Model

func (*NgingOauthApp) SetContext

func (a *NgingOauthApp) SetContext(ctx echo.Context) factory.Model

func (*NgingOauthApp) SetNamer

func (a *NgingOauthApp) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingOauthApp) SetParam

func (a *NgingOauthApp) SetParam(param *factory.Param) factory.Model

func (*NgingOauthApp) Short_

func (a *NgingOauthApp) Short_() string

func (*NgingOauthApp) Struct_

func (a *NgingOauthApp) Struct_() string

func (*NgingOauthApp) Trans

func (a *NgingOauthApp) Trans() factory.Transactioner

func (*NgingOauthApp) Update

func (a *NgingOauthApp) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingOauthApp) UpdateByFields

func (a *NgingOauthApp) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingOauthApp) UpdateField

func (a *NgingOauthApp) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingOauthApp) UpdateFields

func (a *NgingOauthApp) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingOauthApp) UpdateValues

func (a *NgingOauthApp) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingOauthApp) Updatex

func (a *NgingOauthApp) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingOauthApp) UpdatexByFields

func (a *NgingOauthApp) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingOauthApp) UpdatexField

func (a *NgingOauthApp) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingOauthApp) UpdatexFields

func (a *NgingOauthApp) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingOauthApp) Upsert

func (a *NgingOauthApp) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingOauthApp) Use

func (*NgingOauthApp) Validate

func (a *NgingOauthApp) Validate(field string, value interface{}) error

func (*NgingOauthApp) XObjects

func (a *NgingOauthApp) XObjects() Slice_NgingOauthApp

type NgingSendingLog

type NgingSendingLog struct {
	Id              uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Created         uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	SentAt          uint   `db:"sent_at" bson:"sent_at" comment:"发送时间" json:"sent_at" xml:"sent_at"`
	SourceId        uint64 `db:"source_id" bson:"source_id" comment:"来源ID" json:"source_id" xml:"source_id"`
	SourceType      string `db:"source_type" bson:"source_type" comment:"来源类型" json:"source_type" xml:"source_type"`
	Disabled        string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	Method          string `db:"method" bson:"method" comment:"发送方式(mobile-手机;email-邮箱)" json:"method" xml:"method"`
	To              string `db:"to" bson:"to" comment:"发送目标" json:"to" xml:"to"`
	Provider        string `db:"provider" bson:"provider" comment:"发送平台" json:"provider" xml:"provider"`
	Result          string `db:"result" bson:"result" comment:"发送结果描述" json:"result" xml:"result"`
	Status          string `db:"status" bson:"status" comment:"发送状态(none-无需发送)" json:"status" xml:"status"`
	Retries         uint   `db:"retries" bson:"retries" comment:"重试次数" json:"retries" xml:"retries"`
	Content         string `db:"content" bson:"content" comment:"发送消息内容" json:"content" xml:"content"`
	Params          string `db:"params" bson:"params" comment:"发送消息参数(JSON)" json:"params" xml:"params"`
	AppointmentTime uint   `db:"appointment_time" bson:"appointment_time" comment:"预约发送时间" json:"appointment_time" xml:"appointment_time"`
	// contains filtered or unexported fields
}

NgingSendingLog 邮件短信等发送日志

func NewNgingSendingLog

func NewNgingSendingLog(ctx echo.Context) *NgingSendingLog

func (*NgingSendingLog) AsKV

func (a *NgingSendingLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingSendingLog) param.Store

func (*NgingSendingLog) AsMap

func (a *NgingSendingLog) AsMap(onlyFields ...string) param.Store

func (*NgingSendingLog) AsRow

func (a *NgingSendingLog) AsRow(onlyFields ...string) param.Store

func (*NgingSendingLog) Base_

func (a *NgingSendingLog) Base_() factory.Baser

func (*NgingSendingLog) BatchValidate

func (a *NgingSendingLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingSendingLog) CPAFrom

func (a *NgingSendingLog) CPAFrom(source factory.Model) factory.Model

func (*NgingSendingLog) ConnID

func (a *NgingSendingLog) ConnID() int

func (*NgingSendingLog) Context

func (a *NgingSendingLog) Context() echo.Context

func (*NgingSendingLog) Count

func (a *NgingSendingLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingSendingLog) Delete

func (a *NgingSendingLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSendingLog) Deletex

func (a *NgingSendingLog) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingSendingLog) EventOFF

func (a *NgingSendingLog) EventOFF(off ...bool) factory.Model

func (*NgingSendingLog) EventON

func (a *NgingSendingLog) EventON(on ...bool) factory.Model

func (*NgingSendingLog) Exists

func (a *NgingSendingLog) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingSendingLog) FromRow

func (a *NgingSendingLog) FromRow(row map[string]interface{})

func (*NgingSendingLog) Get

func (a *NgingSendingLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSendingLog) GroupBy

func (a *NgingSendingLog) GroupBy(keyField string, inputRows ...[]*NgingSendingLog) map[string][]*NgingSendingLog

func (*NgingSendingLog) InitObjects

func (a *NgingSendingLog) InitObjects() *[]*NgingSendingLog

func (*NgingSendingLog) Insert

func (a *NgingSendingLog) Insert() (pk interface{}, err error)

func (*NgingSendingLog) KeyBy

func (a *NgingSendingLog) KeyBy(keyField string, inputRows ...[]*NgingSendingLog) map[string]*NgingSendingLog

func (*NgingSendingLog) List

func (a *NgingSendingLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingSendingLog) ListByOffset

func (a *NgingSendingLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingSendingLog) ListPage

func (a *NgingSendingLog) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingSendingLog) ListPageAs

func (a *NgingSendingLog) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingSendingLog) Name_

func (a *NgingSendingLog) Name_() string

func (*NgingSendingLog) Namer

func (a *NgingSendingLog) Namer() func(factory.Model) string

func (*NgingSendingLog) New

func (a *NgingSendingLog) New(structName string, connID ...int) factory.Model

func (*NgingSendingLog) NewObjects

func (a *NgingSendingLog) NewObjects() factory.Ranger

func (*NgingSendingLog) NewParam

func (a *NgingSendingLog) NewParam() *factory.Param

func (*NgingSendingLog) Objects

func (a *NgingSendingLog) Objects() []*NgingSendingLog

func (*NgingSendingLog) Param

func (a *NgingSendingLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingSendingLog) Reset

func (a *NgingSendingLog) Reset() *NgingSendingLog

func (*NgingSendingLog) Set

func (a *NgingSendingLog) Set(key interface{}, value ...interface{})

func (*NgingSendingLog) SetConnID

func (a *NgingSendingLog) SetConnID(connID int) factory.Model

func (*NgingSendingLog) SetContext

func (a *NgingSendingLog) SetContext(ctx echo.Context) factory.Model

func (*NgingSendingLog) SetNamer

func (a *NgingSendingLog) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingSendingLog) SetParam

func (a *NgingSendingLog) SetParam(param *factory.Param) factory.Model

func (*NgingSendingLog) Short_

func (a *NgingSendingLog) Short_() string

func (*NgingSendingLog) Struct_

func (a *NgingSendingLog) Struct_() string

func (*NgingSendingLog) Trans

func (*NgingSendingLog) Update

func (a *NgingSendingLog) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSendingLog) UpdateByFields

func (a *NgingSendingLog) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingSendingLog) UpdateField

func (a *NgingSendingLog) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingSendingLog) UpdateFields

func (a *NgingSendingLog) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingSendingLog) UpdateValues

func (a *NgingSendingLog) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingSendingLog) Updatex

func (a *NgingSendingLog) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingSendingLog) UpdatexByFields

func (a *NgingSendingLog) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingSendingLog) UpdatexField

func (a *NgingSendingLog) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingSendingLog) UpdatexFields

func (a *NgingSendingLog) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingSendingLog) Upsert

func (a *NgingSendingLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingSendingLog) Use

func (*NgingSendingLog) Validate

func (a *NgingSendingLog) Validate(field string, value interface{}) error

func (*NgingSendingLog) XObjects

func (a *NgingSendingLog) XObjects() Slice_NgingSendingLog

type NgingTask

type NgingTask struct {
	Id            uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"`
	Uid           uint   `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"`
	GroupId       uint   `db:"group_id" bson:"group_id" comment:"分组ID" json:"group_id" xml:"group_id"`
	Name          string `db:"name" bson:"name" comment:"任务名称" json:"name" xml:"name"`
	Type          int    `db:"type" bson:"type" comment:"任务类型" json:"type" xml:"type"`
	Description   string `db:"description" bson:"description" comment:"任务描述" json:"description" xml:"description"`
	CronSpec      string `db:"cron_spec" bson:"cron_spec" comment:"时间表达式" json:"cron_spec" xml:"cron_spec"`
	Concurrent    uint   `db:"concurrent" bson:"concurrent" comment:"是否支持多实例" json:"concurrent" xml:"concurrent"`
	Command       string `db:"command" bson:"command" comment:"命令详情" json:"command" xml:"command"`
	WorkDirectory string `db:"work_directory" bson:"work_directory" comment:"工作目录" json:"work_directory" xml:"work_directory"`
	Env           string `db:"env" bson:"env" comment:"环境变量(一行一个,格式为:var1=val1)" json:"env" xml:"env"`
	Disabled      string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	EnableNotify  uint   `db:"enable_notify" bson:"enable_notify" comment:"是否启用通知" json:"enable_notify" xml:"enable_notify"`
	NotifyEmail   string `db:"notify_email" bson:"notify_email" comment:"通知人列表" json:"notify_email" xml:"notify_email"`
	Timeout       uint64 `db:"timeout" bson:"timeout" comment:"超时设置" json:"timeout" xml:"timeout"`
	ExecuteTimes  uint   `db:"execute_times" bson:"execute_times" comment:"累计执行次数" json:"execute_times" xml:"execute_times"`
	PrevTime      uint   `db:"prev_time" bson:"prev_time" comment:"上次执行时间" json:"prev_time" xml:"prev_time"`
	Created       uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated       uint   `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	ClosedLog     string `db:"closed_log" bson:"closed_log" comment:"是否(Y/N)关闭日志" json:"closed_log" xml:"closed_log"`
	// contains filtered or unexported fields
}

NgingTask 任务

func NewNgingTask

func NewNgingTask(ctx echo.Context) *NgingTask

func (*NgingTask) AsKV

func (a *NgingTask) AsKV(keyField string, valueField string, inputRows ...[]*NgingTask) param.Store

func (*NgingTask) AsMap

func (a *NgingTask) AsMap(onlyFields ...string) param.Store

func (*NgingTask) AsRow

func (a *NgingTask) AsRow(onlyFields ...string) param.Store

func (*NgingTask) Base_

func (a *NgingTask) Base_() factory.Baser

func (*NgingTask) BatchValidate

func (a *NgingTask) BatchValidate(kvset map[string]interface{}) error

func (*NgingTask) CPAFrom

func (a *NgingTask) CPAFrom(source factory.Model) factory.Model

func (*NgingTask) ConnID

func (a *NgingTask) ConnID() int

func (*NgingTask) Context

func (a *NgingTask) Context() echo.Context

func (*NgingTask) Count

func (a *NgingTask) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingTask) Delete

func (a *NgingTask) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTask) Deletex

func (a *NgingTask) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingTask) EventOFF

func (a *NgingTask) EventOFF(off ...bool) factory.Model

func (*NgingTask) EventON

func (a *NgingTask) EventON(on ...bool) factory.Model

func (*NgingTask) Exists

func (a *NgingTask) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingTask) FromRow

func (a *NgingTask) FromRow(row map[string]interface{})

func (*NgingTask) Get

func (a *NgingTask) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTask) GroupBy

func (a *NgingTask) GroupBy(keyField string, inputRows ...[]*NgingTask) map[string][]*NgingTask

func (*NgingTask) InitObjects

func (a *NgingTask) InitObjects() *[]*NgingTask

func (*NgingTask) Insert

func (a *NgingTask) Insert() (pk interface{}, err error)

func (*NgingTask) KeyBy

func (a *NgingTask) KeyBy(keyField string, inputRows ...[]*NgingTask) map[string]*NgingTask

func (*NgingTask) List

func (a *NgingTask) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingTask) ListByOffset

func (a *NgingTask) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingTask) ListPage

func (a *NgingTask) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingTask) ListPageAs

func (a *NgingTask) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingTask) Name_

func (a *NgingTask) Name_() string

func (*NgingTask) Namer

func (a *NgingTask) Namer() func(factory.Model) string

func (*NgingTask) New

func (a *NgingTask) New(structName string, connID ...int) factory.Model

func (*NgingTask) NewObjects

func (a *NgingTask) NewObjects() factory.Ranger

func (*NgingTask) NewParam

func (a *NgingTask) NewParam() *factory.Param

func (*NgingTask) Objects

func (a *NgingTask) Objects() []*NgingTask

func (*NgingTask) Param

func (a *NgingTask) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingTask) Reset

func (a *NgingTask) Reset() *NgingTask

func (*NgingTask) Set

func (a *NgingTask) Set(key interface{}, value ...interface{})

func (*NgingTask) SetConnID

func (a *NgingTask) SetConnID(connID int) factory.Model

func (*NgingTask) SetContext

func (a *NgingTask) SetContext(ctx echo.Context) factory.Model

func (*NgingTask) SetNamer

func (a *NgingTask) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingTask) SetParam

func (a *NgingTask) SetParam(param *factory.Param) factory.Model

func (*NgingTask) Short_

func (a *NgingTask) Short_() string

func (*NgingTask) Struct_

func (a *NgingTask) Struct_() string

func (*NgingTask) Trans

func (a *NgingTask) Trans() factory.Transactioner

func (*NgingTask) Update

func (a *NgingTask) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTask) UpdateByFields

func (a *NgingTask) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingTask) UpdateField

func (a *NgingTask) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingTask) UpdateFields

func (a *NgingTask) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingTask) UpdateValues

func (a *NgingTask) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingTask) Updatex

func (a *NgingTask) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingTask) UpdatexByFields

func (a *NgingTask) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingTask) UpdatexField

func (a *NgingTask) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingTask) UpdatexFields

func (a *NgingTask) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingTask) Upsert

func (a *NgingTask) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingTask) Use

func (*NgingTask) Validate

func (a *NgingTask) Validate(field string, value interface{}) error

func (*NgingTask) XObjects

func (a *NgingTask) XObjects() Slice_NgingTask

type NgingTaskGroup

type NgingTaskGroup struct {
	Id          uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"`
	Uid         uint   `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"`
	Name        string `db:"name" bson:"name" comment:"组名" json:"name" xml:"name"`
	Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"`
	Created     uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated     uint   `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	CmdPrefix   string `db:"cmd_prefix" bson:"cmd_prefix" comment:"命令前缀" json:"cmd_prefix" xml:"cmd_prefix"`
	CmdSuffix   string `db:"cmd_suffix" bson:"cmd_suffix" comment:"命令后缀" json:"cmd_suffix" xml:"cmd_suffix"`
	// contains filtered or unexported fields
}

NgingTaskGroup 任务组

func NewNgingTaskGroup

func NewNgingTaskGroup(ctx echo.Context) *NgingTaskGroup

func (*NgingTaskGroup) AsKV

func (a *NgingTaskGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingTaskGroup) param.Store

func (*NgingTaskGroup) AsMap

func (a *NgingTaskGroup) AsMap(onlyFields ...string) param.Store

func (*NgingTaskGroup) AsRow

func (a *NgingTaskGroup) AsRow(onlyFields ...string) param.Store

func (*NgingTaskGroup) Base_

func (a *NgingTaskGroup) Base_() factory.Baser

func (*NgingTaskGroup) BatchValidate

func (a *NgingTaskGroup) BatchValidate(kvset map[string]interface{}) error

func (*NgingTaskGroup) CPAFrom

func (a *NgingTaskGroup) CPAFrom(source factory.Model) factory.Model

func (*NgingTaskGroup) ConnID

func (a *NgingTaskGroup) ConnID() int

func (*NgingTaskGroup) Context

func (a *NgingTaskGroup) Context() echo.Context

func (*NgingTaskGroup) Count

func (a *NgingTaskGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingTaskGroup) Delete

func (a *NgingTaskGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskGroup) Deletex

func (a *NgingTaskGroup) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingTaskGroup) EventOFF

func (a *NgingTaskGroup) EventOFF(off ...bool) factory.Model

func (*NgingTaskGroup) EventON

func (a *NgingTaskGroup) EventON(on ...bool) factory.Model

func (*NgingTaskGroup) Exists

func (a *NgingTaskGroup) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingTaskGroup) FromRow

func (a *NgingTaskGroup) FromRow(row map[string]interface{})

func (*NgingTaskGroup) Get

func (a *NgingTaskGroup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskGroup) GroupBy

func (a *NgingTaskGroup) GroupBy(keyField string, inputRows ...[]*NgingTaskGroup) map[string][]*NgingTaskGroup

func (*NgingTaskGroup) InitObjects

func (a *NgingTaskGroup) InitObjects() *[]*NgingTaskGroup

func (*NgingTaskGroup) Insert

func (a *NgingTaskGroup) Insert() (pk interface{}, err error)

func (*NgingTaskGroup) KeyBy

func (a *NgingTaskGroup) KeyBy(keyField string, inputRows ...[]*NgingTaskGroup) map[string]*NgingTaskGroup

func (*NgingTaskGroup) List

func (a *NgingTaskGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingTaskGroup) ListByOffset

func (a *NgingTaskGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingTaskGroup) ListPage

func (a *NgingTaskGroup) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingTaskGroup) ListPageAs

func (a *NgingTaskGroup) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingTaskGroup) Name_

func (a *NgingTaskGroup) Name_() string

func (*NgingTaskGroup) Namer

func (a *NgingTaskGroup) Namer() func(factory.Model) string

func (*NgingTaskGroup) New

func (a *NgingTaskGroup) New(structName string, connID ...int) factory.Model

func (*NgingTaskGroup) NewObjects

func (a *NgingTaskGroup) NewObjects() factory.Ranger

func (*NgingTaskGroup) NewParam

func (a *NgingTaskGroup) NewParam() *factory.Param

func (*NgingTaskGroup) Objects

func (a *NgingTaskGroup) Objects() []*NgingTaskGroup

func (*NgingTaskGroup) Param

func (a *NgingTaskGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingTaskGroup) Reset

func (a *NgingTaskGroup) Reset() *NgingTaskGroup

func (*NgingTaskGroup) Set

func (a *NgingTaskGroup) Set(key interface{}, value ...interface{})

func (*NgingTaskGroup) SetConnID

func (a *NgingTaskGroup) SetConnID(connID int) factory.Model

func (*NgingTaskGroup) SetContext

func (a *NgingTaskGroup) SetContext(ctx echo.Context) factory.Model

func (*NgingTaskGroup) SetNamer

func (a *NgingTaskGroup) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingTaskGroup) SetParam

func (a *NgingTaskGroup) SetParam(param *factory.Param) factory.Model

func (*NgingTaskGroup) Short_

func (a *NgingTaskGroup) Short_() string

func (*NgingTaskGroup) Struct_

func (a *NgingTaskGroup) Struct_() string

func (*NgingTaskGroup) Trans

func (*NgingTaskGroup) Update

func (a *NgingTaskGroup) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskGroup) UpdateByFields

func (a *NgingTaskGroup) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingTaskGroup) UpdateField

func (a *NgingTaskGroup) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingTaskGroup) UpdateFields

func (a *NgingTaskGroup) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingTaskGroup) UpdateValues

func (a *NgingTaskGroup) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingTaskGroup) Updatex

func (a *NgingTaskGroup) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingTaskGroup) UpdatexByFields

func (a *NgingTaskGroup) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingTaskGroup) UpdatexField

func (a *NgingTaskGroup) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingTaskGroup) UpdatexFields

func (a *NgingTaskGroup) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingTaskGroup) Upsert

func (a *NgingTaskGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingTaskGroup) Use

func (*NgingTaskGroup) Validate

func (a *NgingTaskGroup) Validate(field string, value interface{}) error

func (*NgingTaskGroup) XObjects

func (a *NgingTaskGroup) XObjects() Slice_NgingTaskGroup

type NgingTaskLog

type NgingTaskLog struct {
	Id      uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"`
	TaskId  uint   `db:"task_id" bson:"task_id" comment:"任务ID" json:"task_id" xml:"task_id"`
	Output  string `db:"output" bson:"output" comment:"任务输出" json:"output" xml:"output"`
	Error   string `db:"error" bson:"error" comment:"错误信息" json:"error" xml:"error"`
	Status  string `db:"status" bson:"status" comment:"状态" json:"status" xml:"status"`
	Elapsed uint   `db:"elapsed" bson:"elapsed" comment:"消耗时间(毫秒)" json:"elapsed" xml:"elapsed"`
	Created uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

NgingTaskLog 任务日志

func NewNgingTaskLog

func NewNgingTaskLog(ctx echo.Context) *NgingTaskLog

func (*NgingTaskLog) AsKV

func (a *NgingTaskLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingTaskLog) param.Store

func (*NgingTaskLog) AsMap

func (a *NgingTaskLog) AsMap(onlyFields ...string) param.Store

func (*NgingTaskLog) AsRow

func (a *NgingTaskLog) AsRow(onlyFields ...string) param.Store

func (*NgingTaskLog) Base_

func (a *NgingTaskLog) Base_() factory.Baser

func (*NgingTaskLog) BatchValidate

func (a *NgingTaskLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingTaskLog) CPAFrom

func (a *NgingTaskLog) CPAFrom(source factory.Model) factory.Model

func (*NgingTaskLog) ConnID

func (a *NgingTaskLog) ConnID() int

func (*NgingTaskLog) Context

func (a *NgingTaskLog) Context() echo.Context

func (*NgingTaskLog) Count

func (a *NgingTaskLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingTaskLog) Delete

func (a *NgingTaskLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskLog) Deletex

func (a *NgingTaskLog) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingTaskLog) EventOFF

func (a *NgingTaskLog) EventOFF(off ...bool) factory.Model

func (*NgingTaskLog) EventON

func (a *NgingTaskLog) EventON(on ...bool) factory.Model

func (*NgingTaskLog) Exists

func (a *NgingTaskLog) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingTaskLog) FromRow

func (a *NgingTaskLog) FromRow(row map[string]interface{})

func (*NgingTaskLog) Get

func (a *NgingTaskLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskLog) GroupBy

func (a *NgingTaskLog) GroupBy(keyField string, inputRows ...[]*NgingTaskLog) map[string][]*NgingTaskLog

func (*NgingTaskLog) InitObjects

func (a *NgingTaskLog) InitObjects() *[]*NgingTaskLog

func (*NgingTaskLog) Insert

func (a *NgingTaskLog) Insert() (pk interface{}, err error)

func (*NgingTaskLog) KeyBy

func (a *NgingTaskLog) KeyBy(keyField string, inputRows ...[]*NgingTaskLog) map[string]*NgingTaskLog

func (*NgingTaskLog) List

func (a *NgingTaskLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingTaskLog) ListByOffset

func (a *NgingTaskLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingTaskLog) ListPage

func (a *NgingTaskLog) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingTaskLog) ListPageAs

func (a *NgingTaskLog) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingTaskLog) Name_

func (a *NgingTaskLog) Name_() string

func (*NgingTaskLog) Namer

func (a *NgingTaskLog) Namer() func(factory.Model) string

func (*NgingTaskLog) New

func (a *NgingTaskLog) New(structName string, connID ...int) factory.Model

func (*NgingTaskLog) NewObjects

func (a *NgingTaskLog) NewObjects() factory.Ranger

func (*NgingTaskLog) NewParam

func (a *NgingTaskLog) NewParam() *factory.Param

func (*NgingTaskLog) Objects

func (a *NgingTaskLog) Objects() []*NgingTaskLog

func (*NgingTaskLog) Param

func (a *NgingTaskLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingTaskLog) Reset

func (a *NgingTaskLog) Reset() *NgingTaskLog

func (*NgingTaskLog) Set

func (a *NgingTaskLog) Set(key interface{}, value ...interface{})

func (*NgingTaskLog) SetConnID

func (a *NgingTaskLog) SetConnID(connID int) factory.Model

func (*NgingTaskLog) SetContext

func (a *NgingTaskLog) SetContext(ctx echo.Context) factory.Model

func (*NgingTaskLog) SetNamer

func (a *NgingTaskLog) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingTaskLog) SetParam

func (a *NgingTaskLog) SetParam(param *factory.Param) factory.Model

func (*NgingTaskLog) Short_

func (a *NgingTaskLog) Short_() string

func (*NgingTaskLog) Struct_

func (a *NgingTaskLog) Struct_() string

func (*NgingTaskLog) Trans

func (a *NgingTaskLog) Trans() factory.Transactioner

func (*NgingTaskLog) Update

func (a *NgingTaskLog) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskLog) UpdateByFields

func (a *NgingTaskLog) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingTaskLog) UpdateField

func (a *NgingTaskLog) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingTaskLog) UpdateFields

func (a *NgingTaskLog) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingTaskLog) UpdateValues

func (a *NgingTaskLog) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingTaskLog) Updatex

func (a *NgingTaskLog) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingTaskLog) UpdatexByFields

func (a *NgingTaskLog) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingTaskLog) UpdatexField

func (a *NgingTaskLog) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingTaskLog) UpdatexFields

func (a *NgingTaskLog) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingTaskLog) Upsert

func (a *NgingTaskLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingTaskLog) Use

func (*NgingTaskLog) Validate

func (a *NgingTaskLog) Validate(field string, value interface{}) error

func (*NgingTaskLog) XObjects

func (a *NgingTaskLog) XObjects() Slice_NgingTaskLog

type NgingUser

type NgingUser struct {
	Id         uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"`
	Username   string `db:"username" bson:"username" comment:"用户名" json:"username" xml:"username"`
	Email      string `db:"email" bson:"email" comment:"邮箱" json:"email" xml:"email"`
	Mobile     string `db:"mobile" bson:"mobile" comment:"手机号" json:"mobile" xml:"mobile"`
	Password   string `db:"password" bson:"password" comment:"密码" json:"-" xml:"-"`
	Salt       string `db:"salt" bson:"salt" comment:"盐值" json:"-" xml:"-"`
	SafePwd    string `db:"safe_pwd" bson:"safe_pwd" comment:"安全密码" json:"-" xml:"-"`
	SessionId  string `db:"session_id" bson:"session_id" comment:"session id" json:"-" xml:"-"`
	Avatar     string `db:"avatar" bson:"avatar" comment:"头像" json:"avatar" xml:"avatar"`
	Gender     string `db:"gender" bson:"gender" comment:"性别(male-男;female-女;secret-保密)" json:"gender" xml:"gender"`
	LastLogin  uint   `db:"last_login" bson:"last_login" comment:"最后登录时间" json:"last_login" xml:"last_login"`
	LastIp     string `db:"last_ip" bson:"last_ip" comment:"最后登录IP" json:"last_ip" xml:"last_ip"`
	LoginFails uint   `db:"login_fails" bson:"login_fails" comment:"连续登录失败次数" json:"login_fails" xml:"login_fails"`
	Disabled   string `db:"disabled" bson:"disabled" comment:"状态" json:"disabled" xml:"disabled"`
	Online     string `db:"online" bson:"online" comment:"是否在线" json:"online" xml:"online"`
	RoleIds    string `db:"role_ids" bson:"role_ids" comment:"角色ID(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"`
	Created    uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated    uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	FileSize   uint64 `db:"file_size" bson:"file_size" comment:"上传文件总大小" json:"file_size" xml:"file_size"`
	FileNum    uint64 `db:"file_num" bson:"file_num" comment:"上传文件数量" json:"file_num" xml:"file_num"`
	// contains filtered or unexported fields
}

NgingUser 用户

func NewNgingUser

func NewNgingUser(ctx echo.Context) *NgingUser

func (*NgingUser) AsKV

func (a *NgingUser) AsKV(keyField string, valueField string, inputRows ...[]*NgingUser) param.Store

func (*NgingUser) AsMap

func (a *NgingUser) AsMap(onlyFields ...string) param.Store

func (*NgingUser) AsRow

func (a *NgingUser) AsRow(onlyFields ...string) param.Store

func (*NgingUser) Base_

func (a *NgingUser) Base_() factory.Baser

func (*NgingUser) BatchValidate

func (a *NgingUser) BatchValidate(kvset map[string]interface{}) error

func (*NgingUser) CPAFrom

func (a *NgingUser) CPAFrom(source factory.Model) factory.Model

func (*NgingUser) ConnID

func (a *NgingUser) ConnID() int

func (*NgingUser) Context

func (a *NgingUser) Context() echo.Context

func (*NgingUser) Count

func (a *NgingUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingUser) Delete

func (a *NgingUser) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUser) Deletex

func (a *NgingUser) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUser) EventOFF

func (a *NgingUser) EventOFF(off ...bool) factory.Model

func (*NgingUser) EventON

func (a *NgingUser) EventON(on ...bool) factory.Model

func (*NgingUser) Exists

func (a *NgingUser) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingUser) FromRow

func (a *NgingUser) FromRow(row map[string]interface{})

func (*NgingUser) Get

func (a *NgingUser) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUser) GroupBy

func (a *NgingUser) GroupBy(keyField string, inputRows ...[]*NgingUser) map[string][]*NgingUser

func (*NgingUser) InitObjects

func (a *NgingUser) InitObjects() *[]*NgingUser

func (*NgingUser) Insert

func (a *NgingUser) Insert() (pk interface{}, err error)

func (*NgingUser) KeyBy

func (a *NgingUser) KeyBy(keyField string, inputRows ...[]*NgingUser) map[string]*NgingUser

func (*NgingUser) List

func (a *NgingUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingUser) ListByOffset

func (a *NgingUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingUser) ListPage

func (a *NgingUser) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingUser) ListPageAs

func (a *NgingUser) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingUser) Name_

func (a *NgingUser) Name_() string

func (*NgingUser) Namer

func (a *NgingUser) Namer() func(factory.Model) string

func (*NgingUser) New

func (a *NgingUser) New(structName string, connID ...int) factory.Model

func (*NgingUser) NewObjects

func (a *NgingUser) NewObjects() factory.Ranger

func (*NgingUser) NewParam

func (a *NgingUser) NewParam() *factory.Param

func (*NgingUser) Objects

func (a *NgingUser) Objects() []*NgingUser

func (*NgingUser) Param

func (a *NgingUser) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingUser) Reset

func (a *NgingUser) Reset() *NgingUser

func (*NgingUser) Set

func (a *NgingUser) Set(key interface{}, value ...interface{})

func (*NgingUser) SetConnID

func (a *NgingUser) SetConnID(connID int) factory.Model

func (*NgingUser) SetContext

func (a *NgingUser) SetContext(ctx echo.Context) factory.Model

func (*NgingUser) SetNamer

func (a *NgingUser) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingUser) SetParam

func (a *NgingUser) SetParam(param *factory.Param) factory.Model

func (*NgingUser) Short_

func (a *NgingUser) Short_() string

func (*NgingUser) Struct_

func (a *NgingUser) Struct_() string

func (*NgingUser) Trans

func (a *NgingUser) Trans() factory.Transactioner

func (*NgingUser) Update

func (a *NgingUser) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUser) UpdateByFields

func (a *NgingUser) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingUser) UpdateField

func (a *NgingUser) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingUser) UpdateFields

func (a *NgingUser) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingUser) UpdateValues

func (a *NgingUser) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingUser) Updatex

func (a *NgingUser) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUser) UpdatexByFields

func (a *NgingUser) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingUser) UpdatexField

func (a *NgingUser) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUser) UpdatexFields

func (a *NgingUser) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUser) Upsert

func (a *NgingUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingUser) Use

func (*NgingUser) Validate

func (a *NgingUser) Validate(field string, value interface{}) error

func (*NgingUser) XObjects

func (a *NgingUser) XObjects() Slice_NgingUser

type NgingUserOauth

type NgingUserOauth struct {
	Id           uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Uid          uint   `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"`
	Name         string `db:"name" bson:"name" comment:"用户名" json:"name" xml:"name"`
	NickName     string `db:"nick_name" bson:"nick_name" comment:"昵称" json:"nick_name" xml:"nick_name"`
	UnionId      string `db:"union_id" bson:"union_id" comment:"UNION ID" json:"union_id" xml:"union_id"`
	OpenId       string `db:"open_id" bson:"open_id" comment:"OPEN ID" json:"open_id" xml:"open_id"`
	Type         string `db:"type" bson:"type" comment:"类型(例如:wechat/qq/alipay)" json:"type" xml:"type"`
	Avatar       string `db:"avatar" bson:"avatar" comment:"头像" json:"avatar" xml:"avatar"`
	Email        string `db:"email" bson:"email" comment:"E-mail" json:"email" xml:"email"`
	Mobile       string `db:"mobile" bson:"mobile" comment:"手机号" json:"mobile" xml:"mobile"`
	AccessToken  string `db:"access_token" bson:"access_token" comment:"Access Token" json:"access_token" xml:"access_token"`
	RefreshToken string `db:"refresh_token" bson:"refresh_token" comment:"Refresh Token" json:"refresh_token" xml:"refresh_token"`
	Expired      uint   `db:"expired" bson:"expired" comment:"过期时间" json:"expired" xml:"expired"`
	Created      uint   `db:"created" bson:"created" comment:"添加时间" json:"created" xml:"created"`
	Updated      uint   `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

NgingUserOauth 第三方登录

func NewNgingUserOauth

func NewNgingUserOauth(ctx echo.Context) *NgingUserOauth

func (*NgingUserOauth) AsKV

func (a *NgingUserOauth) AsKV(keyField string, valueField string, inputRows ...[]*NgingUserOauth) param.Store

func (*NgingUserOauth) AsMap

func (a *NgingUserOauth) AsMap(onlyFields ...string) param.Store

func (*NgingUserOauth) AsRow

func (a *NgingUserOauth) AsRow(onlyFields ...string) param.Store

func (*NgingUserOauth) Base_

func (a *NgingUserOauth) Base_() factory.Baser

func (*NgingUserOauth) BatchValidate

func (a *NgingUserOauth) BatchValidate(kvset map[string]interface{}) error

func (*NgingUserOauth) CPAFrom

func (a *NgingUserOauth) CPAFrom(source factory.Model) factory.Model

func (*NgingUserOauth) ConnID

func (a *NgingUserOauth) ConnID() int

func (*NgingUserOauth) Context

func (a *NgingUserOauth) Context() echo.Context

func (*NgingUserOauth) Count

func (a *NgingUserOauth) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingUserOauth) Delete

func (a *NgingUserOauth) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserOauth) Deletex

func (a *NgingUserOauth) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUserOauth) EventOFF

func (a *NgingUserOauth) EventOFF(off ...bool) factory.Model

func (*NgingUserOauth) EventON

func (a *NgingUserOauth) EventON(on ...bool) factory.Model

func (*NgingUserOauth) Exists

func (a *NgingUserOauth) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingUserOauth) FromRow

func (a *NgingUserOauth) FromRow(row map[string]interface{})

func (*NgingUserOauth) Get

func (a *NgingUserOauth) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserOauth) GroupBy

func (a *NgingUserOauth) GroupBy(keyField string, inputRows ...[]*NgingUserOauth) map[string][]*NgingUserOauth

func (*NgingUserOauth) InitObjects

func (a *NgingUserOauth) InitObjects() *[]*NgingUserOauth

func (*NgingUserOauth) Insert

func (a *NgingUserOauth) Insert() (pk interface{}, err error)

func (*NgingUserOauth) KeyBy

func (a *NgingUserOauth) KeyBy(keyField string, inputRows ...[]*NgingUserOauth) map[string]*NgingUserOauth

func (*NgingUserOauth) List

func (a *NgingUserOauth) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingUserOauth) ListByOffset

func (a *NgingUserOauth) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingUserOauth) ListPage

func (a *NgingUserOauth) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingUserOauth) ListPageAs

func (a *NgingUserOauth) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingUserOauth) Name_

func (a *NgingUserOauth) Name_() string

func (*NgingUserOauth) Namer

func (a *NgingUserOauth) Namer() func(factory.Model) string

func (*NgingUserOauth) New

func (a *NgingUserOauth) New(structName string, connID ...int) factory.Model

func (*NgingUserOauth) NewObjects

func (a *NgingUserOauth) NewObjects() factory.Ranger

func (*NgingUserOauth) NewParam

func (a *NgingUserOauth) NewParam() *factory.Param

func (*NgingUserOauth) Objects

func (a *NgingUserOauth) Objects() []*NgingUserOauth

func (*NgingUserOauth) Param

func (a *NgingUserOauth) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingUserOauth) Reset

func (a *NgingUserOauth) Reset() *NgingUserOauth

func (*NgingUserOauth) Set

func (a *NgingUserOauth) Set(key interface{}, value ...interface{})

func (*NgingUserOauth) SetConnID

func (a *NgingUserOauth) SetConnID(connID int) factory.Model

func (*NgingUserOauth) SetContext

func (a *NgingUserOauth) SetContext(ctx echo.Context) factory.Model

func (*NgingUserOauth) SetNamer

func (a *NgingUserOauth) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingUserOauth) SetParam

func (a *NgingUserOauth) SetParam(param *factory.Param) factory.Model

func (*NgingUserOauth) Short_

func (a *NgingUserOauth) Short_() string

func (*NgingUserOauth) Struct_

func (a *NgingUserOauth) Struct_() string

func (*NgingUserOauth) Trans

func (*NgingUserOauth) Update

func (a *NgingUserOauth) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserOauth) UpdateByFields

func (a *NgingUserOauth) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingUserOauth) UpdateField

func (a *NgingUserOauth) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingUserOauth) UpdateFields

func (a *NgingUserOauth) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingUserOauth) UpdateValues

func (a *NgingUserOauth) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingUserOauth) Updatex

func (a *NgingUserOauth) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUserOauth) UpdatexByFields

func (a *NgingUserOauth) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingUserOauth) UpdatexField

func (a *NgingUserOauth) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUserOauth) UpdatexFields

func (a *NgingUserOauth) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUserOauth) Upsert

func (a *NgingUserOauth) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingUserOauth) Use

func (*NgingUserOauth) Validate

func (a *NgingUserOauth) Validate(field string, value interface{}) error

func (*NgingUserOauth) XObjects

func (a *NgingUserOauth) XObjects() Slice_NgingUserOauth

type NgingUserRole

type NgingUserRole struct {
	Id          uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Name        string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"`
	Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"`
	Created     uint   `db:"created" bson:"created" comment:"添加时间" json:"created" xml:"created"`
	Updated     uint   `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	Disabled    string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	ParentId    uint   `db:"parent_id" bson:"parent_id" comment:"父级ID" json:"parent_id" xml:"parent_id"`
	// contains filtered or unexported fields
}

NgingUserRole 用户角色

func NewNgingUserRole

func NewNgingUserRole(ctx echo.Context) *NgingUserRole

func (*NgingUserRole) AsKV

func (a *NgingUserRole) AsKV(keyField string, valueField string, inputRows ...[]*NgingUserRole) param.Store

func (*NgingUserRole) AsMap

func (a *NgingUserRole) AsMap(onlyFields ...string) param.Store

func (*NgingUserRole) AsRow

func (a *NgingUserRole) AsRow(onlyFields ...string) param.Store

func (*NgingUserRole) Base_

func (a *NgingUserRole) Base_() factory.Baser

func (*NgingUserRole) BatchValidate

func (a *NgingUserRole) BatchValidate(kvset map[string]interface{}) error

func (*NgingUserRole) CPAFrom

func (a *NgingUserRole) CPAFrom(source factory.Model) factory.Model

func (*NgingUserRole) ConnID

func (a *NgingUserRole) ConnID() int

func (*NgingUserRole) Context

func (a *NgingUserRole) Context() echo.Context

func (*NgingUserRole) Count

func (a *NgingUserRole) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingUserRole) Delete

func (a *NgingUserRole) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRole) Deletex

func (a *NgingUserRole) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUserRole) EventOFF

func (a *NgingUserRole) EventOFF(off ...bool) factory.Model

func (*NgingUserRole) EventON

func (a *NgingUserRole) EventON(on ...bool) factory.Model

func (*NgingUserRole) Exists

func (a *NgingUserRole) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingUserRole) FromRow

func (a *NgingUserRole) FromRow(row map[string]interface{})

func (*NgingUserRole) Get

func (a *NgingUserRole) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRole) GroupBy

func (a *NgingUserRole) GroupBy(keyField string, inputRows ...[]*NgingUserRole) map[string][]*NgingUserRole

func (*NgingUserRole) InitObjects

func (a *NgingUserRole) InitObjects() *[]*NgingUserRole

func (*NgingUserRole) Insert

func (a *NgingUserRole) Insert() (pk interface{}, err error)

func (*NgingUserRole) KeyBy

func (a *NgingUserRole) KeyBy(keyField string, inputRows ...[]*NgingUserRole) map[string]*NgingUserRole

func (*NgingUserRole) List

func (a *NgingUserRole) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingUserRole) ListByOffset

func (a *NgingUserRole) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingUserRole) ListPage

func (a *NgingUserRole) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingUserRole) ListPageAs

func (a *NgingUserRole) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingUserRole) Name_

func (a *NgingUserRole) Name_() string

func (*NgingUserRole) Namer

func (a *NgingUserRole) Namer() func(factory.Model) string

func (*NgingUserRole) New

func (a *NgingUserRole) New(structName string, connID ...int) factory.Model

func (*NgingUserRole) NewObjects

func (a *NgingUserRole) NewObjects() factory.Ranger

func (*NgingUserRole) NewParam

func (a *NgingUserRole) NewParam() *factory.Param

func (*NgingUserRole) Objects

func (a *NgingUserRole) Objects() []*NgingUserRole

func (*NgingUserRole) Param

func (a *NgingUserRole) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingUserRole) Reset

func (a *NgingUserRole) Reset() *NgingUserRole

func (*NgingUserRole) Set

func (a *NgingUserRole) Set(key interface{}, value ...interface{})

func (*NgingUserRole) SetConnID

func (a *NgingUserRole) SetConnID(connID int) factory.Model

func (*NgingUserRole) SetContext

func (a *NgingUserRole) SetContext(ctx echo.Context) factory.Model

func (*NgingUserRole) SetNamer

func (a *NgingUserRole) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingUserRole) SetParam

func (a *NgingUserRole) SetParam(param *factory.Param) factory.Model

func (*NgingUserRole) Short_

func (a *NgingUserRole) Short_() string

func (*NgingUserRole) Struct_

func (a *NgingUserRole) Struct_() string

func (*NgingUserRole) Trans

func (a *NgingUserRole) Trans() factory.Transactioner

func (*NgingUserRole) Update

func (a *NgingUserRole) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRole) UpdateByFields

func (a *NgingUserRole) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingUserRole) UpdateField

func (a *NgingUserRole) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingUserRole) UpdateFields

func (a *NgingUserRole) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingUserRole) UpdateValues

func (a *NgingUserRole) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingUserRole) Updatex

func (a *NgingUserRole) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUserRole) UpdatexByFields

func (a *NgingUserRole) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingUserRole) UpdatexField

func (a *NgingUserRole) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUserRole) UpdatexFields

func (a *NgingUserRole) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUserRole) Upsert

func (a *NgingUserRole) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingUserRole) Use

func (*NgingUserRole) Validate

func (a *NgingUserRole) Validate(field string, value interface{}) error

func (*NgingUserRole) XObjects

func (a *NgingUserRole) XObjects() Slice_NgingUserRole

type NgingUserRolePermission

type NgingUserRolePermission struct {
	RoleId     uint   `db:"role_id,pk" bson:"role_id" comment:"角色ID" json:"role_id" xml:"role_id"`
	Type       string `db:"type,pk" bson:"type" comment:"权限类型" json:"type" xml:"type"`
	Permission string `db:"permission" bson:"permission" comment:"权限值" json:"permission" xml:"permission"`
	// contains filtered or unexported fields
}

NgingUserRolePermission

func NewNgingUserRolePermission

func NewNgingUserRolePermission(ctx echo.Context) *NgingUserRolePermission

func (*NgingUserRolePermission) AsKV

func (a *NgingUserRolePermission) AsKV(keyField string, valueField string, inputRows ...[]*NgingUserRolePermission) param.Store

func (*NgingUserRolePermission) AsMap

func (a *NgingUserRolePermission) AsMap(onlyFields ...string) param.Store

func (*NgingUserRolePermission) AsRow

func (a *NgingUserRolePermission) AsRow(onlyFields ...string) param.Store

func (*NgingUserRolePermission) Base_

func (*NgingUserRolePermission) BatchValidate

func (a *NgingUserRolePermission) BatchValidate(kvset map[string]interface{}) error

func (*NgingUserRolePermission) CPAFrom

func (a *NgingUserRolePermission) CPAFrom(source factory.Model) factory.Model

func (*NgingUserRolePermission) ConnID

func (a *NgingUserRolePermission) ConnID() int

func (*NgingUserRolePermission) Context

func (a *NgingUserRolePermission) Context() echo.Context

func (*NgingUserRolePermission) Count

func (a *NgingUserRolePermission) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingUserRolePermission) Delete

func (a *NgingUserRolePermission) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRolePermission) Deletex

func (a *NgingUserRolePermission) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUserRolePermission) EventOFF

func (a *NgingUserRolePermission) EventOFF(off ...bool) factory.Model

func (*NgingUserRolePermission) EventON

func (a *NgingUserRolePermission) EventON(on ...bool) factory.Model

func (*NgingUserRolePermission) Exists

func (a *NgingUserRolePermission) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingUserRolePermission) FromRow

func (a *NgingUserRolePermission) FromRow(row map[string]interface{})

func (*NgingUserRolePermission) Get

func (a *NgingUserRolePermission) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRolePermission) GetPermission

func (a *NgingUserRolePermission) GetPermission() string

func (*NgingUserRolePermission) GetType

func (a *NgingUserRolePermission) GetType() string

func (*NgingUserRolePermission) GroupBy

func (a *NgingUserRolePermission) GroupBy(keyField string, inputRows ...[]*NgingUserRolePermission) map[string][]*NgingUserRolePermission

func (*NgingUserRolePermission) InitObjects

func (a *NgingUserRolePermission) InitObjects() *[]*NgingUserRolePermission

func (*NgingUserRolePermission) Insert

func (a *NgingUserRolePermission) Insert() (pk interface{}, err error)

func (*NgingUserRolePermission) KeyBy

func (a *NgingUserRolePermission) KeyBy(keyField string, inputRows ...[]*NgingUserRolePermission) map[string]*NgingUserRolePermission

func (*NgingUserRolePermission) List

func (a *NgingUserRolePermission) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingUserRolePermission) ListByOffset

func (a *NgingUserRolePermission) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingUserRolePermission) ListPage

func (a *NgingUserRolePermission) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingUserRolePermission) ListPageAs

func (a *NgingUserRolePermission) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingUserRolePermission) Name_

func (a *NgingUserRolePermission) Name_() string

func (*NgingUserRolePermission) Namer

func (a *NgingUserRolePermission) Namer() func(factory.Model) string

func (*NgingUserRolePermission) New

func (a *NgingUserRolePermission) New(structName string, connID ...int) factory.Model

func (*NgingUserRolePermission) NewObjects

func (a *NgingUserRolePermission) NewObjects() factory.Ranger

func (*NgingUserRolePermission) NewParam

func (a *NgingUserRolePermission) NewParam() *factory.Param

func (*NgingUserRolePermission) Objects

func (*NgingUserRolePermission) Param

func (a *NgingUserRolePermission) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingUserRolePermission) Reset

func (*NgingUserRolePermission) Set

func (a *NgingUserRolePermission) Set(key interface{}, value ...interface{})

func (*NgingUserRolePermission) SetConnID

func (a *NgingUserRolePermission) SetConnID(connID int) factory.Model

func (*NgingUserRolePermission) SetContext

func (a *NgingUserRolePermission) SetContext(ctx echo.Context) factory.Model

func (*NgingUserRolePermission) SetNamer

func (a *NgingUserRolePermission) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingUserRolePermission) SetParam

func (a *NgingUserRolePermission) SetParam(param *factory.Param) factory.Model

func (*NgingUserRolePermission) Short_

func (a *NgingUserRolePermission) Short_() string

func (*NgingUserRolePermission) Struct_

func (a *NgingUserRolePermission) Struct_() string

func (*NgingUserRolePermission) Trans

func (*NgingUserRolePermission) Update

func (a *NgingUserRolePermission) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRolePermission) UpdateByFields

func (a *NgingUserRolePermission) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingUserRolePermission) UpdateField

func (a *NgingUserRolePermission) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingUserRolePermission) UpdateFields

func (a *NgingUserRolePermission) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingUserRolePermission) UpdateValues

func (a *NgingUserRolePermission) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingUserRolePermission) Updatex

func (a *NgingUserRolePermission) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUserRolePermission) UpdatexByFields

func (a *NgingUserRolePermission) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingUserRolePermission) UpdatexField

func (a *NgingUserRolePermission) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUserRolePermission) UpdatexFields

func (a *NgingUserRolePermission) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUserRolePermission) Upsert

func (a *NgingUserRolePermission) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingUserRolePermission) Use

func (*NgingUserRolePermission) Validate

func (a *NgingUserRolePermission) Validate(field string, value interface{}) error

func (*NgingUserRolePermission) XObjects

type NgingUserU2f

type NgingUserU2f struct {
	Id           uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Uid          uint   `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"`
	Name         string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"`
	Token        string `db:"token" bson:"token" comment:"签名" json:"token" xml:"token"`
	Type         string `db:"type" bson:"type" comment:"类型" json:"type" xml:"type"`
	Extra        string `db:"extra" bson:"extra" comment:"扩展设置" json:"extra" xml:"extra"`
	Step         uint   `db:"step" bson:"step" comment:"第几步" json:"step" xml:"step"`
	Precondition string `` /* 171-byte string literal not displayed */
	Created      uint   `db:"created" bson:"created" comment:"绑定时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

NgingUserU2f 两步验证

func NewNgingUserU2f

func NewNgingUserU2f(ctx echo.Context) *NgingUserU2f

func (*NgingUserU2f) AsKV

func (a *NgingUserU2f) AsKV(keyField string, valueField string, inputRows ...[]*NgingUserU2f) param.Store

func (*NgingUserU2f) AsMap

func (a *NgingUserU2f) AsMap(onlyFields ...string) param.Store

func (*NgingUserU2f) AsRow

func (a *NgingUserU2f) AsRow(onlyFields ...string) param.Store

func (*NgingUserU2f) Base_

func (a *NgingUserU2f) Base_() factory.Baser

func (*NgingUserU2f) BatchValidate

func (a *NgingUserU2f) BatchValidate(kvset map[string]interface{}) error

func (*NgingUserU2f) CPAFrom

func (a *NgingUserU2f) CPAFrom(source factory.Model) factory.Model

func (*NgingUserU2f) ConnID

func (a *NgingUserU2f) ConnID() int

func (*NgingUserU2f) Context

func (a *NgingUserU2f) Context() echo.Context

func (*NgingUserU2f) Count

func (a *NgingUserU2f) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingUserU2f) Delete

func (a *NgingUserU2f) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserU2f) Deletex

func (a *NgingUserU2f) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUserU2f) EventOFF

func (a *NgingUserU2f) EventOFF(off ...bool) factory.Model

func (*NgingUserU2f) EventON

func (a *NgingUserU2f) EventON(on ...bool) factory.Model

func (*NgingUserU2f) Exists

func (a *NgingUserU2f) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*NgingUserU2f) FromRow

func (a *NgingUserU2f) FromRow(row map[string]interface{})

func (*NgingUserU2f) Get

func (a *NgingUserU2f) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserU2f) GroupBy

func (a *NgingUserU2f) GroupBy(keyField string, inputRows ...[]*NgingUserU2f) map[string][]*NgingUserU2f

func (*NgingUserU2f) InitObjects

func (a *NgingUserU2f) InitObjects() *[]*NgingUserU2f

func (*NgingUserU2f) Insert

func (a *NgingUserU2f) Insert() (pk interface{}, err error)

func (*NgingUserU2f) KeyBy

func (a *NgingUserU2f) KeyBy(keyField string, inputRows ...[]*NgingUserU2f) map[string]*NgingUserU2f

func (*NgingUserU2f) List

func (a *NgingUserU2f) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingUserU2f) ListByOffset

func (a *NgingUserU2f) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingUserU2f) ListPage

func (a *NgingUserU2f) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*NgingUserU2f) ListPageAs

func (a *NgingUserU2f) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*NgingUserU2f) Name_

func (a *NgingUserU2f) Name_() string

func (*NgingUserU2f) Namer

func (a *NgingUserU2f) Namer() func(factory.Model) string

func (*NgingUserU2f) New

func (a *NgingUserU2f) New(structName string, connID ...int) factory.Model

func (*NgingUserU2f) NewObjects

func (a *NgingUserU2f) NewObjects() factory.Ranger

func (*NgingUserU2f) NewParam

func (a *NgingUserU2f) NewParam() *factory.Param

func (*NgingUserU2f) Objects

func (a *NgingUserU2f) Objects() []*NgingUserU2f

func (*NgingUserU2f) Param

func (a *NgingUserU2f) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingUserU2f) Reset

func (a *NgingUserU2f) Reset() *NgingUserU2f

func (*NgingUserU2f) Set

func (a *NgingUserU2f) Set(key interface{}, value ...interface{})

func (*NgingUserU2f) SetConnID

func (a *NgingUserU2f) SetConnID(connID int) factory.Model

func (*NgingUserU2f) SetContext

func (a *NgingUserU2f) SetContext(ctx echo.Context) factory.Model

func (*NgingUserU2f) SetNamer

func (a *NgingUserU2f) SetNamer(namer func(factory.Model) string) factory.Model

func (*NgingUserU2f) SetParam

func (a *NgingUserU2f) SetParam(param *factory.Param) factory.Model

func (*NgingUserU2f) Short_

func (a *NgingUserU2f) Short_() string

func (*NgingUserU2f) Struct_

func (a *NgingUserU2f) Struct_() string

func (*NgingUserU2f) Trans

func (a *NgingUserU2f) Trans() factory.Transactioner

func (*NgingUserU2f) Update

func (a *NgingUserU2f) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserU2f) UpdateByFields

func (a *NgingUserU2f) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*NgingUserU2f) UpdateField

func (a *NgingUserU2f) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingUserU2f) UpdateFields

func (a *NgingUserU2f) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingUserU2f) UpdateValues

func (a *NgingUserU2f) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*NgingUserU2f) Updatex

func (a *NgingUserU2f) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*NgingUserU2f) UpdatexByFields

func (a *NgingUserU2f) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*NgingUserU2f) UpdatexField

func (a *NgingUserU2f) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUserU2f) UpdatexFields

func (a *NgingUserU2f) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*NgingUserU2f) Upsert

func (a *NgingUserU2f) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingUserU2f) Use

func (*NgingUserU2f) Validate

func (a *NgingUserU2f) Validate(field string, value interface{}) error

func (*NgingUserU2f) XObjects

func (a *NgingUserU2f) XObjects() Slice_NgingUserU2f

type Slice_NgingAlertRecipient

type Slice_NgingAlertRecipient []*NgingAlertRecipient

func (Slice_NgingAlertRecipient) AsKV

func (s Slice_NgingAlertRecipient) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingAlertRecipient) FromList

func (s Slice_NgingAlertRecipient) FromList(data interface{}) Slice_NgingAlertRecipient

func (Slice_NgingAlertRecipient) GroupBy

func (s Slice_NgingAlertRecipient) GroupBy(keyField string) map[string][]*NgingAlertRecipient

func (Slice_NgingAlertRecipient) KeyBy

func (Slice_NgingAlertRecipient) Range

func (s Slice_NgingAlertRecipient) Range(fn func(m factory.Model) error) error

func (Slice_NgingAlertRecipient) RangeRaw

func (s Slice_NgingAlertRecipient) RangeRaw(fn func(m *NgingAlertRecipient) error) error

func (Slice_NgingAlertRecipient) Transform

func (s Slice_NgingAlertRecipient) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingAlertTopic

type Slice_NgingAlertTopic []*NgingAlertTopic

func (Slice_NgingAlertTopic) AsKV

func (s Slice_NgingAlertTopic) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingAlertTopic) FromList

func (s Slice_NgingAlertTopic) FromList(data interface{}) Slice_NgingAlertTopic

func (Slice_NgingAlertTopic) GroupBy

func (s Slice_NgingAlertTopic) GroupBy(keyField string) map[string][]*NgingAlertTopic

func (Slice_NgingAlertTopic) KeyBy

func (s Slice_NgingAlertTopic) KeyBy(keyField string) map[string]*NgingAlertTopic

func (Slice_NgingAlertTopic) Range

func (s Slice_NgingAlertTopic) Range(fn func(m factory.Model) error) error

func (Slice_NgingAlertTopic) RangeRaw

func (s Slice_NgingAlertTopic) RangeRaw(fn func(m *NgingAlertTopic) error) error

func (Slice_NgingAlertTopic) Transform

func (s Slice_NgingAlertTopic) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCloudBackup

type Slice_NgingCloudBackup []*NgingCloudBackup

func (Slice_NgingCloudBackup) AsKV

func (s Slice_NgingCloudBackup) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCloudBackup) FromList

func (s Slice_NgingCloudBackup) FromList(data interface{}) Slice_NgingCloudBackup

func (Slice_NgingCloudBackup) GroupBy

func (s Slice_NgingCloudBackup) GroupBy(keyField string) map[string][]*NgingCloudBackup

func (Slice_NgingCloudBackup) KeyBy

func (s Slice_NgingCloudBackup) KeyBy(keyField string) map[string]*NgingCloudBackup

func (Slice_NgingCloudBackup) Range

func (s Slice_NgingCloudBackup) Range(fn func(m factory.Model) error) error

func (Slice_NgingCloudBackup) RangeRaw

func (s Slice_NgingCloudBackup) RangeRaw(fn func(m *NgingCloudBackup) error) error

func (Slice_NgingCloudBackup) Transform

func (s Slice_NgingCloudBackup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCloudBackupLog

type Slice_NgingCloudBackupLog []*NgingCloudBackupLog

func (Slice_NgingCloudBackupLog) AsKV

func (s Slice_NgingCloudBackupLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCloudBackupLog) FromList

func (s Slice_NgingCloudBackupLog) FromList(data interface{}) Slice_NgingCloudBackupLog

func (Slice_NgingCloudBackupLog) GroupBy

func (s Slice_NgingCloudBackupLog) GroupBy(keyField string) map[string][]*NgingCloudBackupLog

func (Slice_NgingCloudBackupLog) KeyBy

func (Slice_NgingCloudBackupLog) Range

func (s Slice_NgingCloudBackupLog) Range(fn func(m factory.Model) error) error

func (Slice_NgingCloudBackupLog) RangeRaw

func (s Slice_NgingCloudBackupLog) RangeRaw(fn func(m *NgingCloudBackupLog) error) error

func (Slice_NgingCloudBackupLog) Transform

func (s Slice_NgingCloudBackupLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCloudStorage

type Slice_NgingCloudStorage []*NgingCloudStorage

func (Slice_NgingCloudStorage) AsKV

func (s Slice_NgingCloudStorage) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCloudStorage) FromList

func (s Slice_NgingCloudStorage) FromList(data interface{}) Slice_NgingCloudStorage

func (Slice_NgingCloudStorage) GroupBy

func (s Slice_NgingCloudStorage) GroupBy(keyField string) map[string][]*NgingCloudStorage

func (Slice_NgingCloudStorage) KeyBy

func (s Slice_NgingCloudStorage) KeyBy(keyField string) map[string]*NgingCloudStorage

func (Slice_NgingCloudStorage) Range

func (s Slice_NgingCloudStorage) Range(fn func(m factory.Model) error) error

func (Slice_NgingCloudStorage) RangeRaw

func (s Slice_NgingCloudStorage) RangeRaw(fn func(m *NgingCloudStorage) error) error

func (Slice_NgingCloudStorage) Transform

func (s Slice_NgingCloudStorage) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCodeInvitation

type Slice_NgingCodeInvitation []*NgingCodeInvitation

func (Slice_NgingCodeInvitation) AsKV

func (s Slice_NgingCodeInvitation) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCodeInvitation) FromList

func (s Slice_NgingCodeInvitation) FromList(data interface{}) Slice_NgingCodeInvitation

func (Slice_NgingCodeInvitation) GroupBy

func (s Slice_NgingCodeInvitation) GroupBy(keyField string) map[string][]*NgingCodeInvitation

func (Slice_NgingCodeInvitation) KeyBy

func (Slice_NgingCodeInvitation) Range

func (s Slice_NgingCodeInvitation) Range(fn func(m factory.Model) error) error

func (Slice_NgingCodeInvitation) RangeRaw

func (s Slice_NgingCodeInvitation) RangeRaw(fn func(m *NgingCodeInvitation) error) error

func (Slice_NgingCodeInvitation) Transform

func (s Slice_NgingCodeInvitation) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCodeVerification

type Slice_NgingCodeVerification []*NgingCodeVerification

func (Slice_NgingCodeVerification) AsKV

func (s Slice_NgingCodeVerification) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCodeVerification) FromList

func (s Slice_NgingCodeVerification) FromList(data interface{}) Slice_NgingCodeVerification

func (Slice_NgingCodeVerification) GroupBy

func (Slice_NgingCodeVerification) KeyBy

func (Slice_NgingCodeVerification) Range

func (s Slice_NgingCodeVerification) Range(fn func(m factory.Model) error) error

func (Slice_NgingCodeVerification) RangeRaw

func (Slice_NgingCodeVerification) Transform

func (s Slice_NgingCodeVerification) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingConfig

type Slice_NgingConfig []*NgingConfig

func (Slice_NgingConfig) AsKV

func (s Slice_NgingConfig) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingConfig) FromList

func (s Slice_NgingConfig) FromList(data interface{}) Slice_NgingConfig

func (Slice_NgingConfig) GroupBy

func (s Slice_NgingConfig) GroupBy(keyField string) map[string][]*NgingConfig

func (Slice_NgingConfig) KeyBy

func (s Slice_NgingConfig) KeyBy(keyField string) map[string]*NgingConfig

func (Slice_NgingConfig) Range

func (s Slice_NgingConfig) Range(fn func(m factory.Model) error) error

func (Slice_NgingConfig) RangeRaw

func (s Slice_NgingConfig) RangeRaw(fn func(m *NgingConfig) error) error

func (Slice_NgingConfig) Transform

func (s Slice_NgingConfig) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFile

type Slice_NgingFile []*NgingFile

func (Slice_NgingFile) AsKV

func (s Slice_NgingFile) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFile) FromList

func (s Slice_NgingFile) FromList(data interface{}) Slice_NgingFile

func (Slice_NgingFile) GroupBy

func (s Slice_NgingFile) GroupBy(keyField string) map[string][]*NgingFile

func (Slice_NgingFile) KeyBy

func (s Slice_NgingFile) KeyBy(keyField string) map[string]*NgingFile

func (Slice_NgingFile) Range

func (s Slice_NgingFile) Range(fn func(m factory.Model) error) error

func (Slice_NgingFile) RangeRaw

func (s Slice_NgingFile) RangeRaw(fn func(m *NgingFile) error) error

func (Slice_NgingFile) Transform

func (s Slice_NgingFile) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFileEmbedded

type Slice_NgingFileEmbedded []*NgingFileEmbedded

func (Slice_NgingFileEmbedded) AsKV

func (s Slice_NgingFileEmbedded) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFileEmbedded) FromList

func (s Slice_NgingFileEmbedded) FromList(data interface{}) Slice_NgingFileEmbedded

func (Slice_NgingFileEmbedded) GroupBy

func (s Slice_NgingFileEmbedded) GroupBy(keyField string) map[string][]*NgingFileEmbedded

func (Slice_NgingFileEmbedded) KeyBy

func (s Slice_NgingFileEmbedded) KeyBy(keyField string) map[string]*NgingFileEmbedded

func (Slice_NgingFileEmbedded) Range

func (s Slice_NgingFileEmbedded) Range(fn func(m factory.Model) error) error

func (Slice_NgingFileEmbedded) RangeRaw

func (s Slice_NgingFileEmbedded) RangeRaw(fn func(m *NgingFileEmbedded) error) error

func (Slice_NgingFileEmbedded) Transform

func (s Slice_NgingFileEmbedded) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFileMoved

type Slice_NgingFileMoved []*NgingFileMoved

func (Slice_NgingFileMoved) AsKV

func (s Slice_NgingFileMoved) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFileMoved) FromList

func (s Slice_NgingFileMoved) FromList(data interface{}) Slice_NgingFileMoved

func (Slice_NgingFileMoved) GroupBy

func (s Slice_NgingFileMoved) GroupBy(keyField string) map[string][]*NgingFileMoved

func (Slice_NgingFileMoved) KeyBy

func (s Slice_NgingFileMoved) KeyBy(keyField string) map[string]*NgingFileMoved

func (Slice_NgingFileMoved) Range

func (s Slice_NgingFileMoved) Range(fn func(m factory.Model) error) error

func (Slice_NgingFileMoved) RangeRaw

func (s Slice_NgingFileMoved) RangeRaw(fn func(m *NgingFileMoved) error) error

func (Slice_NgingFileMoved) Transform

func (s Slice_NgingFileMoved) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFileThumb

type Slice_NgingFileThumb []*NgingFileThumb

func (Slice_NgingFileThumb) AsKV

func (s Slice_NgingFileThumb) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFileThumb) FromList

func (s Slice_NgingFileThumb) FromList(data interface{}) Slice_NgingFileThumb

func (Slice_NgingFileThumb) GroupBy

func (s Slice_NgingFileThumb) GroupBy(keyField string) map[string][]*NgingFileThumb

func (Slice_NgingFileThumb) KeyBy

func (s Slice_NgingFileThumb) KeyBy(keyField string) map[string]*NgingFileThumb

func (Slice_NgingFileThumb) Range

func (s Slice_NgingFileThumb) Range(fn func(m factory.Model) error) error

func (Slice_NgingFileThumb) RangeRaw

func (s Slice_NgingFileThumb) RangeRaw(fn func(m *NgingFileThumb) error) error

func (Slice_NgingFileThumb) Transform

func (s Slice_NgingFileThumb) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingKv

type Slice_NgingKv []*NgingKv

func (Slice_NgingKv) AsKV

func (s Slice_NgingKv) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingKv) FromList

func (s Slice_NgingKv) FromList(data interface{}) Slice_NgingKv

func (Slice_NgingKv) GroupBy

func (s Slice_NgingKv) GroupBy(keyField string) map[string][]*NgingKv

func (Slice_NgingKv) KeyBy

func (s Slice_NgingKv) KeyBy(keyField string) map[string]*NgingKv

func (Slice_NgingKv) Range

func (s Slice_NgingKv) Range(fn func(m factory.Model) error) error

func (Slice_NgingKv) RangeRaw

func (s Slice_NgingKv) RangeRaw(fn func(m *NgingKv) error) error

func (Slice_NgingKv) Transform

func (s Slice_NgingKv) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingLoginLog

type Slice_NgingLoginLog []*NgingLoginLog

func (Slice_NgingLoginLog) AsKV

func (s Slice_NgingLoginLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingLoginLog) FromList

func (s Slice_NgingLoginLog) FromList(data interface{}) Slice_NgingLoginLog

func (Slice_NgingLoginLog) GroupBy

func (s Slice_NgingLoginLog) GroupBy(keyField string) map[string][]*NgingLoginLog

func (Slice_NgingLoginLog) KeyBy

func (s Slice_NgingLoginLog) KeyBy(keyField string) map[string]*NgingLoginLog

func (Slice_NgingLoginLog) Range

func (s Slice_NgingLoginLog) Range(fn func(m factory.Model) error) error

func (Slice_NgingLoginLog) RangeRaw

func (s Slice_NgingLoginLog) RangeRaw(fn func(m *NgingLoginLog) error) error

func (Slice_NgingLoginLog) Transform

func (s Slice_NgingLoginLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingOauthAgree

type Slice_NgingOauthAgree []*NgingOauthAgree

func (Slice_NgingOauthAgree) AsKV

func (s Slice_NgingOauthAgree) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingOauthAgree) FromList

func (s Slice_NgingOauthAgree) FromList(data interface{}) Slice_NgingOauthAgree

func (Slice_NgingOauthAgree) GroupBy

func (s Slice_NgingOauthAgree) GroupBy(keyField string) map[string][]*NgingOauthAgree

func (Slice_NgingOauthAgree) KeyBy

func (s Slice_NgingOauthAgree) KeyBy(keyField string) map[string]*NgingOauthAgree

func (Slice_NgingOauthAgree) Range

func (s Slice_NgingOauthAgree) Range(fn func(m factory.Model) error) error

func (Slice_NgingOauthAgree) RangeRaw

func (s Slice_NgingOauthAgree) RangeRaw(fn func(m *NgingOauthAgree) error) error

func (Slice_NgingOauthAgree) Transform

func (s Slice_NgingOauthAgree) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingOauthApp

type Slice_NgingOauthApp []*NgingOauthApp

func (Slice_NgingOauthApp) AsKV

func (s Slice_NgingOauthApp) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingOauthApp) FromList

func (s Slice_NgingOauthApp) FromList(data interface{}) Slice_NgingOauthApp

func (Slice_NgingOauthApp) GroupBy

func (s Slice_NgingOauthApp) GroupBy(keyField string) map[string][]*NgingOauthApp

func (Slice_NgingOauthApp) KeyBy

func (s Slice_NgingOauthApp) KeyBy(keyField string) map[string]*NgingOauthApp

func (Slice_NgingOauthApp) Range

func (s Slice_NgingOauthApp) Range(fn func(m factory.Model) error) error

func (Slice_NgingOauthApp) RangeRaw

func (s Slice_NgingOauthApp) RangeRaw(fn func(m *NgingOauthApp) error) error

func (Slice_NgingOauthApp) Transform

func (s Slice_NgingOauthApp) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingSendingLog

type Slice_NgingSendingLog []*NgingSendingLog

func (Slice_NgingSendingLog) AsKV

func (s Slice_NgingSendingLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingSendingLog) FromList

func (s Slice_NgingSendingLog) FromList(data interface{}) Slice_NgingSendingLog

func (Slice_NgingSendingLog) GroupBy

func (s Slice_NgingSendingLog) GroupBy(keyField string) map[string][]*NgingSendingLog

func (Slice_NgingSendingLog) KeyBy

func (s Slice_NgingSendingLog) KeyBy(keyField string) map[string]*NgingSendingLog

func (Slice_NgingSendingLog) Range

func (s Slice_NgingSendingLog) Range(fn func(m factory.Model) error) error

func (Slice_NgingSendingLog) RangeRaw

func (s Slice_NgingSendingLog) RangeRaw(fn func(m *NgingSendingLog) error) error

func (Slice_NgingSendingLog) Transform

func (s Slice_NgingSendingLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingTask

type Slice_NgingTask []*NgingTask

func (Slice_NgingTask) AsKV

func (s Slice_NgingTask) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingTask) FromList

func (s Slice_NgingTask) FromList(data interface{}) Slice_NgingTask

func (Slice_NgingTask) GroupBy

func (s Slice_NgingTask) GroupBy(keyField string) map[string][]*NgingTask

func (Slice_NgingTask) KeyBy

func (s Slice_NgingTask) KeyBy(keyField string) map[string]*NgingTask

func (Slice_NgingTask) Range

func (s Slice_NgingTask) Range(fn func(m factory.Model) error) error

func (Slice_NgingTask) RangeRaw

func (s Slice_NgingTask) RangeRaw(fn func(m *NgingTask) error) error

func (Slice_NgingTask) Transform

func (s Slice_NgingTask) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingTaskGroup

type Slice_NgingTaskGroup []*NgingTaskGroup

func (Slice_NgingTaskGroup) AsKV

func (s Slice_NgingTaskGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingTaskGroup) FromList

func (s Slice_NgingTaskGroup) FromList(data interface{}) Slice_NgingTaskGroup

func (Slice_NgingTaskGroup) GroupBy

func (s Slice_NgingTaskGroup) GroupBy(keyField string) map[string][]*NgingTaskGroup

func (Slice_NgingTaskGroup) KeyBy

func (s Slice_NgingTaskGroup) KeyBy(keyField string) map[string]*NgingTaskGroup

func (Slice_NgingTaskGroup) Range

func (s Slice_NgingTaskGroup) Range(fn func(m factory.Model) error) error

func (Slice_NgingTaskGroup) RangeRaw

func (s Slice_NgingTaskGroup) RangeRaw(fn func(m *NgingTaskGroup) error) error

func (Slice_NgingTaskGroup) Transform

func (s Slice_NgingTaskGroup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingTaskLog

type Slice_NgingTaskLog []*NgingTaskLog

func (Slice_NgingTaskLog) AsKV

func (s Slice_NgingTaskLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingTaskLog) FromList

func (s Slice_NgingTaskLog) FromList(data interface{}) Slice_NgingTaskLog

func (Slice_NgingTaskLog) GroupBy

func (s Slice_NgingTaskLog) GroupBy(keyField string) map[string][]*NgingTaskLog

func (Slice_NgingTaskLog) KeyBy

func (s Slice_NgingTaskLog) KeyBy(keyField string) map[string]*NgingTaskLog

func (Slice_NgingTaskLog) Range

func (s Slice_NgingTaskLog) Range(fn func(m factory.Model) error) error

func (Slice_NgingTaskLog) RangeRaw

func (s Slice_NgingTaskLog) RangeRaw(fn func(m *NgingTaskLog) error) error

func (Slice_NgingTaskLog) Transform

func (s Slice_NgingTaskLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingUser

type Slice_NgingUser []*NgingUser

func (Slice_NgingUser) AsKV

func (s Slice_NgingUser) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUser) FromList

func (s Slice_NgingUser) FromList(data interface{}) Slice_NgingUser

func (Slice_NgingUser) GroupBy

func (s Slice_NgingUser) GroupBy(keyField string) map[string][]*NgingUser

func (Slice_NgingUser) KeyBy

func (s Slice_NgingUser) KeyBy(keyField string) map[string]*NgingUser

func (Slice_NgingUser) Range

func (s Slice_NgingUser) Range(fn func(m factory.Model) error) error

func (Slice_NgingUser) RangeRaw

func (s Slice_NgingUser) RangeRaw(fn func(m *NgingUser) error) error

func (Slice_NgingUser) Transform

func (s Slice_NgingUser) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingUserOauth

type Slice_NgingUserOauth []*NgingUserOauth

func (Slice_NgingUserOauth) AsKV

func (s Slice_NgingUserOauth) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUserOauth) FromList

func (s Slice_NgingUserOauth) FromList(data interface{}) Slice_NgingUserOauth

func (Slice_NgingUserOauth) GroupBy

func (s Slice_NgingUserOauth) GroupBy(keyField string) map[string][]*NgingUserOauth

func (Slice_NgingUserOauth) KeyBy

func (s Slice_NgingUserOauth) KeyBy(keyField string) map[string]*NgingUserOauth

func (Slice_NgingUserOauth) Range

func (s Slice_NgingUserOauth) Range(fn func(m factory.Model) error) error

func (Slice_NgingUserOauth) RangeRaw

func (s Slice_NgingUserOauth) RangeRaw(fn func(m *NgingUserOauth) error) error

func (Slice_NgingUserOauth) Transform

func (s Slice_NgingUserOauth) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingUserRole

type Slice_NgingUserRole []*NgingUserRole

func (Slice_NgingUserRole) AsKV

func (s Slice_NgingUserRole) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUserRole) FromList

func (s Slice_NgingUserRole) FromList(data interface{}) Slice_NgingUserRole

func (Slice_NgingUserRole) GroupBy

func (s Slice_NgingUserRole) GroupBy(keyField string) map[string][]*NgingUserRole

func (Slice_NgingUserRole) KeyBy

func (s Slice_NgingUserRole) KeyBy(keyField string) map[string]*NgingUserRole

func (Slice_NgingUserRole) Range

func (s Slice_NgingUserRole) Range(fn func(m factory.Model) error) error

func (Slice_NgingUserRole) RangeRaw

func (s Slice_NgingUserRole) RangeRaw(fn func(m *NgingUserRole) error) error

func (Slice_NgingUserRole) Transform

func (s Slice_NgingUserRole) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingUserRolePermission

type Slice_NgingUserRolePermission []*NgingUserRolePermission

func (Slice_NgingUserRolePermission) AsKV

func (s Slice_NgingUserRolePermission) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUserRolePermission) FromList

func (s Slice_NgingUserRolePermission) FromList(data interface{}) Slice_NgingUserRolePermission

func (Slice_NgingUserRolePermission) GroupBy

func (Slice_NgingUserRolePermission) KeyBy

func (Slice_NgingUserRolePermission) Range

func (Slice_NgingUserRolePermission) RangeRaw

func (Slice_NgingUserRolePermission) Transform

func (s Slice_NgingUserRolePermission) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingUserU2f

type Slice_NgingUserU2f []*NgingUserU2f

func (Slice_NgingUserU2f) AsKV

func (s Slice_NgingUserU2f) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUserU2f) FromList

func (s Slice_NgingUserU2f) FromList(data interface{}) Slice_NgingUserU2f

func (Slice_NgingUserU2f) GroupBy

func (s Slice_NgingUserU2f) GroupBy(keyField string) map[string][]*NgingUserU2f

func (Slice_NgingUserU2f) KeyBy

func (s Slice_NgingUserU2f) KeyBy(keyField string) map[string]*NgingUserU2f

func (Slice_NgingUserU2f) Range

func (s Slice_NgingUserU2f) Range(fn func(m factory.Model) error) error

func (Slice_NgingUserU2f) RangeRaw

func (s Slice_NgingUserU2f) RangeRaw(fn func(m *NgingUserU2f) error) error

func (Slice_NgingUserU2f) Transform

func (s Slice_NgingUserU2f) Transform(transfers map[string]param.Transfer) []param.Store

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL