dbschema

package
v4.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: AGPL-3.0 Imports: 8 Imported by: 5

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) BatchValidate

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

func (*NgingAlertRecipient) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingAlertRecipient) ListPageAs added in v4.2.0

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 added in v4.1.0

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

func (*NgingAlertRecipient) UpdateByFields added in v4.1.0

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

func (*NgingAlertRecipient) UpdateField added in v4.1.0

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

func (*NgingAlertRecipient) UpdateFields added in v4.1.0

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

func (*NgingAlertRecipient) UpdateValues added in v4.1.0

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

func (*NgingAlertRecipient) Updatex added in v4.1.0

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

func (*NgingAlertRecipient) UpdatexByFields added in v4.1.0

func (a *NgingAlertRecipient) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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) BatchValidate

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

func (*NgingAlertTopic) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingAlertTopic) ListPageAs added in v4.2.0

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 (a *NgingAlertTopic) Trans() *factory.Transaction

func (*NgingAlertTopic) Update added in v4.1.0

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

func (*NgingAlertTopic) UpdateByFields added in v4.1.0

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

func (*NgingAlertTopic) UpdateField added in v4.1.0

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

func (*NgingAlertTopic) UpdateFields added in v4.1.0

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

func (*NgingAlertTopic) UpdateValues added in v4.1.0

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

func (*NgingAlertTopic) Updatex added in v4.1.0

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

func (*NgingAlertTopic) UpdatexByFields added in v4.1.0

func (a *NgingAlertTopic) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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"`
	WaitFillCompleted string `` /* 145-byte string literal not displayed */
	IgnoreWaitRule    string `` /* 136-byte string literal not displayed */
	Delay             uint   `db:"delay" bson:"delay" comment:"延后秒数" json:"delay" xml:"delay"`
	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"`
	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) BatchValidate

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

func (*NgingCloudBackup) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingCloudBackup) ListPageAs added in v4.2.0

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 (a *NgingCloudBackup) Trans() *factory.Transaction

func (*NgingCloudBackup) Update added in v4.1.0

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

func (*NgingCloudBackup) UpdateByFields added in v4.1.0

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

func (*NgingCloudBackup) UpdateField added in v4.1.0

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

func (*NgingCloudBackup) UpdateFields added in v4.1.0

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

func (*NgingCloudBackup) UpdateValues added in v4.1.0

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

func (*NgingCloudBackup) Updatex added in v4.1.0

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

func (*NgingCloudBackup) UpdatexByFields added in v4.1.0

func (a *NgingCloudBackup) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 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) BatchValidate

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

func (*NgingCloudStorage) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingCloudStorage) ListPageAs added in v4.2.0

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 added in v4.1.0

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

func (*NgingCloudStorage) UpdateByFields added in v4.1.0

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

func (*NgingCloudStorage) UpdateField added in v4.1.0

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

func (*NgingCloudStorage) UpdateFields added in v4.1.0

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

func (*NgingCloudStorage) UpdateValues added in v4.1.0

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

func (*NgingCloudStorage) Updatex added in v4.1.0

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

func (*NgingCloudStorage) UpdatexByFields added in v4.1.0

func (a *NgingCloudStorage) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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) BatchValidate

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

func (*NgingCodeInvitation) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingCodeInvitation) ListPageAs added in v4.2.0

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 added in v4.1.0

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

func (*NgingCodeInvitation) UpdateByFields added in v4.1.0

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

func (*NgingCodeInvitation) UpdateField added in v4.1.0

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

func (*NgingCodeInvitation) UpdateFields added in v4.1.0

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

func (*NgingCodeInvitation) UpdateValues added in v4.1.0

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

func (*NgingCodeInvitation) Updatex added in v4.1.0

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

func (*NgingCodeInvitation) UpdatexByFields added in v4.1.0

func (a *NgingCodeInvitation) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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) BatchValidate

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

func (*NgingCodeVerification) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingCodeVerification) ListPageAs added in v4.2.0

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 added in v4.1.0

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

func (*NgingCodeVerification) UpdateByFields added in v4.1.0

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

func (*NgingCodeVerification) UpdateField added in v4.1.0

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

func (*NgingCodeVerification) UpdateFields added in v4.1.0

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

func (*NgingCodeVerification) UpdateValues added in v4.1.0

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

func (*NgingCodeVerification) Updatex added in v4.1.0

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

func (*NgingCodeVerification) UpdatexByFields added in v4.1.0

func (a *NgingCodeVerification) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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"`
	// 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) BatchValidate

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

func (*NgingConfig) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingConfig) ListPageAs added in v4.2.0

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.Transaction

func (*NgingConfig) Update added in v4.1.0

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

func (*NgingConfig) UpdateByFields added in v4.1.0

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

func (*NgingConfig) UpdateField added in v4.1.0

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

func (*NgingConfig) UpdateFields added in v4.1.0

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

func (*NgingConfig) UpdateValues added in v4.1.0

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

func (*NgingConfig) Updatex added in v4.1.0

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

func (*NgingConfig) UpdatexByFields added in v4.1.0

func (a *NgingConfig) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 (a *NgingConfig) Use(trans *factory.Transaction) factory.Model

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) BatchValidate

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

func (*NgingFile) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingFile) ListPageAs added in v4.2.0

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.Transaction

func (*NgingFile) Update added in v4.1.0

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

func (*NgingFile) UpdateByFields added in v4.1.0

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

func (*NgingFile) UpdateField added in v4.1.0

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

func (*NgingFile) UpdateFields added in v4.1.0

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

func (*NgingFile) UpdateValues added in v4.1.0

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

func (*NgingFile) Updatex added in v4.1.0

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

func (*NgingFile) UpdatexByFields added in v4.1.0

func (a *NgingFile) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 (a *NgingFile) Use(trans *factory.Transaction) factory.Model

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) BatchValidate

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

func (*NgingFileEmbedded) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingFileEmbedded) ListPageAs added in v4.2.0

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 added in v4.1.0

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

func (*NgingFileEmbedded) UpdateByFields added in v4.1.0

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

func (*NgingFileEmbedded) UpdateField added in v4.1.0

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

func (*NgingFileEmbedded) UpdateFields added in v4.1.0

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

func (*NgingFileEmbedded) UpdateValues added in v4.1.0

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

func (*NgingFileEmbedded) Updatex added in v4.1.0

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

func (*NgingFileEmbedded) UpdatexByFields added in v4.1.0

func (a *NgingFileEmbedded) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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) BatchValidate

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

func (*NgingFileMoved) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingFileMoved) ListPageAs added in v4.2.0

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 (a *NgingFileMoved) Trans() *factory.Transaction

func (*NgingFileMoved) Update added in v4.1.0

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

func (*NgingFileMoved) UpdateByFields added in v4.1.0

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

func (*NgingFileMoved) UpdateField added in v4.1.0

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

func (*NgingFileMoved) UpdateFields added in v4.1.0

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

func (*NgingFileMoved) UpdateValues added in v4.1.0

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

func (*NgingFileMoved) Updatex added in v4.1.0

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

func (*NgingFileMoved) UpdatexByFields added in v4.1.0

func (a *NgingFileMoved) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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) BatchValidate

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

func (*NgingFileThumb) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingFileThumb) ListPageAs added in v4.2.0

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 (a *NgingFileThumb) Trans() *factory.Transaction

func (*NgingFileThumb) Update added in v4.1.0

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

func (*NgingFileThumb) UpdateByFields added in v4.1.0

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

func (*NgingFileThumb) UpdateField added in v4.1.0

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

func (*NgingFileThumb) UpdateFields added in v4.1.0

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

func (*NgingFileThumb) UpdateValues added in v4.1.0

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

func (*NgingFileThumb) Updatex added in v4.1.0

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

func (*NgingFileThumb) UpdatexByFields added in v4.1.0

func (a *NgingFileThumb) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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"`
	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) BatchValidate

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

func (*NgingKv) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingKv) ListPageAs added in v4.2.0

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.Transaction

func (*NgingKv) Update added in v4.1.0

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

func (*NgingKv) UpdateByFields added in v4.1.0

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

func (*NgingKv) UpdateField added in v4.1.0

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

func (*NgingKv) UpdateFields added in v4.1.0

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

func (*NgingKv) UpdateValues added in v4.1.0

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

func (*NgingKv) Updatex added in v4.1.0

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

func (*NgingKv) UpdatexByFields added in v4.1.0

func (a *NgingKv) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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.Transaction) 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"`
	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) BatchValidate

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

func (*NgingLoginLog) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingLoginLog) ListPageAs added in v4.2.0

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.Transaction

func (*NgingLoginLog) Update added in v4.1.0

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

func (*NgingLoginLog) UpdateByFields added in v4.1.0

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

func (*NgingLoginLog) UpdateField added in v4.1.0

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

func (*NgingLoginLog) UpdateFields added in v4.1.0

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

func (*NgingLoginLog) UpdateValues added in v4.1.0

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

func (*NgingLoginLog) Updatex added in v4.1.0

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

func (*NgingLoginLog) UpdatexByFields added in v4.1.0

func (a *NgingLoginLog) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 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) BatchValidate

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

func (*NgingSendingLog) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingSendingLog) ListPageAs added in v4.2.0

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 (a *NgingSendingLog) Trans() *factory.Transaction

func (*NgingSendingLog) Update added in v4.1.0

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

func (*NgingSendingLog) UpdateByFields added in v4.1.0

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

func (*NgingSendingLog) UpdateField added in v4.1.0

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

func (*NgingSendingLog) UpdateFields added in v4.1.0

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

func (*NgingSendingLog) UpdateValues added in v4.1.0

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

func (*NgingSendingLog) Updatex added in v4.1.0

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

func (*NgingSendingLog) UpdatexByFields added in v4.1.0

func (a *NgingSendingLog) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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) BatchValidate

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

func (*NgingTask) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingTask) ListPageAs added in v4.2.0

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.Transaction

func (*NgingTask) Update added in v4.1.0

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

func (*NgingTask) UpdateByFields added in v4.1.0

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

func (*NgingTask) UpdateField added in v4.1.0

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

func (*NgingTask) UpdateFields added in v4.1.0

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

func (*NgingTask) UpdateValues added in v4.1.0

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

func (*NgingTask) Updatex added in v4.1.0

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

func (*NgingTask) UpdatexByFields added in v4.1.0

func (a *NgingTask) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 (a *NgingTask) Use(trans *factory.Transaction) factory.Model

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) BatchValidate

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

func (*NgingTaskGroup) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingTaskGroup) ListPageAs added in v4.2.0

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 (a *NgingTaskGroup) Trans() *factory.Transaction

func (*NgingTaskGroup) Update added in v4.1.0

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

func (*NgingTaskGroup) UpdateByFields added in v4.1.0

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

func (*NgingTaskGroup) UpdateField added in v4.1.0

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

func (*NgingTaskGroup) UpdateFields added in v4.1.0

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

func (*NgingTaskGroup) UpdateValues added in v4.1.0

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

func (*NgingTaskGroup) Updatex added in v4.1.0

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

func (*NgingTaskGroup) UpdatexByFields added in v4.1.0

func (a *NgingTaskGroup) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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) BatchValidate

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

func (*NgingTaskLog) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingTaskLog) ListPageAs added in v4.2.0

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.Transaction

func (*NgingTaskLog) Update added in v4.1.0

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

func (*NgingTaskLog) UpdateByFields added in v4.1.0

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

func (*NgingTaskLog) UpdateField added in v4.1.0

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

func (*NgingTaskLog) UpdateFields added in v4.1.0

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

func (*NgingTaskLog) UpdateValues added in v4.1.0

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

func (*NgingTaskLog) Updatex added in v4.1.0

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

func (*NgingTaskLog) UpdatexByFields added in v4.1.0

func (a *NgingTaskLog) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 (a *NgingTaskLog) Use(trans *factory.Transaction) factory.Model

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) BatchValidate

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

func (*NgingUser) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingUser) ListPageAs added in v4.2.0

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.Transaction

func (*NgingUser) Update added in v4.1.0

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

func (*NgingUser) UpdateByFields added in v4.1.0

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

func (*NgingUser) UpdateField added in v4.1.0

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

func (*NgingUser) UpdateFields added in v4.1.0

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

func (*NgingUser) UpdateValues added in v4.1.0

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

func (*NgingUser) Updatex added in v4.1.0

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

func (*NgingUser) UpdatexByFields added in v4.1.0

func (a *NgingUser) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 (a *NgingUser) Use(trans *factory.Transaction) factory.Model

func (*NgingUser) Validate

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

func (*NgingUser) XObjects

func (a *NgingUser) XObjects() Slice_NgingUser

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) BatchValidate

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

func (*NgingUserRole) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingUserRole) ListPageAs added in v4.2.0

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.Transaction

func (*NgingUserRole) Update added in v4.1.0

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

func (*NgingUserRole) UpdateByFields added in v4.1.0

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

func (*NgingUserRole) UpdateField added in v4.1.0

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

func (*NgingUserRole) UpdateFields added in v4.1.0

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

func (*NgingUserRole) UpdateValues added in v4.1.0

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

func (*NgingUserRole) Updatex added in v4.1.0

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

func (*NgingUserRole) UpdatexByFields added in v4.1.0

func (a *NgingUserRole) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 added in v4.1.0

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 added in v4.1.0

func NewNgingUserRolePermission(ctx echo.Context) *NgingUserRolePermission

func (*NgingUserRolePermission) AsKV added in v4.1.0

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

func (*NgingUserRolePermission) AsMap added in v4.1.0

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

func (*NgingUserRolePermission) AsRow added in v4.1.0

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

func (*NgingUserRolePermission) BatchValidate added in v4.1.0

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

func (*NgingUserRolePermission) CPAFrom added in v4.1.0

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

func (*NgingUserRolePermission) Context added in v4.1.0

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

func (*NgingUserRolePermission) Count added in v4.1.0

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

func (*NgingUserRolePermission) Delete added in v4.1.0

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

func (*NgingUserRolePermission) Deletex added in v4.1.0

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

func (*NgingUserRolePermission) EventOFF added in v4.1.0

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

func (*NgingUserRolePermission) EventON added in v4.1.0

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

func (*NgingUserRolePermission) Exists added in v4.1.0

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

func (*NgingUserRolePermission) FromRow added in v4.1.0

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

func (*NgingUserRolePermission) Get added in v4.1.0

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

func (*NgingUserRolePermission) GetPermission added in v4.1.0

func (a *NgingUserRolePermission) GetPermission() string

func (*NgingUserRolePermission) GetType added in v4.1.0

func (a *NgingUserRolePermission) GetType() string

func (*NgingUserRolePermission) GroupBy added in v4.1.0

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

func (*NgingUserRolePermission) InitObjects added in v4.1.0

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

func (*NgingUserRolePermission) Insert added in v4.1.0

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

func (*NgingUserRolePermission) KeyBy added in v4.1.0

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

func (*NgingUserRolePermission) List added in v4.1.0

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

func (*NgingUserRolePermission) ListByOffset added in v4.1.0

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

func (*NgingUserRolePermission) ListPage added in v4.2.0

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

func (*NgingUserRolePermission) ListPageAs added in v4.2.0

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

func (*NgingUserRolePermission) Name_ added in v4.1.0

func (a *NgingUserRolePermission) Name_() string

func (*NgingUserRolePermission) Namer added in v4.1.0

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

func (*NgingUserRolePermission) New added in v4.1.0

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

func (*NgingUserRolePermission) NewObjects added in v4.1.0

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

func (*NgingUserRolePermission) NewParam added in v4.1.0

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

func (*NgingUserRolePermission) Objects added in v4.1.0

func (*NgingUserRolePermission) Param added in v4.1.0

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

func (*NgingUserRolePermission) Reset added in v4.1.0

func (*NgingUserRolePermission) Set added in v4.1.0

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

func (*NgingUserRolePermission) SetConnID added in v4.1.0

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

func (*NgingUserRolePermission) SetContext added in v4.1.0

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

func (*NgingUserRolePermission) SetNamer added in v4.1.0

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

func (*NgingUserRolePermission) SetParam added in v4.1.0

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

func (*NgingUserRolePermission) Short_ added in v4.1.0

func (a *NgingUserRolePermission) Short_() string

func (*NgingUserRolePermission) Struct_ added in v4.1.0

func (a *NgingUserRolePermission) Struct_() string

func (*NgingUserRolePermission) Trans added in v4.1.0

func (*NgingUserRolePermission) Update added in v4.1.0

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

func (*NgingUserRolePermission) UpdateByFields added in v4.1.0

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

func (*NgingUserRolePermission) UpdateField added in v4.1.0

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

func (*NgingUserRolePermission) UpdateFields added in v4.1.0

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

func (*NgingUserRolePermission) UpdateValues added in v4.1.0

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

func (*NgingUserRolePermission) Updatex added in v4.1.0

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

func (*NgingUserRolePermission) UpdatexByFields added in v4.1.0

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

func (*NgingUserRolePermission) Upsert added in v4.1.0

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

func (*NgingUserRolePermission) Use added in v4.1.0

func (*NgingUserRolePermission) Validate added in v4.1.0

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

func (*NgingUserRolePermission) XObjects added in v4.1.0

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"`
	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) BatchValidate

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

func (*NgingUserU2f) CPAFrom

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

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.2.0

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

func (*NgingUserU2f) ListPageAs added in v4.2.0

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.Transaction

func (*NgingUserU2f) Update added in v4.1.0

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

func (*NgingUserU2f) UpdateByFields added in v4.1.0

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

func (*NgingUserU2f) UpdateField added in v4.1.0

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

func (*NgingUserU2f) UpdateFields added in v4.1.0

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

func (*NgingUserU2f) UpdateValues added in v4.1.0

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

func (*NgingUserU2f) Updatex added in v4.1.0

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

func (*NgingUserU2f) UpdatexByFields added in v4.1.0

func (a *NgingUserU2f) UpdatexByFields(mw func(db.Result) db.Result, fields []string, 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 (a *NgingUserU2f) Use(trans *factory.Transaction) factory.Model

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_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_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_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 added in v4.1.0

type Slice_NgingUserRolePermission []*NgingUserRolePermission

func (Slice_NgingUserRolePermission) AsKV added in v4.1.0

func (s Slice_NgingUserRolePermission) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUserRolePermission) FromList added in v4.1.0

func (s Slice_NgingUserRolePermission) FromList(data interface{}) Slice_NgingUserRolePermission

func (Slice_NgingUserRolePermission) GroupBy added in v4.1.0

func (Slice_NgingUserRolePermission) KeyBy added in v4.1.0

func (Slice_NgingUserRolePermission) Range added in v4.1.0

func (Slice_NgingUserRolePermission) RangeRaw added in v4.1.0

func (Slice_NgingUserRolePermission) Transform added in v4.1.0

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