dbschema

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

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 OfficialAdItem

type OfficialAdItem struct {
	Id          uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Name        string `db:"name" bson:"name" comment:"广告名称" json:"name" xml:"name"`
	PublisherId uint64 `db:"publisher_id" bson:"publisher_id" comment:"广告商ID" json:"publisher_id" xml:"publisher_id"`
	PositionId  uint64 `db:"position_id" bson:"position_id" comment:"广告位ID" json:"position_id" xml:"position_id"`
	Content     string `db:"content" bson:"content" comment:"广告内容" json:"content" xml:"content"`
	Contype     string `db:"contype" bson:"contype" comment:"内容类型" json:"contype" xml:"contype"`
	Mode        string `db:"mode" bson:"mode" comment:"广告模式" json:"mode" xml:"mode"`
	Url         string `db:"url" bson:"url" comment:"广告链接" json:"url" xml:"url"`
	Disabled    string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	Start       uint   `db:"start" bson:"start" comment:"生效起始时间" json:"start" xml:"start"`
	End         uint   `db:"end" bson:"end" comment:"生效结束时间" json:"end" xml:"end"`
	Sort        int    `db:"sort" bson:"sort" comment:"序号" json:"sort" xml:"sort"`
	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
}

OfficialAdItem 广告

func NewOfficialAdItem

func NewOfficialAdItem(ctx echo.Context) *OfficialAdItem

func (*OfficialAdItem) AsKV

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

func (*OfficialAdItem) AsMap

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

func (*OfficialAdItem) AsRow

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

func (*OfficialAdItem) Base_ added in v0.0.6

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

func (*OfficialAdItem) BatchValidate

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

func (*OfficialAdItem) CPAFrom

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

func (*OfficialAdItem) ConnID

func (a *OfficialAdItem) ConnID() int

func (*OfficialAdItem) Context

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

func (*OfficialAdItem) Count

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

func (*OfficialAdItem) Delete

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

func (*OfficialAdItem) Deletex

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

func (*OfficialAdItem) EventOFF

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

func (*OfficialAdItem) EventON

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

func (*OfficialAdItem) Exists

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

func (*OfficialAdItem) FromRow

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

func (*OfficialAdItem) Get

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

func (*OfficialAdItem) GroupBy

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

func (*OfficialAdItem) InitObjects

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

func (*OfficialAdItem) Insert

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

func (*OfficialAdItem) KeyBy

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

func (*OfficialAdItem) List

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

func (*OfficialAdItem) ListByOffset

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

func (*OfficialAdItem) ListPage

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

func (*OfficialAdItem) ListPageAs

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

func (*OfficialAdItem) Name_

func (a *OfficialAdItem) Name_() string

func (*OfficialAdItem) Namer

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

func (*OfficialAdItem) New

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

func (*OfficialAdItem) NewObjects

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

func (*OfficialAdItem) NewParam

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

func (*OfficialAdItem) Objects

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

func (*OfficialAdItem) Param

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

func (*OfficialAdItem) Reset

func (a *OfficialAdItem) Reset() *OfficialAdItem

func (*OfficialAdItem) Set

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

func (*OfficialAdItem) SetConnID

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

func (*OfficialAdItem) SetContext

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

func (*OfficialAdItem) SetNamer

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

func (*OfficialAdItem) SetParam

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

func (*OfficialAdItem) Short_

func (a *OfficialAdItem) Short_() string

func (*OfficialAdItem) Struct_

func (a *OfficialAdItem) Struct_() string

func (*OfficialAdItem) Trans

func (*OfficialAdItem) Update

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

func (*OfficialAdItem) UpdateByFields

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

func (*OfficialAdItem) UpdateField

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

func (*OfficialAdItem) UpdateFields

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

func (*OfficialAdItem) UpdateValues

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

func (*OfficialAdItem) Updatex

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

func (*OfficialAdItem) UpdatexByFields

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

func (*OfficialAdItem) UpdatexField

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

func (*OfficialAdItem) UpdatexFields

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

func (*OfficialAdItem) Upsert

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

func (*OfficialAdItem) Use

func (*OfficialAdItem) Validate

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

func (*OfficialAdItem) XObjects

func (a *OfficialAdItem) XObjects() Slice_OfficialAdItem

type OfficialAdPosition

type OfficialAdPosition struct {
	Id       uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Ident    string `db:"ident" bson:"ident" comment:"唯一标识" json:"ident" xml:"ident"`
	Name     string `db:"name" bson:"name" comment:"位置名称" json:"name" xml:"name"`
	Width    uint   `db:"width" bson:"width" comment:"宽度" json:"width" xml:"width"`
	Height   uint   `db:"height" bson:"height" comment:"高度" json:"height" xml:"height"`
	Content  string `db:"content" bson:"content" comment:"默认内容" json:"content" xml:"content"`
	Contype  string `db:"contype" bson:"contype" comment:"内容类型" json:"contype" xml:"contype"`
	Url      string `db:"url" bson:"url" comment:"广告链接" json:"url" xml:"url"`
	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
}

OfficialAdPosition 广告位置

func NewOfficialAdPosition

func NewOfficialAdPosition(ctx echo.Context) *OfficialAdPosition

func (*OfficialAdPosition) AsKV

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

func (*OfficialAdPosition) AsMap

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

func (*OfficialAdPosition) AsRow

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

func (*OfficialAdPosition) Base_ added in v0.0.6

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

func (*OfficialAdPosition) BatchValidate

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

func (*OfficialAdPosition) CPAFrom

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

func (*OfficialAdPosition) ConnID

func (a *OfficialAdPosition) ConnID() int

func (*OfficialAdPosition) Context

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

func (*OfficialAdPosition) Count

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

func (*OfficialAdPosition) Delete

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

func (*OfficialAdPosition) Deletex

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

func (*OfficialAdPosition) EventOFF

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

func (*OfficialAdPosition) EventON

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

func (*OfficialAdPosition) Exists

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

func (*OfficialAdPosition) FromRow

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

func (*OfficialAdPosition) Get

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

func (*OfficialAdPosition) GroupBy

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

func (*OfficialAdPosition) InitObjects

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

func (*OfficialAdPosition) Insert

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

func (*OfficialAdPosition) KeyBy

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

func (*OfficialAdPosition) List

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

func (*OfficialAdPosition) ListByOffset

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

func (*OfficialAdPosition) ListPage

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

func (*OfficialAdPosition) ListPageAs

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

func (*OfficialAdPosition) Name_

func (a *OfficialAdPosition) Name_() string

func (*OfficialAdPosition) Namer

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

func (*OfficialAdPosition) New

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

func (*OfficialAdPosition) NewObjects

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

func (*OfficialAdPosition) NewParam

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

func (*OfficialAdPosition) Objects

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

func (*OfficialAdPosition) Param

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

func (*OfficialAdPosition) Reset

func (*OfficialAdPosition) Set

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

func (*OfficialAdPosition) SetConnID

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

func (*OfficialAdPosition) SetContext

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

func (*OfficialAdPosition) SetNamer

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

func (*OfficialAdPosition) SetParam

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

func (*OfficialAdPosition) Short_

func (a *OfficialAdPosition) Short_() string

func (*OfficialAdPosition) Struct_

func (a *OfficialAdPosition) Struct_() string

func (*OfficialAdPosition) Trans

func (*OfficialAdPosition) Update

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

func (*OfficialAdPosition) UpdateByFields

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

func (*OfficialAdPosition) UpdateField

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

func (*OfficialAdPosition) UpdateFields

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

func (*OfficialAdPosition) UpdateValues

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

func (*OfficialAdPosition) Updatex

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

func (*OfficialAdPosition) UpdatexByFields

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

func (*OfficialAdPosition) UpdatexField

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

func (*OfficialAdPosition) UpdatexFields

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

func (*OfficialAdPosition) Upsert

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

func (*OfficialAdPosition) Use

func (*OfficialAdPosition) Validate

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

func (*OfficialAdPosition) XObjects

type OfficialAdPublisher

type OfficialAdPublisher struct {
	Id        uint64  `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	OwnerId   uint64  `db:"owner_id" bson:"owner_id" comment:"所有者ID" json:"owner_id" xml:"owner_id"`
	OwnerType string  `` /* 135-byte string literal not displayed */
	Deposit   float64 `db:"deposit" bson:"deposit" comment:"押金" json:"deposit" xml:"deposit"`
	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
}

OfficialAdPublisher 广告主

func NewOfficialAdPublisher

func NewOfficialAdPublisher(ctx echo.Context) *OfficialAdPublisher

func (*OfficialAdPublisher) AsKV

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

func (*OfficialAdPublisher) AsMap

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

func (*OfficialAdPublisher) AsRow

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

func (*OfficialAdPublisher) Base_ added in v0.0.6

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

func (*OfficialAdPublisher) BatchValidate

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

func (*OfficialAdPublisher) CPAFrom

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

func (*OfficialAdPublisher) ConnID

func (a *OfficialAdPublisher) ConnID() int

func (*OfficialAdPublisher) Context

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

func (*OfficialAdPublisher) Count

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

func (*OfficialAdPublisher) Delete

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

func (*OfficialAdPublisher) Deletex

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

func (*OfficialAdPublisher) EventOFF

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

func (*OfficialAdPublisher) EventON

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

func (*OfficialAdPublisher) Exists

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

func (*OfficialAdPublisher) FromRow

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

func (*OfficialAdPublisher) Get

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

func (*OfficialAdPublisher) GroupBy

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

func (*OfficialAdPublisher) InitObjects

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

func (*OfficialAdPublisher) Insert

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

func (*OfficialAdPublisher) KeyBy

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

func (*OfficialAdPublisher) List

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

func (*OfficialAdPublisher) ListByOffset

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

func (*OfficialAdPublisher) ListPage

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

func (*OfficialAdPublisher) ListPageAs

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

func (*OfficialAdPublisher) Name_

func (a *OfficialAdPublisher) Name_() string

func (*OfficialAdPublisher) Namer

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

func (*OfficialAdPublisher) New

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

func (*OfficialAdPublisher) NewObjects

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

func (*OfficialAdPublisher) NewParam

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

func (*OfficialAdPublisher) Objects

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

func (*OfficialAdPublisher) Param

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

func (*OfficialAdPublisher) Reset

func (*OfficialAdPublisher) Set

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

func (*OfficialAdPublisher) SetConnID

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

func (*OfficialAdPublisher) SetContext

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

func (*OfficialAdPublisher) SetNamer

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

func (*OfficialAdPublisher) SetParam

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

func (*OfficialAdPublisher) Short_

func (a *OfficialAdPublisher) Short_() string

func (*OfficialAdPublisher) Struct_

func (a *OfficialAdPublisher) Struct_() string

func (*OfficialAdPublisher) Trans

func (*OfficialAdPublisher) Update

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

func (*OfficialAdPublisher) UpdateByFields

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

func (*OfficialAdPublisher) UpdateField

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

func (*OfficialAdPublisher) UpdateFields

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

func (*OfficialAdPublisher) UpdateValues

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

func (*OfficialAdPublisher) Updatex

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

func (*OfficialAdPublisher) UpdatexByFields

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

func (*OfficialAdPublisher) UpdatexField

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

func (*OfficialAdPublisher) UpdatexFields

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

func (*OfficialAdPublisher) Upsert

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

func (*OfficialAdPublisher) Use

func (*OfficialAdPublisher) Validate

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

func (*OfficialAdPublisher) XObjects

type OfficialAdSettings

type OfficialAdSettings struct {
	Id       uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	AdvertId uint64 `db:"advert_id" bson:"advert_id" comment:"广告ID" json:"advert_id" xml:"advert_id"`
	Type     string `` /* 140-byte string literal not displayed */
	Value    string `db:"value" bson:"value" comment:"值" json:"value" xml:"value"`
	VStart   uint   `db:"v_start" bson:"v_start" comment:"起始值" json:"v_start" xml:"v_start"`
	VEnd     uint   `db:"v_end" bson:"v_end" comment:"结束值" json:"v_end" xml:"v_end"`
	TStart   uint   `db:"t_start" bson:"t_start" comment:"起始时间" json:"t_start" xml:"t_start"`
	TEnd     uint   `db:"t_end" bson:"t_end" comment:"结束时间" json:"t_end" xml:"t_end"`
	Disabled string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	// contains filtered or unexported fields
}

OfficialAdSettings 广告设置

func NewOfficialAdSettings

func NewOfficialAdSettings(ctx echo.Context) *OfficialAdSettings

func (*OfficialAdSettings) AsKV

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

func (*OfficialAdSettings) AsMap

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

func (*OfficialAdSettings) AsRow

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

func (*OfficialAdSettings) Base_ added in v0.0.6

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

func (*OfficialAdSettings) BatchValidate

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

func (*OfficialAdSettings) CPAFrom

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

func (*OfficialAdSettings) ConnID

func (a *OfficialAdSettings) ConnID() int

func (*OfficialAdSettings) Context

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

func (*OfficialAdSettings) Count

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

func (*OfficialAdSettings) Delete

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

func (*OfficialAdSettings) Deletex

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

func (*OfficialAdSettings) EventOFF

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

func (*OfficialAdSettings) EventON

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

func (*OfficialAdSettings) Exists

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

func (*OfficialAdSettings) FromRow

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

func (*OfficialAdSettings) Get

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

func (*OfficialAdSettings) GroupBy

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

func (*OfficialAdSettings) InitObjects

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

func (*OfficialAdSettings) Insert

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

func (*OfficialAdSettings) KeyBy

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

func (*OfficialAdSettings) List

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

func (*OfficialAdSettings) ListByOffset

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

func (*OfficialAdSettings) ListPage

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

func (*OfficialAdSettings) ListPageAs

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

func (*OfficialAdSettings) Name_

func (a *OfficialAdSettings) Name_() string

func (*OfficialAdSettings) Namer

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

func (*OfficialAdSettings) New

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

func (*OfficialAdSettings) NewObjects

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

func (*OfficialAdSettings) NewParam

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

func (*OfficialAdSettings) Objects

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

func (*OfficialAdSettings) Param

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

func (*OfficialAdSettings) Reset

func (*OfficialAdSettings) Set

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

func (*OfficialAdSettings) SetConnID

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

func (*OfficialAdSettings) SetContext

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

func (*OfficialAdSettings) SetNamer

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

func (*OfficialAdSettings) SetParam

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

func (*OfficialAdSettings) Short_

func (a *OfficialAdSettings) Short_() string

func (*OfficialAdSettings) Struct_

func (a *OfficialAdSettings) Struct_() string

func (*OfficialAdSettings) Trans

func (*OfficialAdSettings) Update

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

func (*OfficialAdSettings) UpdateByFields

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

func (*OfficialAdSettings) UpdateField

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

func (*OfficialAdSettings) UpdateFields

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

func (*OfficialAdSettings) UpdateValues

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

func (*OfficialAdSettings) Updatex

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

func (*OfficialAdSettings) UpdatexByFields

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

func (*OfficialAdSettings) UpdatexField

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

func (*OfficialAdSettings) UpdatexFields

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

func (*OfficialAdSettings) Upsert

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

func (*OfficialAdSettings) Use

func (*OfficialAdSettings) Validate

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

func (*OfficialAdSettings) XObjects

type OfficialCommonApiAccount

type OfficialCommonApiAccount struct {
	Id         uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	OwnerType  string `` /* 135-byte string literal not displayed */
	OwnerId    uint64 `db:"owner_id" bson:"owner_id" comment:"所有者ID" json:"owner_id" xml:"owner_id"`
	GroupId    uint   `db:"group_id" bson:"group_id" comment:"分组" json:"group_id" xml:"group_id"`
	Name       string `db:"name" bson:"name" comment:"接口名称" json:"name" xml:"name"`
	Url        string `db:"url" bson:"url" comment:"接口网址(生产环境)" json:"url" xml:"url"`
	UrlDev     string `db:"url_dev" bson:"url_dev" comment:"接口网址(测试环境)" json:"url_dev" xml:"url_dev"`
	AppId      string `db:"app_id" bson:"app_id" comment:"APP ID" json:"app_id" xml:"app_id"`
	AppSecret  string `db:"app_secret" bson:"app_secret" comment:"APP 密钥" json:"app_secret" xml:"app_secret"`
	PublicKey  string `db:"public_key" bson:"public_key" comment:"公钥" json:"public_key" xml:"public_key"`
	Encryption string `db:"encryption" bson:"encryption" comment:"加密方式" json:"encryption" xml:"encryption"`
	Extra      string `db:"extra" bson:"extra" comment:"扩展数据(JSON格式)" json:"extra" xml:"extra"`
	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
}

OfficialCommonApiAccount

func NewOfficialCommonApiAccount

func NewOfficialCommonApiAccount(ctx echo.Context) *OfficialCommonApiAccount

func (*OfficialCommonApiAccount) AsKV

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

func (*OfficialCommonApiAccount) AsMap

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

func (*OfficialCommonApiAccount) AsRow

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

func (*OfficialCommonApiAccount) Base_ added in v0.0.6

func (*OfficialCommonApiAccount) BatchValidate

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

func (*OfficialCommonApiAccount) CPAFrom

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

func (*OfficialCommonApiAccount) ConnID

func (a *OfficialCommonApiAccount) ConnID() int

func (*OfficialCommonApiAccount) Context

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

func (*OfficialCommonApiAccount) Count

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

func (*OfficialCommonApiAccount) Delete

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

func (*OfficialCommonApiAccount) Deletex

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

func (*OfficialCommonApiAccount) EventOFF

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

func (*OfficialCommonApiAccount) EventON

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

func (*OfficialCommonApiAccount) Exists

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

func (*OfficialCommonApiAccount) FromRow

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

func (*OfficialCommonApiAccount) Get

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

func (*OfficialCommonApiAccount) GroupBy

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

func (*OfficialCommonApiAccount) InitObjects

func (*OfficialCommonApiAccount) Insert

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

func (*OfficialCommonApiAccount) KeyBy

func (*OfficialCommonApiAccount) List

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

func (*OfficialCommonApiAccount) ListByOffset

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

func (*OfficialCommonApiAccount) ListPage

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

func (*OfficialCommonApiAccount) ListPageAs

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

func (*OfficialCommonApiAccount) Name_

func (a *OfficialCommonApiAccount) Name_() string

func (*OfficialCommonApiAccount) Namer

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

func (*OfficialCommonApiAccount) New

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

func (*OfficialCommonApiAccount) NewObjects

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

func (*OfficialCommonApiAccount) NewParam

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

func (*OfficialCommonApiAccount) Objects

func (*OfficialCommonApiAccount) Param

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

func (*OfficialCommonApiAccount) Reset

func (*OfficialCommonApiAccount) Set

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

func (*OfficialCommonApiAccount) SetConnID

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

func (*OfficialCommonApiAccount) SetContext

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

func (*OfficialCommonApiAccount) SetNamer

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

func (*OfficialCommonApiAccount) SetParam

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

func (*OfficialCommonApiAccount) Short_

func (a *OfficialCommonApiAccount) Short_() string

func (*OfficialCommonApiAccount) Struct_

func (a *OfficialCommonApiAccount) Struct_() string

func (*OfficialCommonApiAccount) Trans

func (*OfficialCommonApiAccount) Update

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

func (*OfficialCommonApiAccount) UpdateByFields

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

func (*OfficialCommonApiAccount) UpdateField

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

func (*OfficialCommonApiAccount) UpdateFields

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

func (*OfficialCommonApiAccount) UpdateValues

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

func (*OfficialCommonApiAccount) Updatex

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

func (*OfficialCommonApiAccount) UpdatexByFields

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

func (*OfficialCommonApiAccount) UpdatexField

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

func (*OfficialCommonApiAccount) UpdatexFields

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

func (*OfficialCommonApiAccount) Upsert

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

func (*OfficialCommonApiAccount) Use

func (*OfficialCommonApiAccount) Validate

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

func (*OfficialCommonApiAccount) XObjects

type OfficialCommonArea

type OfficialCommonArea struct {
	Id          uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Pid         uint   `db:"pid" bson:"pid" comment:"父id" json:"pid" xml:"pid"`
	Short       string `db:"short" bson:"short" comment:"简称" json:"short" xml:"short"`
	Name        string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"`
	Merged      string `db:"merged" bson:"merged" comment:"全称" json:"merged" xml:"merged"`
	Level       uint   `db:"level" bson:"level" comment:"层级(1,2,3-省,市,区县)" json:"level" xml:"level"`
	Pinyin      string `db:"pinyin" bson:"pinyin" comment:"拼音" json:"pinyin" xml:"pinyin"`
	Code        string `db:"code" bson:"code" comment:"长途区号" json:"code" xml:"code"`
	Zip         string `db:"zip" bson:"zip" comment:"邮编" json:"zip" xml:"zip"`
	First       string `db:"first" bson:"first" comment:"首字母" json:"first" xml:"first"`
	Lng         string `db:"lng" bson:"lng" comment:"经度" json:"lng" xml:"lng"`
	Lat         string `db:"lat" bson:"lat" comment:"纬度" json:"lat" xml:"lat"`
	CountryAbbr string `db:"country_abbr" bson:"country_abbr" comment:"国家缩写" json:"country_abbr" xml:"country_abbr"`
	// contains filtered or unexported fields
}

OfficialCommonArea 地区表

func NewOfficialCommonArea

func NewOfficialCommonArea(ctx echo.Context) *OfficialCommonArea

func (*OfficialCommonArea) AsKV

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

func (*OfficialCommonArea) AsMap

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

func (*OfficialCommonArea) AsRow

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

func (*OfficialCommonArea) Base_ added in v0.0.6

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

func (*OfficialCommonArea) BatchValidate

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

func (*OfficialCommonArea) CPAFrom

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

func (*OfficialCommonArea) ConnID

func (a *OfficialCommonArea) ConnID() int

func (*OfficialCommonArea) Context

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

func (*OfficialCommonArea) Count

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

func (*OfficialCommonArea) Delete

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

func (*OfficialCommonArea) Deletex

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

func (*OfficialCommonArea) EventOFF

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

func (*OfficialCommonArea) EventON

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

func (*OfficialCommonArea) Exists

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

func (*OfficialCommonArea) FromRow

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

func (*OfficialCommonArea) Get

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

func (*OfficialCommonArea) GroupBy

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

func (*OfficialCommonArea) InitObjects

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

func (*OfficialCommonArea) Insert

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

func (*OfficialCommonArea) KeyBy

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

func (*OfficialCommonArea) List

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

func (*OfficialCommonArea) ListByOffset

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

func (*OfficialCommonArea) ListPage

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

func (*OfficialCommonArea) ListPageAs

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

func (*OfficialCommonArea) Name_

func (a *OfficialCommonArea) Name_() string

func (*OfficialCommonArea) Namer

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

func (*OfficialCommonArea) New

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

func (*OfficialCommonArea) NewObjects

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

func (*OfficialCommonArea) NewParam

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

func (*OfficialCommonArea) Objects

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

func (*OfficialCommonArea) Param

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

func (*OfficialCommonArea) Reset

func (*OfficialCommonArea) Set

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

func (*OfficialCommonArea) SetConnID

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

func (*OfficialCommonArea) SetContext

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

func (*OfficialCommonArea) SetNamer

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

func (*OfficialCommonArea) SetParam

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

func (*OfficialCommonArea) Short_

func (a *OfficialCommonArea) Short_() string

func (*OfficialCommonArea) Struct_

func (a *OfficialCommonArea) Struct_() string

func (*OfficialCommonArea) Trans

func (*OfficialCommonArea) Update

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

func (*OfficialCommonArea) UpdateByFields

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

func (*OfficialCommonArea) UpdateField

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

func (*OfficialCommonArea) UpdateFields

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

func (*OfficialCommonArea) UpdateValues

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

func (*OfficialCommonArea) Updatex

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

func (*OfficialCommonArea) UpdatexByFields

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

func (*OfficialCommonArea) UpdatexField

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

func (*OfficialCommonArea) UpdatexFields

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

func (*OfficialCommonArea) Upsert

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

func (*OfficialCommonArea) Use

func (*OfficialCommonArea) Validate

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

func (*OfficialCommonArea) XObjects

type OfficialCommonAreaGroup

type OfficialCommonAreaGroup struct {
	Id          uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CountryAbbr string `db:"country_abbr" bson:"country_abbr" comment:"国家缩写" json:"country_abbr" xml:"country_abbr"`
	Name        string `db:"name" bson:"name" comment:"组名称" json:"name" xml:"name"`
	Abbr        string `db:"abbr" bson:"abbr" comment:"组缩写" json:"abbr" xml:"abbr"`
	AreaIds     string `db:"area_ids" bson:"area_ids" comment:"根地区ID" json:"area_ids" xml:"area_ids"`
	Sort        int    `db:"sort" bson:"sort" comment:"排序编号" json:"sort" xml:"sort"`
	// contains filtered or unexported fields
}

OfficialCommonAreaGroup 地区分组

func NewOfficialCommonAreaGroup

func NewOfficialCommonAreaGroup(ctx echo.Context) *OfficialCommonAreaGroup

func (*OfficialCommonAreaGroup) AsKV

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

func (*OfficialCommonAreaGroup) AsMap

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

func (*OfficialCommonAreaGroup) AsRow

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

func (*OfficialCommonAreaGroup) Base_ added in v0.0.6

func (*OfficialCommonAreaGroup) BatchValidate

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

func (*OfficialCommonAreaGroup) CPAFrom

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

func (*OfficialCommonAreaGroup) ConnID

func (a *OfficialCommonAreaGroup) ConnID() int

func (*OfficialCommonAreaGroup) Context

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

func (*OfficialCommonAreaGroup) Count

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

func (*OfficialCommonAreaGroup) Delete

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

func (*OfficialCommonAreaGroup) Deletex

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

func (*OfficialCommonAreaGroup) EventOFF

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

func (*OfficialCommonAreaGroup) EventON

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

func (*OfficialCommonAreaGroup) Exists

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

func (*OfficialCommonAreaGroup) FromRow

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

func (*OfficialCommonAreaGroup) Get

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

func (*OfficialCommonAreaGroup) GroupBy

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

func (*OfficialCommonAreaGroup) InitObjects

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

func (*OfficialCommonAreaGroup) Insert

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

func (*OfficialCommonAreaGroup) KeyBy

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

func (*OfficialCommonAreaGroup) List

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

func (*OfficialCommonAreaGroup) ListByOffset

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

func (*OfficialCommonAreaGroup) ListPage

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

func (*OfficialCommonAreaGroup) ListPageAs

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

func (*OfficialCommonAreaGroup) Name_

func (a *OfficialCommonAreaGroup) Name_() string

func (*OfficialCommonAreaGroup) Namer

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

func (*OfficialCommonAreaGroup) New

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

func (*OfficialCommonAreaGroup) NewObjects

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

func (*OfficialCommonAreaGroup) NewParam

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

func (*OfficialCommonAreaGroup) Objects

func (*OfficialCommonAreaGroup) Param

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

func (*OfficialCommonAreaGroup) Reset

func (*OfficialCommonAreaGroup) Set

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

func (*OfficialCommonAreaGroup) SetConnID

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

func (*OfficialCommonAreaGroup) SetContext

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

func (*OfficialCommonAreaGroup) SetNamer

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

func (*OfficialCommonAreaGroup) SetParam

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

func (*OfficialCommonAreaGroup) Short_

func (a *OfficialCommonAreaGroup) Short_() string

func (*OfficialCommonAreaGroup) Struct_

func (a *OfficialCommonAreaGroup) Struct_() string

func (*OfficialCommonAreaGroup) Trans

func (*OfficialCommonAreaGroup) Update

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

func (*OfficialCommonAreaGroup) UpdateByFields

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

func (*OfficialCommonAreaGroup) UpdateField

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

func (*OfficialCommonAreaGroup) UpdateFields

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

func (*OfficialCommonAreaGroup) UpdateValues

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

func (*OfficialCommonAreaGroup) Updatex

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

func (*OfficialCommonAreaGroup) UpdatexByFields

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

func (*OfficialCommonAreaGroup) UpdatexField

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

func (*OfficialCommonAreaGroup) UpdatexFields

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

func (*OfficialCommonAreaGroup) Upsert

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

func (*OfficialCommonAreaGroup) Use

func (*OfficialCommonAreaGroup) Validate

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

func (*OfficialCommonAreaGroup) XObjects

type OfficialCommonArticle

type OfficialCommonArticle struct {
	Id                 uint64  `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Category1          uint    `db:"category1" bson:"category1" comment:"顶级分类ID" json:"category1" xml:"category1"`
	Category2          uint    `db:"category2" bson:"category2" comment:"二级分类ID" json:"category2" xml:"category2"`
	Category3          uint    `db:"category3" bson:"category3" comment:"三级分类ID" json:"category3" xml:"category3"`
	CategoryId         uint    `db:"category_id" bson:"category_id" comment:"最底层分类ID" json:"category_id" xml:"category_id"`
	SourceId           string  `db:"source_id" bson:"source_id" comment:"来源ID(空代表不限)" json:"source_id" xml:"source_id"`
	SourceTable        string  `db:"source_table" bson:"source_table" comment:"来源表(不含official_前缀)" json:"source_table" xml:"source_table"`
	OwnerId            uint64  `db:"owner_id" bson:"owner_id" comment:"新闻发布者" json:"owner_id" xml:"owner_id"`
	OwnerType          string  `` /* 135-byte string literal not displayed */
	Title              string  `db:"title" bson:"title" comment:"新闻标题" json:"title" xml:"title"`
	Image              string  `db:"image" bson:"image" comment:"缩略图" json:"image" xml:"image"`
	ImageOriginal      string  `db:"image_original" bson:"image_original" comment:"原始图" json:"image_original" xml:"image_original"`
	Summary            string  `db:"summary" bson:"summary" comment:"摘要" json:"summary" xml:"summary"`
	Content            string  `db:"content" bson:"content" comment:"内容" json:"content" xml:"content"`
	Contype            string  `db:"contype" bson:"contype" comment:"内容类型" json:"contype" xml:"contype"`
	Created            uint    `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated            uint    `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	Display            string  `db:"display" bson:"display" comment:"是否显示" json:"display" xml:"display"`
	Template           string  `db:"template" bson:"template" comment:"模版" json:"template" xml:"template"`
	Comments           uint64  `db:"comments" bson:"comments" comment:"评论数量" json:"comments" xml:"comments"`
	CloseComment       string  `db:"close_comment" bson:"close_comment" comment:"关闭评论" json:"close_comment" xml:"close_comment"`
	CommentAutoDisplay string  `` /* 137-byte string literal not displayed */
	CommentAllowUser   string  `` /* 300-byte string literal not displayed */
	Likes              uint64  `db:"likes" bson:"likes" comment:"好评数量" json:"likes" xml:"likes"`
	Hates              uint64  `db:"hates" bson:"hates" comment:"差评数量" json:"hates" xml:"hates"`
	Views              uint64  `db:"views" bson:"views" comment:"浏览次数" json:"views" xml:"views"`
	Tags               string  `db:"tags" bson:"tags" comment:"标签" json:"tags" xml:"tags"`
	Price              float64 `db:"price" bson:"price" comment:"价格" json:"price" xml:"price"`
	Slugify            string  `db:"slugify" bson:"slugify" comment:"SEO-friendly URLs with Slugify" json:"slugify" xml:"slugify"`
	// contains filtered or unexported fields
}

OfficialCommonArticle 官方新闻

func NewOfficialCommonArticle

func NewOfficialCommonArticle(ctx echo.Context) *OfficialCommonArticle

func (*OfficialCommonArticle) AsKV

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

func (*OfficialCommonArticle) AsMap

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

func (*OfficialCommonArticle) AsRow

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

func (*OfficialCommonArticle) Base_ added in v0.0.6

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

func (*OfficialCommonArticle) BatchValidate

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

func (*OfficialCommonArticle) CPAFrom

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

func (*OfficialCommonArticle) ConnID

func (a *OfficialCommonArticle) ConnID() int

func (*OfficialCommonArticle) Context

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

func (*OfficialCommonArticle) Count

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

func (*OfficialCommonArticle) Delete

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

func (*OfficialCommonArticle) Deletex

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

func (*OfficialCommonArticle) EventOFF

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

func (*OfficialCommonArticle) EventON

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

func (*OfficialCommonArticle) Exists

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

func (*OfficialCommonArticle) FromRow

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

func (*OfficialCommonArticle) Get

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

func (*OfficialCommonArticle) GroupBy

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

func (*OfficialCommonArticle) InitObjects

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

func (*OfficialCommonArticle) Insert

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

func (*OfficialCommonArticle) KeyBy

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

func (*OfficialCommonArticle) List

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

func (*OfficialCommonArticle) ListByOffset

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

func (*OfficialCommonArticle) ListPage

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

func (*OfficialCommonArticle) ListPageAs

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

func (*OfficialCommonArticle) Name_

func (a *OfficialCommonArticle) Name_() string

func (*OfficialCommonArticle) Namer

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

func (*OfficialCommonArticle) New

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

func (*OfficialCommonArticle) NewObjects

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

func (*OfficialCommonArticle) NewParam

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

func (*OfficialCommonArticle) Objects

func (*OfficialCommonArticle) Param

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

func (*OfficialCommonArticle) Reset

func (*OfficialCommonArticle) Set

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

func (*OfficialCommonArticle) SetConnID

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

func (*OfficialCommonArticle) SetContext

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

func (*OfficialCommonArticle) SetNamer

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

func (*OfficialCommonArticle) SetParam

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

func (*OfficialCommonArticle) Short_

func (a *OfficialCommonArticle) Short_() string

func (*OfficialCommonArticle) Struct_

func (a *OfficialCommonArticle) Struct_() string

func (*OfficialCommonArticle) Trans

func (*OfficialCommonArticle) Update

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

func (*OfficialCommonArticle) UpdateByFields

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

func (*OfficialCommonArticle) UpdateField

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

func (*OfficialCommonArticle) UpdateFields

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

func (*OfficialCommonArticle) UpdateValues

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

func (*OfficialCommonArticle) Updatex

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

func (*OfficialCommonArticle) UpdatexByFields

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

func (*OfficialCommonArticle) UpdatexField

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

func (*OfficialCommonArticle) UpdatexFields

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

func (*OfficialCommonArticle) Upsert

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

func (*OfficialCommonArticle) Use

func (*OfficialCommonArticle) Validate

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

func (*OfficialCommonArticle) XObjects

type OfficialCommonCategory

type OfficialCommonCategory struct {
	Id          uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	ParentId    uint   `db:"parent_id" bson:"parent_id" comment:"上级分类ID" json:"parent_id" xml:"parent_id"`
	HasChild    string `db:"has_child" bson:"has_child" comment:"是否有子分类" json:"has_child" xml:"has_child"`
	Level       uint   `db:"level" bson:"level" comment:"层级" json:"level" xml:"level"`
	Name        string `db:"name" bson:"name" comment:"分类名称" json:"name" xml:"name"`
	Description string `db:"description" bson:"description" comment:"分类说明" json:"description" xml:"description"`
	Cover       string `db:"cover" bson:"cover" comment:"分类封面图" json:"cover" xml:"cover"`
	Type        string `db:"type" bson:"type" comment:"类型" json:"type" xml:"type"`
	Sort        int    `db:"sort" bson:"sort" comment:"排序编号(从小到大)" json:"sort" xml:"sort"`
	Template    string `db:"template" bson:"template" comment:"分类列表页模版" json:"template" xml:"template"`
	Disabled    string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	ShowOnMenu  string `db:"show_on_menu" bson:"show_on_menu" comment:"是否(Y/N)显示在导航菜单上" json:"show_on_menu" xml:"show_on_menu"`
	Created     uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated     uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	Slugify     string `db:"slugify" bson:"slugify" comment:"SEO-friendly URLs with Slugify" json:"slugify" xml:"slugify"`
	// contains filtered or unexported fields
}

OfficialCommonCategory 分类

func NewOfficialCommonCategory

func NewOfficialCommonCategory(ctx echo.Context) *OfficialCommonCategory

func (*OfficialCommonCategory) AsKV

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

func (*OfficialCommonCategory) AsMap

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

func (*OfficialCommonCategory) AsRow

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

func (*OfficialCommonCategory) Base_ added in v0.0.6

func (*OfficialCommonCategory) BatchValidate

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

func (*OfficialCommonCategory) CPAFrom

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

func (*OfficialCommonCategory) ConnID

func (a *OfficialCommonCategory) ConnID() int

func (*OfficialCommonCategory) Context

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

func (*OfficialCommonCategory) Count

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

func (*OfficialCommonCategory) Delete

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

func (*OfficialCommonCategory) Deletex

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

func (*OfficialCommonCategory) EventOFF

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

func (*OfficialCommonCategory) EventON

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

func (*OfficialCommonCategory) Exists

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

func (*OfficialCommonCategory) FromRow

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

func (*OfficialCommonCategory) Get

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

func (*OfficialCommonCategory) GroupBy

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

func (*OfficialCommonCategory) InitObjects

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

func (*OfficialCommonCategory) Insert

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

func (*OfficialCommonCategory) KeyBy

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

func (*OfficialCommonCategory) List

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

func (*OfficialCommonCategory) ListByOffset

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

func (*OfficialCommonCategory) ListPage

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

func (*OfficialCommonCategory) ListPageAs

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

func (*OfficialCommonCategory) Name_

func (a *OfficialCommonCategory) Name_() string

func (*OfficialCommonCategory) Namer

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

func (*OfficialCommonCategory) New

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

func (*OfficialCommonCategory) NewObjects

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

func (*OfficialCommonCategory) NewParam

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

func (*OfficialCommonCategory) Objects

func (*OfficialCommonCategory) Param

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

func (*OfficialCommonCategory) Reset

func (*OfficialCommonCategory) Set

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

func (*OfficialCommonCategory) SetConnID

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

func (*OfficialCommonCategory) SetContext

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

func (*OfficialCommonCategory) SetNamer

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

func (*OfficialCommonCategory) SetParam

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

func (*OfficialCommonCategory) Short_

func (a *OfficialCommonCategory) Short_() string

func (*OfficialCommonCategory) Struct_

func (a *OfficialCommonCategory) Struct_() string

func (*OfficialCommonCategory) Trans

func (*OfficialCommonCategory) Update

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

func (*OfficialCommonCategory) UpdateByFields

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

func (*OfficialCommonCategory) UpdateField

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

func (*OfficialCommonCategory) UpdateFields

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

func (*OfficialCommonCategory) UpdateValues

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

func (*OfficialCommonCategory) Updatex

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

func (*OfficialCommonCategory) UpdatexByFields

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

func (*OfficialCommonCategory) UpdatexField

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

func (*OfficialCommonCategory) UpdatexFields

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

func (*OfficialCommonCategory) Upsert

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

func (*OfficialCommonCategory) Use

func (*OfficialCommonCategory) Validate

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

func (*OfficialCommonCategory) XObjects

type OfficialCommonClickFlow

type OfficialCommonClickFlow struct {
	Id         uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	TargetType string `db:"target_type" bson:"target_type" comment:"目标类型" json:"target_type" xml:"target_type"`
	TargetId   uint64 `db:"target_id" bson:"target_id" comment:"目标ID" json:"target_id" xml:"target_id"`
	OwnerId    uint64 `db:"owner_id" bson:"owner_id" comment:"用户ID" json:"owner_id" xml:"owner_id"`
	OwnerType  string `` /* 132-byte string literal not displayed */
	Type       string `db:"type" bson:"type" comment:"类型(例如:like,hate)" json:"type" xml:"type"`
	Created    uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

OfficialCommonClickFlow 点击流水记录

func NewOfficialCommonClickFlow

func NewOfficialCommonClickFlow(ctx echo.Context) *OfficialCommonClickFlow

func (*OfficialCommonClickFlow) AsKV

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

func (*OfficialCommonClickFlow) AsMap

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

func (*OfficialCommonClickFlow) AsRow

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

func (*OfficialCommonClickFlow) Base_ added in v0.0.6

func (*OfficialCommonClickFlow) BatchValidate

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

func (*OfficialCommonClickFlow) CPAFrom

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

func (*OfficialCommonClickFlow) ConnID

func (a *OfficialCommonClickFlow) ConnID() int

func (*OfficialCommonClickFlow) Context

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

func (*OfficialCommonClickFlow) Count

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

func (*OfficialCommonClickFlow) Delete

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

func (*OfficialCommonClickFlow) Deletex

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

func (*OfficialCommonClickFlow) EventOFF

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

func (*OfficialCommonClickFlow) EventON

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

func (*OfficialCommonClickFlow) Exists

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

func (*OfficialCommonClickFlow) FromRow

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

func (*OfficialCommonClickFlow) Get

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

func (*OfficialCommonClickFlow) GroupBy

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

func (*OfficialCommonClickFlow) InitObjects

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

func (*OfficialCommonClickFlow) Insert

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

func (*OfficialCommonClickFlow) KeyBy

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

func (*OfficialCommonClickFlow) List

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

func (*OfficialCommonClickFlow) ListByOffset

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

func (*OfficialCommonClickFlow) ListPage

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

func (*OfficialCommonClickFlow) ListPageAs

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

func (*OfficialCommonClickFlow) Name_

func (a *OfficialCommonClickFlow) Name_() string

func (*OfficialCommonClickFlow) Namer

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

func (*OfficialCommonClickFlow) New

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

func (*OfficialCommonClickFlow) NewObjects

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

func (*OfficialCommonClickFlow) NewParam

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

func (*OfficialCommonClickFlow) Objects

func (*OfficialCommonClickFlow) Param

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

func (*OfficialCommonClickFlow) Reset

func (*OfficialCommonClickFlow) Set

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

func (*OfficialCommonClickFlow) SetConnID

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

func (*OfficialCommonClickFlow) SetContext

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

func (*OfficialCommonClickFlow) SetNamer

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

func (*OfficialCommonClickFlow) SetParam

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

func (*OfficialCommonClickFlow) Short_

func (a *OfficialCommonClickFlow) Short_() string

func (*OfficialCommonClickFlow) Struct_

func (a *OfficialCommonClickFlow) Struct_() string

func (*OfficialCommonClickFlow) Trans

func (*OfficialCommonClickFlow) Update

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

func (*OfficialCommonClickFlow) UpdateByFields

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

func (*OfficialCommonClickFlow) UpdateField

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

func (*OfficialCommonClickFlow) UpdateFields

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

func (*OfficialCommonClickFlow) UpdateValues

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

func (*OfficialCommonClickFlow) Updatex

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

func (*OfficialCommonClickFlow) UpdatexByFields

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

func (*OfficialCommonClickFlow) UpdatexField

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

func (*OfficialCommonClickFlow) UpdatexFields

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

func (*OfficialCommonClickFlow) Upsert

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

func (*OfficialCommonClickFlow) Use

func (*OfficialCommonClickFlow) Validate

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

func (*OfficialCommonClickFlow) XObjects

type OfficialCommonComment

type OfficialCommonComment struct {
	Id              uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	ReplyCommentId  uint64 `db:"reply_comment_id" bson:"reply_comment_id" comment:"回复评论ID" json:"reply_comment_id" xml:"reply_comment_id"`
	ReplyOwnerId    uint64 `db:"reply_owner_id" bson:"reply_owner_id" comment:"回复用户ID" json:"reply_owner_id" xml:"reply_owner_id"`
	ReplyOwnerType  string `` /* 162-byte string literal not displayed */
	RootId          uint64 `db:"root_id" bson:"root_id" comment:"根评论ID" json:"root_id" xml:"root_id"`
	TargetType      string `db:"target_type" bson:"target_type" comment:"评论目标类型(article,product...)" json:"target_type" xml:"target_type"`
	TargetSubtype   string `db:"target_subtype" bson:"target_subtype" comment:"评论目标子类型" json:"target_subtype" xml:"target_subtype"`
	TargetId        uint64 `db:"target_id" bson:"target_id" comment:"评论目标ID" json:"target_id" xml:"target_id"`
	TargetOwnerId   uint64 `db:"target_owner_id" bson:"target_owner_id" comment:"目标作者ID" json:"target_owner_id" xml:"target_owner_id"`
	TargetOwnerType string `` /* 166-byte string literal not displayed */
	OwnerId         uint64 `db:"owner_id" bson:"owner_id" comment:"评论者ID" json:"owner_id" xml:"owner_id"`
	OwnerType       string `` /* 135-byte string literal not displayed */
	Content         string `db:"content" bson:"content" comment:"评论内容" json:"content" xml:"content"`
	Contype         string `db:"contype" bson:"contype" comment:"内容类型" json:"contype" xml:"contype"`
	Created         uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated         uint   `db:"updated" bson:"updated" comment:"编辑时间" json:"updated" xml:"updated"`
	Display         string `db:"display" bson:"display" comment:"显示" json:"display" xml:"display"`
	Level           uint   `db:"level" bson:"level" comment:"层数" json:"level" xml:"level"`
	Path            string `db:"path" bson:"path" comment:"路径" json:"path" xml:"path"`
	Replies         uint64 `db:"replies" bson:"replies" comment:"回复数" json:"replies" xml:"replies"`
	Likes           uint64 `db:"likes" bson:"likes" comment:"喜欢数量" json:"likes" xml:"likes"`
	Hates           uint64 `db:"hates" bson:"hates" comment:"不喜欢数量" json:"hates" xml:"hates"`
	// contains filtered or unexported fields
}

OfficialCommonComment 评论表

func NewOfficialCommonComment

func NewOfficialCommonComment(ctx echo.Context) *OfficialCommonComment

func (*OfficialCommonComment) AsKV

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

func (*OfficialCommonComment) AsMap

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

func (*OfficialCommonComment) AsRow

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

func (*OfficialCommonComment) Base_ added in v0.0.6

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

func (*OfficialCommonComment) BatchValidate

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

func (*OfficialCommonComment) CPAFrom

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

func (*OfficialCommonComment) ConnID

func (a *OfficialCommonComment) ConnID() int

func (*OfficialCommonComment) Context

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

func (*OfficialCommonComment) Count

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

func (*OfficialCommonComment) Delete

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

func (*OfficialCommonComment) Deletex

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

func (*OfficialCommonComment) EventOFF

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

func (*OfficialCommonComment) EventON

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

func (*OfficialCommonComment) Exists

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

func (*OfficialCommonComment) FromRow

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

func (*OfficialCommonComment) Get

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

func (*OfficialCommonComment) GroupBy

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

func (*OfficialCommonComment) InitObjects

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

func (*OfficialCommonComment) Insert

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

func (*OfficialCommonComment) KeyBy

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

func (*OfficialCommonComment) List

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

func (*OfficialCommonComment) ListByOffset

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

func (*OfficialCommonComment) ListPage

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

func (*OfficialCommonComment) ListPageAs

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

func (*OfficialCommonComment) Name_

func (a *OfficialCommonComment) Name_() string

func (*OfficialCommonComment) Namer

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

func (*OfficialCommonComment) New

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

func (*OfficialCommonComment) NewObjects

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

func (*OfficialCommonComment) NewParam

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

func (*OfficialCommonComment) Objects

func (*OfficialCommonComment) Param

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

func (*OfficialCommonComment) Reset

func (*OfficialCommonComment) Set

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

func (*OfficialCommonComment) SetConnID

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

func (*OfficialCommonComment) SetContext

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

func (*OfficialCommonComment) SetNamer

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

func (*OfficialCommonComment) SetParam

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

func (*OfficialCommonComment) Short_

func (a *OfficialCommonComment) Short_() string

func (*OfficialCommonComment) Struct_

func (a *OfficialCommonComment) Struct_() string

func (*OfficialCommonComment) Trans

func (*OfficialCommonComment) Update

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

func (*OfficialCommonComment) UpdateByFields

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

func (*OfficialCommonComment) UpdateField

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

func (*OfficialCommonComment) UpdateFields

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

func (*OfficialCommonComment) UpdateValues

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

func (*OfficialCommonComment) Updatex

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

func (*OfficialCommonComment) UpdatexByFields

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

func (*OfficialCommonComment) UpdatexField

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

func (*OfficialCommonComment) UpdatexFields

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

func (*OfficialCommonComment) Upsert

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

func (*OfficialCommonComment) Use

func (*OfficialCommonComment) Validate

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

func (*OfficialCommonComment) XObjects

type OfficialCommonComplaint

type OfficialCommonComplaint struct {
	Id          uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CustomerId  uint64 `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	TargetName  string `db:"target_name" bson:"target_name" comment:"对象名称" json:"target_name" xml:"target_name"`
	TargetId    uint64 `db:"target_id" bson:"target_id" comment:"投诉对象ID" json:"target_id" xml:"target_id"`
	TargetType  string `db:"target_type" bson:"target_type" comment:"投诉对象类型" json:"target_type" xml:"target_type"`
	TargetIdent string `db:"target_ident" bson:"target_ident" comment:"投诉对象标识" json:"target_ident" xml:"target_ident"`
	Type        string `db:"type" bson:"type" comment:"投诉类型" json:"type" xml:"type"`
	Content     string `db:"content" bson:"content" comment:"投诉内容" json:"content" xml:"content"`
	Process     string `` /* 143-byte string literal not displayed */
	Result      string `db:"result" bson:"result" comment:"处理结果说明" json:"result" xml:"result"`
	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
}

OfficialCommonComplaint 投诉信息

func NewOfficialCommonComplaint

func NewOfficialCommonComplaint(ctx echo.Context) *OfficialCommonComplaint

func (*OfficialCommonComplaint) AsKV

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

func (*OfficialCommonComplaint) AsMap

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

func (*OfficialCommonComplaint) AsRow

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

func (*OfficialCommonComplaint) Base_ added in v0.0.6

func (*OfficialCommonComplaint) BatchValidate

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

func (*OfficialCommonComplaint) CPAFrom

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

func (*OfficialCommonComplaint) ConnID

func (a *OfficialCommonComplaint) ConnID() int

func (*OfficialCommonComplaint) Context

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

func (*OfficialCommonComplaint) Count

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

func (*OfficialCommonComplaint) Delete

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

func (*OfficialCommonComplaint) Deletex

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

func (*OfficialCommonComplaint) EventOFF

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

func (*OfficialCommonComplaint) EventON

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

func (*OfficialCommonComplaint) Exists

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

func (*OfficialCommonComplaint) FromRow

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

func (*OfficialCommonComplaint) Get

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

func (*OfficialCommonComplaint) GroupBy

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

func (*OfficialCommonComplaint) InitObjects

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

func (*OfficialCommonComplaint) Insert

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

func (*OfficialCommonComplaint) KeyBy

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

func (*OfficialCommonComplaint) List

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

func (*OfficialCommonComplaint) ListByOffset

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

func (*OfficialCommonComplaint) ListPage

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

func (*OfficialCommonComplaint) ListPageAs

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

func (*OfficialCommonComplaint) Name_

func (a *OfficialCommonComplaint) Name_() string

func (*OfficialCommonComplaint) Namer

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

func (*OfficialCommonComplaint) New

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

func (*OfficialCommonComplaint) NewObjects

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

func (*OfficialCommonComplaint) NewParam

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

func (*OfficialCommonComplaint) Objects

func (*OfficialCommonComplaint) Param

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

func (*OfficialCommonComplaint) Reset

func (*OfficialCommonComplaint) Set

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

func (*OfficialCommonComplaint) SetConnID

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

func (*OfficialCommonComplaint) SetContext

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

func (*OfficialCommonComplaint) SetNamer

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

func (*OfficialCommonComplaint) SetParam

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

func (*OfficialCommonComplaint) Short_

func (a *OfficialCommonComplaint) Short_() string

func (*OfficialCommonComplaint) Struct_

func (a *OfficialCommonComplaint) Struct_() string

func (*OfficialCommonComplaint) Trans

func (*OfficialCommonComplaint) Update

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

func (*OfficialCommonComplaint) UpdateByFields

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

func (*OfficialCommonComplaint) UpdateField

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

func (*OfficialCommonComplaint) UpdateFields

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

func (*OfficialCommonComplaint) UpdateValues

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

func (*OfficialCommonComplaint) Updatex

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

func (*OfficialCommonComplaint) UpdatexByFields

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

func (*OfficialCommonComplaint) UpdatexField

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

func (*OfficialCommonComplaint) UpdatexFields

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

func (*OfficialCommonComplaint) Upsert

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

func (*OfficialCommonComplaint) Use

func (*OfficialCommonComplaint) Validate

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

func (*OfficialCommonComplaint) XObjects

type OfficialCommonFriendlink struct {
	Id              uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CategoryId      uint   `db:"category_id" bson:"category_id" comment:"分类" json:"category_id" xml:"category_id"`
	CustomerId      uint64 `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	LogoOriginal    string `db:"logo_original" bson:"logo_original" comment:"LOGO原图" json:"logo_original" xml:"logo_original"`
	Name            string `db:"name" bson:"name" comment:"网站名称" json:"name" xml:"name"`
	Description     string `db:"description" bson:"description" comment:"网站说明" json:"description" xml:"description"`
	Url             string `db:"url" bson:"url" comment:"网址" json:"url" xml:"url"`
	Host            string `db:"host" bson:"host" comment:"网址主机名(域名)" json:"host" xml:"host"`
	VerifyTime      uint   `db:"verify_time" bson:"verify_time" comment:"验证时间" json:"verify_time" xml:"verify_time"`
	VerifyFailCount uint   `db:"verify_fail_count" bson:"verify_fail_count" comment:"验证失败次数" json:"verify_fail_count" xml:"verify_fail_count"`
	VerifyResult    string `` /* 144-byte string literal not displayed */
	Process         string `db:"process" bson:"process" comment:"处理结果(idle-待处理;success-成功;reject-拒绝)" json:"process" xml:"process"`
	ProcessRemark   string `db:"process_remark" bson:"process_remark" comment:"处理备注" json:"process_remark" xml:"process_remark"`
	Created         uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated         uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	ReturnTime      uint   `db:"return_time" bson:"return_time" comment:"回访时间" json:"return_time" xml:"return_time"`
	ReturnCount     uint   `db:"return_count" bson:"return_count" comment:"回访次数" json:"return_count" xml:"return_count"`
	// contains filtered or unexported fields
}

OfficialCommonFriendlink 友情链接

func NewOfficialCommonFriendlink(ctx echo.Context) *OfficialCommonFriendlink

func (*OfficialCommonFriendlink) AsKV

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

func (*OfficialCommonFriendlink) AsMap

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

func (*OfficialCommonFriendlink) AsRow

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

func (*OfficialCommonFriendlink) Base_ added in v0.0.6

func (*OfficialCommonFriendlink) BatchValidate

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

func (*OfficialCommonFriendlink) CPAFrom

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

func (*OfficialCommonFriendlink) ConnID

func (a *OfficialCommonFriendlink) ConnID() int

func (*OfficialCommonFriendlink) Context

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

func (*OfficialCommonFriendlink) Count

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

func (*OfficialCommonFriendlink) Delete

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

func (*OfficialCommonFriendlink) Deletex

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

func (*OfficialCommonFriendlink) EventOFF

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

func (*OfficialCommonFriendlink) EventON

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

func (*OfficialCommonFriendlink) Exists

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

func (*OfficialCommonFriendlink) FromRow

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

func (*OfficialCommonFriendlink) Get

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

func (*OfficialCommonFriendlink) GroupBy

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

func (*OfficialCommonFriendlink) InitObjects

func (*OfficialCommonFriendlink) Insert

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

func (*OfficialCommonFriendlink) KeyBy

func (*OfficialCommonFriendlink) List

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

func (*OfficialCommonFriendlink) ListByOffset

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

func (*OfficialCommonFriendlink) ListPage

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

func (*OfficialCommonFriendlink) ListPageAs

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

func (*OfficialCommonFriendlink) Name_

func (a *OfficialCommonFriendlink) Name_() string

func (*OfficialCommonFriendlink) Namer

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

func (*OfficialCommonFriendlink) New

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

func (*OfficialCommonFriendlink) NewObjects

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

func (*OfficialCommonFriendlink) NewParam

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

func (*OfficialCommonFriendlink) Objects

func (*OfficialCommonFriendlink) Param

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

func (*OfficialCommonFriendlink) Reset

func (*OfficialCommonFriendlink) Set

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

func (*OfficialCommonFriendlink) SetConnID

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

func (*OfficialCommonFriendlink) SetContext

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

func (*OfficialCommonFriendlink) SetNamer

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

func (*OfficialCommonFriendlink) SetParam

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

func (*OfficialCommonFriendlink) Short_

func (a *OfficialCommonFriendlink) Short_() string

func (*OfficialCommonFriendlink) Struct_

func (a *OfficialCommonFriendlink) Struct_() string

func (*OfficialCommonFriendlink) Trans

func (*OfficialCommonFriendlink) Update

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

func (*OfficialCommonFriendlink) UpdateByFields

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

func (*OfficialCommonFriendlink) UpdateField

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

func (*OfficialCommonFriendlink) UpdateFields

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

func (*OfficialCommonFriendlink) UpdateValues

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

func (*OfficialCommonFriendlink) Updatex

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

func (*OfficialCommonFriendlink) UpdatexByFields

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

func (*OfficialCommonFriendlink) UpdatexField

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

func (*OfficialCommonFriendlink) UpdatexFields

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

func (*OfficialCommonFriendlink) Upsert

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

func (*OfficialCommonFriendlink) Use

func (*OfficialCommonFriendlink) Validate

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

func (*OfficialCommonFriendlink) XObjects

type OfficialCommonGroup

type OfficialCommonGroup struct {
	Id          uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	ParentId    uint   `db:"parent_id" bson:"parent_id" comment:"上级ID" json:"parent_id" xml:"parent_id"`
	Uid         uint   `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"`
	Name        string `db:"name" bson:"name" comment:"组名" json:"name" xml:"name"`
	Type        string `` /* 198-byte string literal not displayed */
	Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"`
	Created     uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

OfficialCommonGroup 分组

func NewOfficialCommonGroup

func NewOfficialCommonGroup(ctx echo.Context) *OfficialCommonGroup

func (*OfficialCommonGroup) AsKV

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

func (*OfficialCommonGroup) AsMap

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

func (*OfficialCommonGroup) AsRow

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

func (*OfficialCommonGroup) Base_ added in v0.0.6

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

func (*OfficialCommonGroup) BatchValidate

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

func (*OfficialCommonGroup) CPAFrom

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

func (*OfficialCommonGroup) ConnID

func (a *OfficialCommonGroup) ConnID() int

func (*OfficialCommonGroup) Context

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

func (*OfficialCommonGroup) Count

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

func (*OfficialCommonGroup) Delete

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

func (*OfficialCommonGroup) Deletex

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

func (*OfficialCommonGroup) EventOFF

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

func (*OfficialCommonGroup) EventON

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

func (*OfficialCommonGroup) Exists

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

func (*OfficialCommonGroup) FromRow

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

func (*OfficialCommonGroup) Get

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

func (*OfficialCommonGroup) GroupBy

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

func (*OfficialCommonGroup) InitObjects

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

func (*OfficialCommonGroup) Insert

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

func (*OfficialCommonGroup) KeyBy

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

func (*OfficialCommonGroup) List

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

func (*OfficialCommonGroup) ListByOffset

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

func (*OfficialCommonGroup) ListPage

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

func (*OfficialCommonGroup) ListPageAs

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

func (*OfficialCommonGroup) Name_

func (a *OfficialCommonGroup) Name_() string

func (*OfficialCommonGroup) Namer

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

func (*OfficialCommonGroup) New

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

func (*OfficialCommonGroup) NewObjects

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

func (*OfficialCommonGroup) NewParam

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

func (*OfficialCommonGroup) Objects

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

func (*OfficialCommonGroup) Param

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

func (*OfficialCommonGroup) Reset

func (*OfficialCommonGroup) Set

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

func (*OfficialCommonGroup) SetConnID

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

func (*OfficialCommonGroup) SetContext

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

func (*OfficialCommonGroup) SetNamer

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

func (*OfficialCommonGroup) SetParam

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

func (*OfficialCommonGroup) Short_

func (a *OfficialCommonGroup) Short_() string

func (*OfficialCommonGroup) Struct_

func (a *OfficialCommonGroup) Struct_() string

func (*OfficialCommonGroup) Trans

func (*OfficialCommonGroup) Update

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

func (*OfficialCommonGroup) UpdateByFields

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

func (*OfficialCommonGroup) UpdateField

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

func (*OfficialCommonGroup) UpdateFields

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

func (*OfficialCommonGroup) UpdateValues

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

func (*OfficialCommonGroup) Updatex

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

func (*OfficialCommonGroup) UpdatexByFields

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

func (*OfficialCommonGroup) UpdatexField

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

func (*OfficialCommonGroup) UpdatexFields

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

func (*OfficialCommonGroup) Upsert

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

func (*OfficialCommonGroup) Use

func (*OfficialCommonGroup) Validate

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

func (*OfficialCommonGroup) XObjects

type OfficialCommonMessage

type OfficialCommonMessage struct {
	Id              uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Type            string `db:"type" bson:"type" comment:"消息类型" json:"type" xml:"type"`
	CustomerA       uint64 `db:"customer_a" bson:"customer_a" comment:"发信人ID(0为系统消息)" json:"customer_a" xml:"customer_a"`
	CustomerB       uint64 `db:"customer_b" bson:"customer_b" comment:"收信人ID" json:"customer_b" xml:"customer_b"`
	CustomerGroupId uint   `db:"customer_group_id" bson:"customer_group_id" comment:"客户组消息" json:"customer_group_id" xml:"customer_group_id"`
	UserA           uint   `db:"user_a" bson:"user_a" comment:"发信人ID(后台用户ID,用于系统消息)" json:"user_a" xml:"user_a"`
	UserB           uint   `db:"user_b" bson:"user_b" comment:"收信人ID(后台用户ID,用于后台消息)" json:"user_b" xml:"user_b"`
	UserRoleId      uint   `db:"user_role_id" bson:"user_role_id" comment:"后台角色消息" json:"user_role_id" xml:"user_role_id"`
	Title           string `db:"title" bson:"title" comment:"消息标题" json:"title" xml:"title"`
	Content         string `db:"content" bson:"content" comment:"消息内容" json:"content" xml:"content"`
	Contype         string `db:"contype" bson:"contype" comment:"内容类型" json:"contype" xml:"contype"`
	Encrypted       string `db:"encrypted" bson:"encrypted" comment:"是否为加密消息" json:"encrypted" xml:"encrypted"`
	Password        string `db:"password" bson:"password" comment:"密码" json:"password" xml:"password"`
	Created         uint   `db:"created" bson:"created" comment:"发送时间" json:"created" xml:"created"`
	Url             string `db:"url" bson:"url" comment:"网址" json:"url" xml:"url"`
	RootId          uint64 `db:"root_id" bson:"root_id" comment:"根ID" json:"root_id" xml:"root_id"`
	ReplyId         uint64 `db:"reply_id" bson:"reply_id" comment:"回复ID" json:"reply_id" xml:"reply_id"`
	HasNewReply     uint   `db:"has_new_reply" bson:"has_new_reply" comment:"是否(1/0)有新回复" json:"has_new_reply" xml:"has_new_reply"`
	ViewProgress    uint   `db:"view_progress" bson:"view_progress" comment:"查看总进度(100为100%)" json:"view_progress" xml:"view_progress"`
	// contains filtered or unexported fields
}

OfficialCommonMessage 站内信

func NewOfficialCommonMessage

func NewOfficialCommonMessage(ctx echo.Context) *OfficialCommonMessage

func (*OfficialCommonMessage) AsKV

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

func (*OfficialCommonMessage) AsMap

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

func (*OfficialCommonMessage) AsRow

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

func (*OfficialCommonMessage) Base_ added in v0.0.6

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

func (*OfficialCommonMessage) BatchValidate

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

func (*OfficialCommonMessage) CPAFrom

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

func (*OfficialCommonMessage) ConnID

func (a *OfficialCommonMessage) ConnID() int

func (*OfficialCommonMessage) Context

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

func (*OfficialCommonMessage) Count

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

func (*OfficialCommonMessage) Delete

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

func (*OfficialCommonMessage) Deletex

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

func (*OfficialCommonMessage) EventOFF

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

func (*OfficialCommonMessage) EventON

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

func (*OfficialCommonMessage) Exists

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

func (*OfficialCommonMessage) FromRow

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

func (*OfficialCommonMessage) Get

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

func (*OfficialCommonMessage) GroupBy

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

func (*OfficialCommonMessage) InitObjects

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

func (*OfficialCommonMessage) Insert

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

func (*OfficialCommonMessage) KeyBy

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

func (*OfficialCommonMessage) List

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

func (*OfficialCommonMessage) ListByOffset

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

func (*OfficialCommonMessage) ListPage

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

func (*OfficialCommonMessage) ListPageAs

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

func (*OfficialCommonMessage) Name_

func (a *OfficialCommonMessage) Name_() string

func (*OfficialCommonMessage) Namer

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

func (*OfficialCommonMessage) New

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

func (*OfficialCommonMessage) NewObjects

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

func (*OfficialCommonMessage) NewParam

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

func (*OfficialCommonMessage) Objects

func (*OfficialCommonMessage) Param

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

func (*OfficialCommonMessage) Reset

func (*OfficialCommonMessage) Set

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

func (*OfficialCommonMessage) SetConnID

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

func (*OfficialCommonMessage) SetContext

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

func (*OfficialCommonMessage) SetNamer

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

func (*OfficialCommonMessage) SetParam

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

func (*OfficialCommonMessage) Short_

func (a *OfficialCommonMessage) Short_() string

func (*OfficialCommonMessage) Struct_

func (a *OfficialCommonMessage) Struct_() string

func (*OfficialCommonMessage) Trans

func (*OfficialCommonMessage) Update

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

func (*OfficialCommonMessage) UpdateByFields

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

func (*OfficialCommonMessage) UpdateField

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

func (*OfficialCommonMessage) UpdateFields

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

func (*OfficialCommonMessage) UpdateValues

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

func (*OfficialCommonMessage) Updatex

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

func (*OfficialCommonMessage) UpdatexByFields

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

func (*OfficialCommonMessage) UpdatexField

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

func (*OfficialCommonMessage) UpdatexFields

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

func (*OfficialCommonMessage) Upsert

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

func (*OfficialCommonMessage) Use

func (*OfficialCommonMessage) Validate

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

func (*OfficialCommonMessage) XObjects

type OfficialCommonMessageViewed

type OfficialCommonMessageViewed struct {
	MessageId  uint64 `db:"message_id,pk" bson:"message_id" comment:"消息ID" json:"message_id" xml:"message_id"`
	ViewerId   uint64 `db:"viewer_id,pk" bson:"viewer_id" comment:"浏览者ID" json:"viewer_id" xml:"viewer_id"`
	ViewerType string `db:"viewer_type,pk" bson:"viewer_type" comment:"浏览者类型" json:"viewer_type" xml:"viewer_type"`
	Created    uint   `db:"created" bson:"created" comment:"查看时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

OfficialCommonMessageViewed 消息浏览记录

func NewOfficialCommonMessageViewed

func NewOfficialCommonMessageViewed(ctx echo.Context) *OfficialCommonMessageViewed

func (*OfficialCommonMessageViewed) AsKV

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

func (*OfficialCommonMessageViewed) AsMap

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

func (*OfficialCommonMessageViewed) AsRow

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

func (*OfficialCommonMessageViewed) Base_ added in v0.0.6

func (*OfficialCommonMessageViewed) BatchValidate

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

func (*OfficialCommonMessageViewed) CPAFrom

func (*OfficialCommonMessageViewed) ConnID

func (a *OfficialCommonMessageViewed) ConnID() int

func (*OfficialCommonMessageViewed) Context

func (*OfficialCommonMessageViewed) Count

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

func (*OfficialCommonMessageViewed) Delete

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

func (*OfficialCommonMessageViewed) Deletex

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

func (*OfficialCommonMessageViewed) EventOFF

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

func (*OfficialCommonMessageViewed) EventON

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

func (*OfficialCommonMessageViewed) Exists

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

func (*OfficialCommonMessageViewed) FromRow

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

func (*OfficialCommonMessageViewed) Get

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

func (*OfficialCommonMessageViewed) GroupBy

func (*OfficialCommonMessageViewed) InitObjects

func (*OfficialCommonMessageViewed) Insert

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

func (*OfficialCommonMessageViewed) KeyBy

func (*OfficialCommonMessageViewed) List

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

func (*OfficialCommonMessageViewed) ListByOffset

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

func (*OfficialCommonMessageViewed) ListPage

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

func (*OfficialCommonMessageViewed) ListPageAs

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

func (*OfficialCommonMessageViewed) Name_

func (*OfficialCommonMessageViewed) Namer

func (*OfficialCommonMessageViewed) New

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

func (*OfficialCommonMessageViewed) NewObjects

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

func (*OfficialCommonMessageViewed) NewParam

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

func (*OfficialCommonMessageViewed) Objects

func (*OfficialCommonMessageViewed) Param

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

func (*OfficialCommonMessageViewed) Reset

func (*OfficialCommonMessageViewed) Set

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

func (*OfficialCommonMessageViewed) SetConnID

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

func (*OfficialCommonMessageViewed) SetContext

func (*OfficialCommonMessageViewed) SetNamer

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

func (*OfficialCommonMessageViewed) SetParam

func (*OfficialCommonMessageViewed) Short_

func (a *OfficialCommonMessageViewed) Short_() string

func (*OfficialCommonMessageViewed) Struct_

func (a *OfficialCommonMessageViewed) Struct_() string

func (*OfficialCommonMessageViewed) Trans

func (*OfficialCommonMessageViewed) Update

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

func (*OfficialCommonMessageViewed) UpdateByFields

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

func (*OfficialCommonMessageViewed) UpdateField

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

func (*OfficialCommonMessageViewed) UpdateFields

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

func (*OfficialCommonMessageViewed) UpdateValues

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

func (*OfficialCommonMessageViewed) Updatex

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

func (*OfficialCommonMessageViewed) UpdatexByFields

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

func (*OfficialCommonMessageViewed) UpdatexField

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

func (*OfficialCommonMessageViewed) UpdatexFields

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

func (*OfficialCommonMessageViewed) Upsert

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

func (*OfficialCommonMessageViewed) Use

func (*OfficialCommonMessageViewed) Validate

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

func (*OfficialCommonMessageViewed) XObjects

type OfficialCommonNavigate

type OfficialCommonNavigate struct {
	Id        uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Type      string `` /* 128-byte string literal not displayed */
	LinkType  string `` /* 127-byte string literal not displayed */
	ParentId  uint   `db:"parent_id" bson:"parent_id" comment:"上级ID" json:"parent_id" xml:"parent_id"`
	HasChild  string `db:"has_child" bson:"has_child" comment:"是否有子菜单" json:"has_child" xml:"has_child"`
	Level     uint   `db:"level" bson:"level" comment:"层级" json:"level" xml:"level"`
	Title     string `db:"title" bson:"title" comment:"菜单标题" json:"title" xml:"title"`
	Cover     string `db:"cover" bson:"cover" comment:"图片封面" json:"cover" xml:"cover"`
	Url       string `db:"url" bson:"url" comment:"网址" json:"url" xml:"url"`
	Ident     string `db:"ident" bson:"ident" comment:"标识" json:"ident" xml:"ident"`
	Remark    string `db:"remark" bson:"remark" comment:"备注" json:"remark" xml:"remark"`
	Sort      int    `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"`
	Disabled  string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	Target    string `db:"target" bson:"target" comment:"打开目标(_self/_blank/_parent/_top)" json:"target" xml:"target"`
	Direction string `` /* 127-byte string literal not displayed */
	Badge     string `db:"badge" bson:"badge" comment:"徽标文本" json:"badge" xml:"badge"`
	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
}

OfficialCommonNavigate 导航连接

func NewOfficialCommonNavigate

func NewOfficialCommonNavigate(ctx echo.Context) *OfficialCommonNavigate

func (*OfficialCommonNavigate) AsKV

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

func (*OfficialCommonNavigate) AsMap

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

func (*OfficialCommonNavigate) AsRow

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

func (*OfficialCommonNavigate) Base_ added in v0.0.6

func (*OfficialCommonNavigate) BatchValidate

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

func (*OfficialCommonNavigate) CPAFrom

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

func (*OfficialCommonNavigate) ConnID

func (a *OfficialCommonNavigate) ConnID() int

func (*OfficialCommonNavigate) Context

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

func (*OfficialCommonNavigate) Count

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

func (*OfficialCommonNavigate) Delete

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

func (*OfficialCommonNavigate) Deletex

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

func (*OfficialCommonNavigate) EventOFF

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

func (*OfficialCommonNavigate) EventON

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

func (*OfficialCommonNavigate) Exists

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

func (*OfficialCommonNavigate) FromRow

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

func (*OfficialCommonNavigate) Get

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

func (*OfficialCommonNavigate) GroupBy

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

func (*OfficialCommonNavigate) InitObjects

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

func (*OfficialCommonNavigate) Insert

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

func (*OfficialCommonNavigate) KeyBy

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

func (*OfficialCommonNavigate) List

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

func (*OfficialCommonNavigate) ListByOffset

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

func (*OfficialCommonNavigate) ListPage

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

func (*OfficialCommonNavigate) ListPageAs

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

func (*OfficialCommonNavigate) Name_

func (a *OfficialCommonNavigate) Name_() string

func (*OfficialCommonNavigate) Namer

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

func (*OfficialCommonNavigate) New

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

func (*OfficialCommonNavigate) NewObjects

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

func (*OfficialCommonNavigate) NewParam

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

func (*OfficialCommonNavigate) Objects

func (*OfficialCommonNavigate) Param

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

func (*OfficialCommonNavigate) Reset

func (*OfficialCommonNavigate) Set

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

func (*OfficialCommonNavigate) SetConnID

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

func (*OfficialCommonNavigate) SetContext

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

func (*OfficialCommonNavigate) SetNamer

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

func (*OfficialCommonNavigate) SetParam

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

func (*OfficialCommonNavigate) Short_

func (a *OfficialCommonNavigate) Short_() string

func (*OfficialCommonNavigate) Struct_

func (a *OfficialCommonNavigate) Struct_() string

func (*OfficialCommonNavigate) Trans

func (*OfficialCommonNavigate) Update

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

func (*OfficialCommonNavigate) UpdateByFields

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

func (*OfficialCommonNavigate) UpdateField

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

func (*OfficialCommonNavigate) UpdateFields

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

func (*OfficialCommonNavigate) UpdateValues

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

func (*OfficialCommonNavigate) Updatex

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

func (*OfficialCommonNavigate) UpdatexByFields

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

func (*OfficialCommonNavigate) UpdatexField

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

func (*OfficialCommonNavigate) UpdatexFields

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

func (*OfficialCommonNavigate) Upsert

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

func (*OfficialCommonNavigate) Use

func (*OfficialCommonNavigate) Validate

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

func (*OfficialCommonNavigate) XObjects

type OfficialCommonRemark

type OfficialCommonRemark struct {
	Id          uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	OwnerId     uint64 `db:"owner_id" bson:"owner_id" comment:"所有者ID" json:"owner_id" xml:"owner_id"`
	OwnerType   string `` /* 135-byte string literal not displayed */
	SourceType  string `db:"source_type" bson:"source_type" comment:"来源类型(组)" json:"source_type" xml:"source_type"`
	SourceTable string `db:"source_table" bson:"source_table" comment:"来源表" json:"source_table" xml:"source_table"`
	SourceId    uint64 `db:"source_id" bson:"source_id" comment:"来源ID" json:"source_id" xml:"source_id"`
	Content     string `db:"content" bson:"content" comment:"简短描述" json:"content" xml:"content"`
	Created     uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

OfficialCommonRemark 备注

func NewOfficialCommonRemark

func NewOfficialCommonRemark(ctx echo.Context) *OfficialCommonRemark

func (*OfficialCommonRemark) AsKV

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

func (*OfficialCommonRemark) AsMap

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

func (*OfficialCommonRemark) AsRow

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

func (*OfficialCommonRemark) Base_ added in v0.0.6

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

func (*OfficialCommonRemark) BatchValidate

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

func (*OfficialCommonRemark) CPAFrom

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

func (*OfficialCommonRemark) ConnID

func (a *OfficialCommonRemark) ConnID() int

func (*OfficialCommonRemark) Context

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

func (*OfficialCommonRemark) Count

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

func (*OfficialCommonRemark) Delete

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

func (*OfficialCommonRemark) Deletex

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

func (*OfficialCommonRemark) EventOFF

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

func (*OfficialCommonRemark) EventON

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

func (*OfficialCommonRemark) Exists

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

func (*OfficialCommonRemark) FromRow

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

func (*OfficialCommonRemark) Get

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

func (*OfficialCommonRemark) GroupBy

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

func (*OfficialCommonRemark) InitObjects

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

func (*OfficialCommonRemark) Insert

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

func (*OfficialCommonRemark) KeyBy

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

func (*OfficialCommonRemark) List

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

func (*OfficialCommonRemark) ListByOffset

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

func (*OfficialCommonRemark) ListPage

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

func (*OfficialCommonRemark) ListPageAs

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

func (*OfficialCommonRemark) Name_

func (a *OfficialCommonRemark) Name_() string

func (*OfficialCommonRemark) Namer

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

func (*OfficialCommonRemark) New

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

func (*OfficialCommonRemark) NewObjects

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

func (*OfficialCommonRemark) NewParam

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

func (*OfficialCommonRemark) Objects

func (*OfficialCommonRemark) Param

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

func (*OfficialCommonRemark) Reset

func (*OfficialCommonRemark) Set

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

func (*OfficialCommonRemark) SetConnID

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

func (*OfficialCommonRemark) SetContext

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

func (*OfficialCommonRemark) SetNamer

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

func (*OfficialCommonRemark) SetParam

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

func (*OfficialCommonRemark) Short_

func (a *OfficialCommonRemark) Short_() string

func (*OfficialCommonRemark) Struct_

func (a *OfficialCommonRemark) Struct_() string

func (*OfficialCommonRemark) Trans

func (*OfficialCommonRemark) Update

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

func (*OfficialCommonRemark) UpdateByFields

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

func (*OfficialCommonRemark) UpdateField

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

func (*OfficialCommonRemark) UpdateFields

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

func (*OfficialCommonRemark) UpdateValues

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

func (*OfficialCommonRemark) Updatex

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

func (*OfficialCommonRemark) UpdatexByFields

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

func (*OfficialCommonRemark) UpdatexField

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

func (*OfficialCommonRemark) UpdatexFields

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

func (*OfficialCommonRemark) Upsert

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

func (*OfficialCommonRemark) Use

func (*OfficialCommonRemark) Validate

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

func (*OfficialCommonRemark) XObjects

type OfficialCommonRoutePage

type OfficialCommonRoutePage struct {
	Id          uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Name        string `db:"name" bson:"name" comment:"页面名称" json:"name" xml:"name"`
	Route       string `db:"route" bson:"route" comment:"路由网址" json:"route" xml:"route"`
	Method      string `db:"method" bson:"method" comment:"路由方法(GET/POST/PUT...)" json:"method" xml:"method"`
	PageContent string `db:"page_content" bson:"page_content" comment:"页面内容" json:"page_content" xml:"page_content"`
	PageVars    string `db:"page_vars" bson:"page_vars" comment:"页面变量(JSON)" json:"page_vars" xml:"page_vars"`
	PageType    string `db:"page_type" bson:"page_type" comment:"页面类型" json:"page_type" xml:"page_type"`
	PageId      uint   `db:"page_id" bson:"page_id" comment:"页面ID(可选,0为不关联)" json:"page_id" xml:"page_id"`
	Disabled    string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	Created     uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated     uint   `db:"updated" bson:"updated" comment:"更改时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

OfficialCommonRoutePage 自定义路由页面

func NewOfficialCommonRoutePage

func NewOfficialCommonRoutePage(ctx echo.Context) *OfficialCommonRoutePage

func (*OfficialCommonRoutePage) AsKV

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

func (*OfficialCommonRoutePage) AsMap

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

func (*OfficialCommonRoutePage) AsRow

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

func (*OfficialCommonRoutePage) Base_ added in v0.0.6

func (*OfficialCommonRoutePage) BatchValidate

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

func (*OfficialCommonRoutePage) CPAFrom

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

func (*OfficialCommonRoutePage) ConnID

func (a *OfficialCommonRoutePage) ConnID() int

func (*OfficialCommonRoutePage) Context

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

func (*OfficialCommonRoutePage) Count

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

func (*OfficialCommonRoutePage) Delete

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

func (*OfficialCommonRoutePage) Deletex

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

func (*OfficialCommonRoutePage) EventOFF

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

func (*OfficialCommonRoutePage) EventON

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

func (*OfficialCommonRoutePage) Exists

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

func (*OfficialCommonRoutePage) FromRow

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

func (*OfficialCommonRoutePage) Get

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

func (*OfficialCommonRoutePage) GroupBy

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

func (*OfficialCommonRoutePage) InitObjects

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

func (*OfficialCommonRoutePage) Insert

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

func (*OfficialCommonRoutePage) KeyBy

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

func (*OfficialCommonRoutePage) List

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

func (*OfficialCommonRoutePage) ListByOffset

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

func (*OfficialCommonRoutePage) ListPage

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

func (*OfficialCommonRoutePage) ListPageAs

func (a *OfficialCommonRoutePage) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCommonRoutePage) Name_

func (a *OfficialCommonRoutePage) Name_() string

func (*OfficialCommonRoutePage) Namer

func (a *OfficialCommonRoutePage) Namer() func(factory.Model) string

func (*OfficialCommonRoutePage) New

func (a *OfficialCommonRoutePage) New(structName string, connID ...int) factory.Model

func (*OfficialCommonRoutePage) NewObjects

func (a *OfficialCommonRoutePage) NewObjects() factory.Ranger

func (*OfficialCommonRoutePage) NewParam

func (a *OfficialCommonRoutePage) NewParam() *factory.Param

func (*OfficialCommonRoutePage) Objects

func (*OfficialCommonRoutePage) Param

func (a *OfficialCommonRoutePage) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCommonRoutePage) Reset

func (*OfficialCommonRoutePage) Set

func (a *OfficialCommonRoutePage) Set(key interface{}, value ...interface{})

func (*OfficialCommonRoutePage) SetConnID

func (a *OfficialCommonRoutePage) SetConnID(connID int) factory.Model

func (*OfficialCommonRoutePage) SetContext

func (a *OfficialCommonRoutePage) SetContext(ctx echo.Context) factory.Model

func (*OfficialCommonRoutePage) SetNamer

func (a *OfficialCommonRoutePage) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCommonRoutePage) SetParam

func (a *OfficialCommonRoutePage) SetParam(param *factory.Param) factory.Model

func (*OfficialCommonRoutePage) Short_

func (a *OfficialCommonRoutePage) Short_() string

func (*OfficialCommonRoutePage) Struct_

func (a *OfficialCommonRoutePage) Struct_() string

func (*OfficialCommonRoutePage) Trans

func (*OfficialCommonRoutePage) Update

func (a *OfficialCommonRoutePage) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCommonRoutePage) UpdateByFields

func (a *OfficialCommonRoutePage) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCommonRoutePage) UpdateField

func (a *OfficialCommonRoutePage) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCommonRoutePage) UpdateFields

func (a *OfficialCommonRoutePage) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCommonRoutePage) UpdateValues

func (a *OfficialCommonRoutePage) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCommonRoutePage) Updatex

func (a *OfficialCommonRoutePage) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCommonRoutePage) UpdatexByFields

func (a *OfficialCommonRoutePage) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCommonRoutePage) UpdatexField

func (a *OfficialCommonRoutePage) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCommonRoutePage) UpdatexFields

func (a *OfficialCommonRoutePage) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCommonRoutePage) Upsert

func (a *OfficialCommonRoutePage) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCommonRoutePage) Use

func (*OfficialCommonRoutePage) Validate

func (a *OfficialCommonRoutePage) Validate(field string, value interface{}) error

func (*OfficialCommonRoutePage) XObjects

type OfficialCommonSensitive

type OfficialCommonSensitive struct {
	Id       uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	Words    string `db:"words" bson:"words" comment:"敏感词" json:"words" xml:"words"`
	Type     string `db:"type" bson:"type" comment:"类型(bad-敏感词;noise-噪音词)" json:"type" xml:"type"`
	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
}

OfficialCommonSensitive 敏感词

func NewOfficialCommonSensitive

func NewOfficialCommonSensitive(ctx echo.Context) *OfficialCommonSensitive

func (*OfficialCommonSensitive) AsKV

func (a *OfficialCommonSensitive) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCommonSensitive) param.Store

func (*OfficialCommonSensitive) AsMap

func (a *OfficialCommonSensitive) AsMap(onlyFields ...string) param.Store

func (*OfficialCommonSensitive) AsRow

func (a *OfficialCommonSensitive) AsRow(onlyFields ...string) param.Store

func (*OfficialCommonSensitive) Base_ added in v0.0.6

func (*OfficialCommonSensitive) BatchValidate

func (a *OfficialCommonSensitive) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCommonSensitive) CPAFrom

func (a *OfficialCommonSensitive) CPAFrom(source factory.Model) factory.Model

func (*OfficialCommonSensitive) ConnID

func (a *OfficialCommonSensitive) ConnID() int

func (*OfficialCommonSensitive) Context

func (a *OfficialCommonSensitive) Context() echo.Context

func (*OfficialCommonSensitive) Count

func (a *OfficialCommonSensitive) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCommonSensitive) Delete

func (a *OfficialCommonSensitive) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCommonSensitive) Deletex

func (a *OfficialCommonSensitive) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCommonSensitive) EventOFF

func (a *OfficialCommonSensitive) EventOFF(off ...bool) factory.Model

func (*OfficialCommonSensitive) EventON

func (a *OfficialCommonSensitive) EventON(on ...bool) factory.Model

func (*OfficialCommonSensitive) Exists

func (a *OfficialCommonSensitive) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCommonSensitive) FromRow

func (a *OfficialCommonSensitive) FromRow(row map[string]interface{})

func (*OfficialCommonSensitive) Get

func (a *OfficialCommonSensitive) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCommonSensitive) GroupBy

func (a *OfficialCommonSensitive) GroupBy(keyField string, inputRows ...[]*OfficialCommonSensitive) map[string][]*OfficialCommonSensitive

func (*OfficialCommonSensitive) InitObjects

func (a *OfficialCommonSensitive) InitObjects() *[]*OfficialCommonSensitive

func (*OfficialCommonSensitive) Insert

func (a *OfficialCommonSensitive) Insert() (pk interface{}, err error)

func (*OfficialCommonSensitive) KeyBy

func (a *OfficialCommonSensitive) KeyBy(keyField string, inputRows ...[]*OfficialCommonSensitive) map[string]*OfficialCommonSensitive

func (*OfficialCommonSensitive) List

func (a *OfficialCommonSensitive) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCommonSensitive) ListByOffset

func (a *OfficialCommonSensitive) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCommonSensitive) ListPage

func (a *OfficialCommonSensitive) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCommonSensitive) ListPageAs

func (a *OfficialCommonSensitive) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCommonSensitive) Name_

func (a *OfficialCommonSensitive) Name_() string

func (*OfficialCommonSensitive) Namer

func (a *OfficialCommonSensitive) Namer() func(factory.Model) string

func (*OfficialCommonSensitive) New

func (a *OfficialCommonSensitive) New(structName string, connID ...int) factory.Model

func (*OfficialCommonSensitive) NewObjects

func (a *OfficialCommonSensitive) NewObjects() factory.Ranger

func (*OfficialCommonSensitive) NewParam

func (a *OfficialCommonSensitive) NewParam() *factory.Param

func (*OfficialCommonSensitive) Objects

func (*OfficialCommonSensitive) Param

func (a *OfficialCommonSensitive) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCommonSensitive) Reset

func (*OfficialCommonSensitive) Set

func (a *OfficialCommonSensitive) Set(key interface{}, value ...interface{})

func (*OfficialCommonSensitive) SetConnID

func (a *OfficialCommonSensitive) SetConnID(connID int) factory.Model

func (*OfficialCommonSensitive) SetContext

func (a *OfficialCommonSensitive) SetContext(ctx echo.Context) factory.Model

func (*OfficialCommonSensitive) SetNamer

func (a *OfficialCommonSensitive) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCommonSensitive) SetParam

func (a *OfficialCommonSensitive) SetParam(param *factory.Param) factory.Model

func (*OfficialCommonSensitive) Short_

func (a *OfficialCommonSensitive) Short_() string

func (*OfficialCommonSensitive) Struct_

func (a *OfficialCommonSensitive) Struct_() string

func (*OfficialCommonSensitive) Trans

func (*OfficialCommonSensitive) Update

func (a *OfficialCommonSensitive) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCommonSensitive) UpdateByFields

func (a *OfficialCommonSensitive) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCommonSensitive) UpdateField

func (a *OfficialCommonSensitive) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCommonSensitive) UpdateFields

func (a *OfficialCommonSensitive) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCommonSensitive) UpdateValues

func (a *OfficialCommonSensitive) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCommonSensitive) Updatex

func (a *OfficialCommonSensitive) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCommonSensitive) UpdatexByFields

func (a *OfficialCommonSensitive) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCommonSensitive) UpdatexField

func (a *OfficialCommonSensitive) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCommonSensitive) UpdatexFields

func (a *OfficialCommonSensitive) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCommonSensitive) Upsert

func (a *OfficialCommonSensitive) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCommonSensitive) Use

func (*OfficialCommonSensitive) Validate

func (a *OfficialCommonSensitive) Validate(field string, value interface{}) error

func (*OfficialCommonSensitive) XObjects

type OfficialCommonTags

type OfficialCommonTags struct {
	Name    string `db:"name,pk" bson:"name" comment:"标签名" json:"name" xml:"name"`
	Num     uint64 `db:"num" bson:"num" comment:"数量" json:"num" xml:"num"`
	Group   string `db:"group,pk" bson:"group" comment:"分组标识" json:"group" xml:"group"`
	Display string `db:"display" bson:"display" comment:"是否显示" json:"display" xml:"display"`
	// contains filtered or unexported fields
}

OfficialCommonTags 标签库

func NewOfficialCommonTags

func NewOfficialCommonTags(ctx echo.Context) *OfficialCommonTags

func (*OfficialCommonTags) AsKV

func (a *OfficialCommonTags) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCommonTags) param.Store

func (*OfficialCommonTags) AsMap

func (a *OfficialCommonTags) AsMap(onlyFields ...string) param.Store

func (*OfficialCommonTags) AsRow

func (a *OfficialCommonTags) AsRow(onlyFields ...string) param.Store

func (*OfficialCommonTags) Base_ added in v0.0.6

func (a *OfficialCommonTags) Base_() factory.Baser

func (*OfficialCommonTags) BatchValidate

func (a *OfficialCommonTags) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCommonTags) CPAFrom

func (a *OfficialCommonTags) CPAFrom(source factory.Model) factory.Model

func (*OfficialCommonTags) ConnID

func (a *OfficialCommonTags) ConnID() int

func (*OfficialCommonTags) Context

func (a *OfficialCommonTags) Context() echo.Context

func (*OfficialCommonTags) Count

func (a *OfficialCommonTags) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCommonTags) Delete

func (a *OfficialCommonTags) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCommonTags) Deletex

func (a *OfficialCommonTags) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCommonTags) EventOFF

func (a *OfficialCommonTags) EventOFF(off ...bool) factory.Model

func (*OfficialCommonTags) EventON

func (a *OfficialCommonTags) EventON(on ...bool) factory.Model

func (*OfficialCommonTags) Exists

func (a *OfficialCommonTags) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCommonTags) FromRow

func (a *OfficialCommonTags) FromRow(row map[string]interface{})

func (*OfficialCommonTags) Get

func (a *OfficialCommonTags) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCommonTags) GroupBy

func (a *OfficialCommonTags) GroupBy(keyField string, inputRows ...[]*OfficialCommonTags) map[string][]*OfficialCommonTags

func (*OfficialCommonTags) InitObjects

func (a *OfficialCommonTags) InitObjects() *[]*OfficialCommonTags

func (*OfficialCommonTags) Insert

func (a *OfficialCommonTags) Insert() (pk interface{}, err error)

func (*OfficialCommonTags) KeyBy

func (a *OfficialCommonTags) KeyBy(keyField string, inputRows ...[]*OfficialCommonTags) map[string]*OfficialCommonTags

func (*OfficialCommonTags) List

func (a *OfficialCommonTags) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCommonTags) ListByOffset

func (a *OfficialCommonTags) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCommonTags) ListPage

func (a *OfficialCommonTags) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCommonTags) ListPageAs

func (a *OfficialCommonTags) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCommonTags) Name_

func (a *OfficialCommonTags) Name_() string

func (*OfficialCommonTags) Namer

func (a *OfficialCommonTags) Namer() func(factory.Model) string

func (*OfficialCommonTags) New

func (a *OfficialCommonTags) New(structName string, connID ...int) factory.Model

func (*OfficialCommonTags) NewObjects

func (a *OfficialCommonTags) NewObjects() factory.Ranger

func (*OfficialCommonTags) NewParam

func (a *OfficialCommonTags) NewParam() *factory.Param

func (*OfficialCommonTags) Objects

func (a *OfficialCommonTags) Objects() []*OfficialCommonTags

func (*OfficialCommonTags) Param

func (a *OfficialCommonTags) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCommonTags) Reset

func (*OfficialCommonTags) Set

func (a *OfficialCommonTags) Set(key interface{}, value ...interface{})

func (*OfficialCommonTags) SetConnID

func (a *OfficialCommonTags) SetConnID(connID int) factory.Model

func (*OfficialCommonTags) SetContext

func (a *OfficialCommonTags) SetContext(ctx echo.Context) factory.Model

func (*OfficialCommonTags) SetNamer

func (a *OfficialCommonTags) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCommonTags) SetParam

func (a *OfficialCommonTags) SetParam(param *factory.Param) factory.Model

func (*OfficialCommonTags) Short_

func (a *OfficialCommonTags) Short_() string

func (*OfficialCommonTags) Struct_

func (a *OfficialCommonTags) Struct_() string

func (*OfficialCommonTags) Trans

func (*OfficialCommonTags) Update

func (a *OfficialCommonTags) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCommonTags) UpdateByFields

func (a *OfficialCommonTags) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCommonTags) UpdateField

func (a *OfficialCommonTags) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCommonTags) UpdateFields

func (a *OfficialCommonTags) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCommonTags) UpdateValues

func (a *OfficialCommonTags) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCommonTags) Updatex

func (a *OfficialCommonTags) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCommonTags) UpdatexByFields

func (a *OfficialCommonTags) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCommonTags) UpdatexField

func (a *OfficialCommonTags) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCommonTags) UpdatexFields

func (a *OfficialCommonTags) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCommonTags) Upsert

func (a *OfficialCommonTags) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCommonTags) Use

func (*OfficialCommonTags) Validate

func (a *OfficialCommonTags) Validate(field string, value interface{}) error

func (*OfficialCommonTags) XObjects

type OfficialCustomer

type OfficialCustomer 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"`
	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"`
	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:"-"`
	RealName     string `db:"real_name" bson:"real_name" comment:"真实姓名" json:"real_name" xml:"real_name"`
	Mobile       string `db:"mobile" bson:"mobile" comment:"手机号" json:"mobile" xml:"mobile"`
	MobileBind   string `db:"mobile_bind" bson:"mobile_bind" comment:"手机是否已绑定" json:"mobile_bind" xml:"mobile_bind"`
	Email        string `db:"email" bson:"email" comment:"邮箱" json:"email" xml:"email"`
	EmailBind    string `db:"email_bind" bson:"email_bind" comment:"邮箱是否已绑定" json:"email_bind" xml:"email_bind"`
	Online       string `db:"online" bson:"online" comment:"是否在线" json:"online" xml:"online"`
	Disabled     string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	Gender       string `db:"gender" bson:"gender" comment:"性别(male-男;female-女;secret-保密)" json:"gender" xml:"gender"`
	IdCardNo     string `db:"id_card_no" bson:"id_card_no" comment:"身份证号" json:"id_card_no" xml:"id_card_no"`
	Created      uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated      uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	Description  string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"`
	Avatar       string `db:"avatar" bson:"avatar" comment:"头像" json:"avatar" xml:"avatar"`
	Licenses     uint64 `db:"licenses" bson:"licenses" comment:"有效证书数量" json:"licenses" xml:"licenses"`
	LoginFails   uint   `db:"login_fails" bson:"login_fails" comment:"连续登录失败次数" json:"login_fails" xml:"login_fails"`
	LevelId      uint   `db:"level_id" bson:"level_id" comment:"客户等级" json:"level_id" xml:"level_id"`
	AgentLevel   uint   `db:"agent_level" bson:"agent_level" comment:"代理等级" json:"agent_level" xml:"agent_level"`
	InviterId    uint64 `db:"inviter_id" bson:"inviter_id" comment:"推荐人(代理)ID" json:"inviter_id" xml:"inviter_id"`
	Following    uint   `db:"following" bson:"following" comment:"我关注的人数" json:"following" xml:"following"`
	Followers    uint   `db:"followers" bson:"followers" comment:"关注我的人数" json:"followers" xml:"followers"`
	RoleIds      string `db:"role_ids" bson:"role_ids" comment:"角色ID(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"`
	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"`
	RegisteredBy string `db:"registered_by" bson:"registered_by" comment:"注册来源" json:"registered_by" xml:"registered_by"`
	// contains filtered or unexported fields
}

OfficialCustomer 客户资料

func NewOfficialCustomer

func NewOfficialCustomer(ctx echo.Context) *OfficialCustomer

func (*OfficialCustomer) AsKV

func (a *OfficialCustomer) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomer) param.Store

func (*OfficialCustomer) AsMap

func (a *OfficialCustomer) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomer) AsRow

func (a *OfficialCustomer) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomer) Base_ added in v0.0.6

func (a *OfficialCustomer) Base_() factory.Baser

func (*OfficialCustomer) BatchValidate

func (a *OfficialCustomer) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomer) CPAFrom

func (a *OfficialCustomer) CPAFrom(source factory.Model) factory.Model

func (*OfficialCustomer) ConnID

func (a *OfficialCustomer) ConnID() int

func (*OfficialCustomer) Context

func (a *OfficialCustomer) Context() echo.Context

func (*OfficialCustomer) Count

func (a *OfficialCustomer) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomer) Delete

func (a *OfficialCustomer) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomer) Deletex

func (a *OfficialCustomer) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomer) EventOFF

func (a *OfficialCustomer) EventOFF(off ...bool) factory.Model

func (*OfficialCustomer) EventON

func (a *OfficialCustomer) EventON(on ...bool) factory.Model

func (*OfficialCustomer) Exists

func (a *OfficialCustomer) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomer) FromRow

func (a *OfficialCustomer) FromRow(row map[string]interface{})

func (*OfficialCustomer) Get

func (a *OfficialCustomer) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomer) GroupBy

func (a *OfficialCustomer) GroupBy(keyField string, inputRows ...[]*OfficialCustomer) map[string][]*OfficialCustomer

func (*OfficialCustomer) InitObjects

func (a *OfficialCustomer) InitObjects() *[]*OfficialCustomer

func (*OfficialCustomer) Insert

func (a *OfficialCustomer) Insert() (pk interface{}, err error)

func (*OfficialCustomer) KeyBy

func (a *OfficialCustomer) KeyBy(keyField string, inputRows ...[]*OfficialCustomer) map[string]*OfficialCustomer

func (*OfficialCustomer) List

func (a *OfficialCustomer) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomer) ListByOffset

func (a *OfficialCustomer) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomer) ListPage

func (a *OfficialCustomer) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomer) ListPageAs

func (a *OfficialCustomer) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomer) Name_

func (a *OfficialCustomer) Name_() string

func (*OfficialCustomer) Namer

func (a *OfficialCustomer) Namer() func(factory.Model) string

func (*OfficialCustomer) New

func (a *OfficialCustomer) New(structName string, connID ...int) factory.Model

func (*OfficialCustomer) NewObjects

func (a *OfficialCustomer) NewObjects() factory.Ranger

func (*OfficialCustomer) NewParam

func (a *OfficialCustomer) NewParam() *factory.Param

func (*OfficialCustomer) Objects

func (a *OfficialCustomer) Objects() []*OfficialCustomer

func (*OfficialCustomer) Param

func (a *OfficialCustomer) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomer) Reset

func (a *OfficialCustomer) Reset() *OfficialCustomer

func (*OfficialCustomer) Set

func (a *OfficialCustomer) Set(key interface{}, value ...interface{})

func (*OfficialCustomer) SetConnID

func (a *OfficialCustomer) SetConnID(connID int) factory.Model

func (*OfficialCustomer) SetContext

func (a *OfficialCustomer) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomer) SetNamer

func (a *OfficialCustomer) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomer) SetParam

func (a *OfficialCustomer) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomer) Short_

func (a *OfficialCustomer) Short_() string

func (*OfficialCustomer) Struct_

func (a *OfficialCustomer) Struct_() string

func (*OfficialCustomer) Trans

func (*OfficialCustomer) Update

func (a *OfficialCustomer) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomer) UpdateByFields

func (a *OfficialCustomer) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomer) UpdateField

func (a *OfficialCustomer) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomer) UpdateFields

func (a *OfficialCustomer) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomer) UpdateValues

func (a *OfficialCustomer) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomer) Updatex

func (a *OfficialCustomer) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomer) UpdatexByFields

func (a *OfficialCustomer) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomer) UpdatexField

func (a *OfficialCustomer) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomer) UpdatexFields

func (a *OfficialCustomer) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomer) Upsert

func (a *OfficialCustomer) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomer) Use

func (*OfficialCustomer) Validate

func (a *OfficialCustomer) Validate(field string, value interface{}) error

func (*OfficialCustomer) XObjects

type OfficialCustomerAgentLevel

type OfficialCustomerAgentLevel 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"`
	AgencyFee              float64 `db:"agency_fee" bson:"agency_fee" comment:"代理费" json:"agency_fee" xml:"agency_fee"`
	AgencyFeeRebateRatio   float64 `` /* 158-byte string literal not displayed */
	SalesCommissionRatio1  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio2  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio3  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio4  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio5  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio6  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio7  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio8  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio9  float64 `` /* 165-byte string literal not displayed */
	SalesCommissionRatio10 float64 `` /* 170-byte string literal not displayed */
	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:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	RoleIds                string  `db:"role_ids" bson:"role_ids" comment:"角色ID(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"`
	// contains filtered or unexported fields
}

OfficialCustomerAgentLevel 代理等级

func NewOfficialCustomerAgentLevel

func NewOfficialCustomerAgentLevel(ctx echo.Context) *OfficialCustomerAgentLevel

func (*OfficialCustomerAgentLevel) AsKV

func (a *OfficialCustomerAgentLevel) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerAgentLevel) param.Store

func (*OfficialCustomerAgentLevel) AsMap

func (a *OfficialCustomerAgentLevel) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerAgentLevel) AsRow

func (a *OfficialCustomerAgentLevel) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerAgentLevel) Base_ added in v0.0.6

func (*OfficialCustomerAgentLevel) BatchValidate

func (a *OfficialCustomerAgentLevel) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerAgentLevel) CPAFrom

func (*OfficialCustomerAgentLevel) ConnID

func (a *OfficialCustomerAgentLevel) ConnID() int

func (*OfficialCustomerAgentLevel) Context

func (*OfficialCustomerAgentLevel) Count

func (a *OfficialCustomerAgentLevel) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerAgentLevel) Delete

func (a *OfficialCustomerAgentLevel) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentLevel) Deletex

func (a *OfficialCustomerAgentLevel) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentLevel) EventOFF

func (a *OfficialCustomerAgentLevel) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerAgentLevel) EventON

func (a *OfficialCustomerAgentLevel) EventON(on ...bool) factory.Model

func (*OfficialCustomerAgentLevel) Exists

func (a *OfficialCustomerAgentLevel) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerAgentLevel) FromRow

func (a *OfficialCustomerAgentLevel) FromRow(row map[string]interface{})

func (*OfficialCustomerAgentLevel) Get

func (a *OfficialCustomerAgentLevel) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentLevel) GroupBy

func (*OfficialCustomerAgentLevel) InitObjects

func (*OfficialCustomerAgentLevel) Insert

func (a *OfficialCustomerAgentLevel) Insert() (pk interface{}, err error)

func (*OfficialCustomerAgentLevel) KeyBy

func (*OfficialCustomerAgentLevel) List

func (a *OfficialCustomerAgentLevel) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerAgentLevel) ListByOffset

func (a *OfficialCustomerAgentLevel) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerAgentLevel) ListPage

func (a *OfficialCustomerAgentLevel) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerAgentLevel) ListPageAs

func (a *OfficialCustomerAgentLevel) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerAgentLevel) Name_

func (*OfficialCustomerAgentLevel) Namer

func (*OfficialCustomerAgentLevel) New

func (a *OfficialCustomerAgentLevel) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerAgentLevel) NewObjects

func (a *OfficialCustomerAgentLevel) NewObjects() factory.Ranger

func (*OfficialCustomerAgentLevel) NewParam

func (a *OfficialCustomerAgentLevel) NewParam() *factory.Param

func (*OfficialCustomerAgentLevel) Objects

func (*OfficialCustomerAgentLevel) Param

func (a *OfficialCustomerAgentLevel) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerAgentLevel) Reset

func (*OfficialCustomerAgentLevel) Set

func (a *OfficialCustomerAgentLevel) Set(key interface{}, value ...interface{})

func (*OfficialCustomerAgentLevel) SetConnID

func (a *OfficialCustomerAgentLevel) SetConnID(connID int) factory.Model

func (*OfficialCustomerAgentLevel) SetContext

func (*OfficialCustomerAgentLevel) SetNamer

func (a *OfficialCustomerAgentLevel) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerAgentLevel) SetParam

func (*OfficialCustomerAgentLevel) Short_

func (a *OfficialCustomerAgentLevel) Short_() string

func (*OfficialCustomerAgentLevel) Struct_

func (a *OfficialCustomerAgentLevel) Struct_() string

func (*OfficialCustomerAgentLevel) Trans

func (*OfficialCustomerAgentLevel) Update

func (a *OfficialCustomerAgentLevel) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentLevel) UpdateByFields

func (a *OfficialCustomerAgentLevel) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerAgentLevel) UpdateField

func (a *OfficialCustomerAgentLevel) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerAgentLevel) UpdateFields

func (a *OfficialCustomerAgentLevel) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerAgentLevel) UpdateValues

func (a *OfficialCustomerAgentLevel) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerAgentLevel) Updatex

func (a *OfficialCustomerAgentLevel) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentLevel) UpdatexByFields

func (a *OfficialCustomerAgentLevel) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentLevel) UpdatexField

func (a *OfficialCustomerAgentLevel) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentLevel) UpdatexFields

func (a *OfficialCustomerAgentLevel) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentLevel) Upsert

func (a *OfficialCustomerAgentLevel) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerAgentLevel) Use

func (*OfficialCustomerAgentLevel) Validate

func (a *OfficialCustomerAgentLevel) Validate(field string, value interface{}) error

func (*OfficialCustomerAgentLevel) XObjects

type OfficialCustomerAgentProduct

type OfficialCustomerAgentProduct struct {
	Id           uint64  `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	AgentId      uint64  `db:"agent_id" bson:"agent_id" comment:"代理商UID(customer表id)" json:"agent_id" xml:"agent_id"`
	ProductId    string  `db:"product_id" bson:"product_id" comment:"商品ID" json:"product_id" xml:"product_id"`
	ProductTable string  `` /* 129-byte string literal not displayed */
	Sold         uint64  `db:"sold" bson:"sold" comment:"销量" json:"sold" xml:"sold"`
	Performance  float64 `db:"performance" bson:"performance" comment:"业绩" json:"performance" xml:"performance"`
	Created      uint    `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Expired      uint    `db:"expired" bson:"expired" comment:"过期时间" json:"expired" xml:"expired"`
	Updated      uint    `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	Disabled     string  `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	// contains filtered or unexported fields
}

OfficialCustomerAgentProduct 代理产品列表

func NewOfficialCustomerAgentProduct

func NewOfficialCustomerAgentProduct(ctx echo.Context) *OfficialCustomerAgentProduct

func (*OfficialCustomerAgentProduct) AsKV

func (a *OfficialCustomerAgentProduct) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerAgentProduct) param.Store

func (*OfficialCustomerAgentProduct) AsMap

func (a *OfficialCustomerAgentProduct) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerAgentProduct) AsRow

func (a *OfficialCustomerAgentProduct) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerAgentProduct) Base_ added in v0.0.6

func (*OfficialCustomerAgentProduct) BatchValidate

func (a *OfficialCustomerAgentProduct) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerAgentProduct) CPAFrom

func (*OfficialCustomerAgentProduct) ConnID

func (a *OfficialCustomerAgentProduct) ConnID() int

func (*OfficialCustomerAgentProduct) Context

func (*OfficialCustomerAgentProduct) Count

func (a *OfficialCustomerAgentProduct) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerAgentProduct) Delete

func (a *OfficialCustomerAgentProduct) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentProduct) Deletex

func (a *OfficialCustomerAgentProduct) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProduct) EventOFF

func (a *OfficialCustomerAgentProduct) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerAgentProduct) EventON

func (a *OfficialCustomerAgentProduct) EventON(on ...bool) factory.Model

func (*OfficialCustomerAgentProduct) Exists

func (a *OfficialCustomerAgentProduct) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerAgentProduct) FromRow

func (a *OfficialCustomerAgentProduct) FromRow(row map[string]interface{})

func (*OfficialCustomerAgentProduct) Get

func (a *OfficialCustomerAgentProduct) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentProduct) GroupBy

func (*OfficialCustomerAgentProduct) InitObjects

func (*OfficialCustomerAgentProduct) Insert

func (a *OfficialCustomerAgentProduct) Insert() (pk interface{}, err error)

func (*OfficialCustomerAgentProduct) KeyBy

func (*OfficialCustomerAgentProduct) List

func (a *OfficialCustomerAgentProduct) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerAgentProduct) ListByOffset

func (a *OfficialCustomerAgentProduct) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerAgentProduct) ListPage

func (a *OfficialCustomerAgentProduct) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerAgentProduct) ListPageAs

func (a *OfficialCustomerAgentProduct) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerAgentProduct) Name_

func (*OfficialCustomerAgentProduct) Namer

func (*OfficialCustomerAgentProduct) New

func (a *OfficialCustomerAgentProduct) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerAgentProduct) NewObjects

func (*OfficialCustomerAgentProduct) NewParam

func (*OfficialCustomerAgentProduct) Objects

func (*OfficialCustomerAgentProduct) Param

func (a *OfficialCustomerAgentProduct) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerAgentProduct) Reset

func (*OfficialCustomerAgentProduct) Set

func (a *OfficialCustomerAgentProduct) Set(key interface{}, value ...interface{})

func (*OfficialCustomerAgentProduct) SetConnID

func (a *OfficialCustomerAgentProduct) SetConnID(connID int) factory.Model

func (*OfficialCustomerAgentProduct) SetContext

func (*OfficialCustomerAgentProduct) SetNamer

func (a *OfficialCustomerAgentProduct) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerAgentProduct) SetParam

func (*OfficialCustomerAgentProduct) Short_

func (*OfficialCustomerAgentProduct) Struct_

func (a *OfficialCustomerAgentProduct) Struct_() string

func (*OfficialCustomerAgentProduct) Trans

func (*OfficialCustomerAgentProduct) Update

func (a *OfficialCustomerAgentProduct) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentProduct) UpdateByFields

func (a *OfficialCustomerAgentProduct) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerAgentProduct) UpdateField

func (a *OfficialCustomerAgentProduct) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerAgentProduct) UpdateFields

func (a *OfficialCustomerAgentProduct) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerAgentProduct) UpdateValues

func (a *OfficialCustomerAgentProduct) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerAgentProduct) Updatex

func (a *OfficialCustomerAgentProduct) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProduct) UpdatexByFields

func (a *OfficialCustomerAgentProduct) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProduct) UpdatexField

func (a *OfficialCustomerAgentProduct) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProduct) UpdatexFields

func (a *OfficialCustomerAgentProduct) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProduct) Upsert

func (a *OfficialCustomerAgentProduct) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerAgentProduct) Use

func (*OfficialCustomerAgentProduct) Validate

func (a *OfficialCustomerAgentProduct) Validate(field string, value interface{}) error

func (*OfficialCustomerAgentProduct) XObjects

type OfficialCustomerAgentProfile

type OfficialCustomerAgentProfile struct {
	CustomerId     uint64  `db:"customer_id,pk" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	EarningBalance float64 `db:"earning_balance" bson:"earning_balance" comment:"可提现收入金额" json:"earning_balance" xml:"earning_balance"`
	FreezeAmount   float64 `db:"freeze_amount" bson:"freeze_amount" comment:"冻结金额(提现中)" json:"freeze_amount" xml:"freeze_amount"`
	MarginAmount   uint64  `db:"margin_amount" bson:"margin_amount" comment:"保证金金额" json:"margin_amount" xml:"margin_amount"`
	Sold           uint64  `db:"sold" bson:"sold" comment:"销量" json:"sold" xml:"sold"`
	Members        uint64  `db:"members" bson:"members" comment:"成员统计" json:"members" xml:"members"`
	Status         string  `` /* 254-byte string literal not displayed */
	ApplyLevel     uint    `db:"apply_level" bson:"apply_level" comment:"申请代理等级ID" json:"apply_level" xml:"apply_level"`
	Remark         string  `db:"remark" bson:"remark" comment:"备注" json:"remark" xml:"remark"`
	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
}

OfficialCustomerAgentProfile

func NewOfficialCustomerAgentProfile

func NewOfficialCustomerAgentProfile(ctx echo.Context) *OfficialCustomerAgentProfile

func (*OfficialCustomerAgentProfile) AsKV

func (a *OfficialCustomerAgentProfile) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerAgentProfile) param.Store

func (*OfficialCustomerAgentProfile) AsMap

func (a *OfficialCustomerAgentProfile) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerAgentProfile) AsRow

func (a *OfficialCustomerAgentProfile) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerAgentProfile) Base_ added in v0.0.6

func (*OfficialCustomerAgentProfile) BatchValidate

func (a *OfficialCustomerAgentProfile) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerAgentProfile) CPAFrom

func (*OfficialCustomerAgentProfile) ConnID

func (a *OfficialCustomerAgentProfile) ConnID() int

func (*OfficialCustomerAgentProfile) Context

func (*OfficialCustomerAgentProfile) Count

func (a *OfficialCustomerAgentProfile) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerAgentProfile) Delete

func (a *OfficialCustomerAgentProfile) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentProfile) Deletex

func (a *OfficialCustomerAgentProfile) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProfile) EventOFF

func (a *OfficialCustomerAgentProfile) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerAgentProfile) EventON

func (a *OfficialCustomerAgentProfile) EventON(on ...bool) factory.Model

func (*OfficialCustomerAgentProfile) Exists

func (a *OfficialCustomerAgentProfile) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerAgentProfile) FromRow

func (a *OfficialCustomerAgentProfile) FromRow(row map[string]interface{})

func (*OfficialCustomerAgentProfile) Get

func (a *OfficialCustomerAgentProfile) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentProfile) GroupBy

func (*OfficialCustomerAgentProfile) InitObjects

func (*OfficialCustomerAgentProfile) Insert

func (a *OfficialCustomerAgentProfile) Insert() (pk interface{}, err error)

func (*OfficialCustomerAgentProfile) KeyBy

func (*OfficialCustomerAgentProfile) List

func (a *OfficialCustomerAgentProfile) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerAgentProfile) ListByOffset

func (a *OfficialCustomerAgentProfile) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerAgentProfile) ListPage

func (a *OfficialCustomerAgentProfile) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerAgentProfile) ListPageAs

func (a *OfficialCustomerAgentProfile) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerAgentProfile) Name_

func (*OfficialCustomerAgentProfile) Namer

func (*OfficialCustomerAgentProfile) New

func (a *OfficialCustomerAgentProfile) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerAgentProfile) NewObjects

func (*OfficialCustomerAgentProfile) NewParam

func (*OfficialCustomerAgentProfile) Objects

func (*OfficialCustomerAgentProfile) Param

func (a *OfficialCustomerAgentProfile) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerAgentProfile) Reset

func (*OfficialCustomerAgentProfile) Set

func (a *OfficialCustomerAgentProfile) Set(key interface{}, value ...interface{})

func (*OfficialCustomerAgentProfile) SetConnID

func (a *OfficialCustomerAgentProfile) SetConnID(connID int) factory.Model

func (*OfficialCustomerAgentProfile) SetContext

func (*OfficialCustomerAgentProfile) SetNamer

func (a *OfficialCustomerAgentProfile) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerAgentProfile) SetParam

func (*OfficialCustomerAgentProfile) Short_

func (*OfficialCustomerAgentProfile) Struct_

func (a *OfficialCustomerAgentProfile) Struct_() string

func (*OfficialCustomerAgentProfile) Trans

func (*OfficialCustomerAgentProfile) Update

func (a *OfficialCustomerAgentProfile) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentProfile) UpdateByFields

func (a *OfficialCustomerAgentProfile) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerAgentProfile) UpdateField

func (a *OfficialCustomerAgentProfile) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerAgentProfile) UpdateFields

func (a *OfficialCustomerAgentProfile) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerAgentProfile) UpdateValues

func (a *OfficialCustomerAgentProfile) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerAgentProfile) Updatex

func (a *OfficialCustomerAgentProfile) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProfile) UpdatexByFields

func (a *OfficialCustomerAgentProfile) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProfile) UpdatexField

func (a *OfficialCustomerAgentProfile) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProfile) UpdatexFields

func (a *OfficialCustomerAgentProfile) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentProfile) Upsert

func (a *OfficialCustomerAgentProfile) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerAgentProfile) Use

func (*OfficialCustomerAgentProfile) Validate

func (a *OfficialCustomerAgentProfile) Validate(field string, value interface{}) error

func (*OfficialCustomerAgentProfile) XObjects

type OfficialCustomerAgentRecv

type OfficialCustomerAgentRecv struct {
	CustomerId            uint64  `db:"customer_id,pk" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	RecvMoneyMethod       string  `` /* 127-byte string literal not displayed */
	RecvMoneyBranch       string  `` /* 160-byte string literal not displayed */
	RecvMoneyAccount      string  `` /* 131-byte string literal not displayed */
	RecvMoneyOwner        string  `` /* 126-byte string literal not displayed */
	RecvMoneyTimes        uint    `db:"recv_money_times" bson:"recv_money_times" comment:"收款次数(提现)" json:"recv_money_times" xml:"recv_money_times"`
	RecvMoneyTotal        float64 `db:"recv_money_total" bson:"recv_money_total" comment:"提现总额" json:"recv_money_total" xml:"recv_money_total"`
	RecvContractAddress   string  `` /* 141-byte string literal not displayed */
	RecvContractAddressee string  `` /* 152-byte string literal not displayed */
	RecvContractTel       string  `` /* 128-byte string literal not displayed */
	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
}

OfficialCustomerAgentRecv

func NewOfficialCustomerAgentRecv

func NewOfficialCustomerAgentRecv(ctx echo.Context) *OfficialCustomerAgentRecv

func (*OfficialCustomerAgentRecv) AsKV

func (a *OfficialCustomerAgentRecv) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerAgentRecv) param.Store

func (*OfficialCustomerAgentRecv) AsMap

func (a *OfficialCustomerAgentRecv) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerAgentRecv) AsRow

func (a *OfficialCustomerAgentRecv) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerAgentRecv) Base_ added in v0.0.6

func (*OfficialCustomerAgentRecv) BatchValidate

func (a *OfficialCustomerAgentRecv) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerAgentRecv) CPAFrom

func (*OfficialCustomerAgentRecv) ConnID

func (a *OfficialCustomerAgentRecv) ConnID() int

func (*OfficialCustomerAgentRecv) Context

func (a *OfficialCustomerAgentRecv) Context() echo.Context

func (*OfficialCustomerAgentRecv) Count

func (a *OfficialCustomerAgentRecv) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerAgentRecv) Delete

func (a *OfficialCustomerAgentRecv) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentRecv) Deletex

func (a *OfficialCustomerAgentRecv) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentRecv) EventOFF

func (a *OfficialCustomerAgentRecv) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerAgentRecv) EventON

func (a *OfficialCustomerAgentRecv) EventON(on ...bool) factory.Model

func (*OfficialCustomerAgentRecv) Exists

func (a *OfficialCustomerAgentRecv) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerAgentRecv) FromRow

func (a *OfficialCustomerAgentRecv) FromRow(row map[string]interface{})

func (*OfficialCustomerAgentRecv) Get

func (a *OfficialCustomerAgentRecv) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentRecv) GroupBy

func (a *OfficialCustomerAgentRecv) GroupBy(keyField string, inputRows ...[]*OfficialCustomerAgentRecv) map[string][]*OfficialCustomerAgentRecv

func (*OfficialCustomerAgentRecv) InitObjects

func (*OfficialCustomerAgentRecv) Insert

func (a *OfficialCustomerAgentRecv) Insert() (pk interface{}, err error)

func (*OfficialCustomerAgentRecv) KeyBy

func (*OfficialCustomerAgentRecv) List

func (a *OfficialCustomerAgentRecv) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerAgentRecv) ListByOffset

func (a *OfficialCustomerAgentRecv) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerAgentRecv) ListPage

func (a *OfficialCustomerAgentRecv) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerAgentRecv) ListPageAs

func (a *OfficialCustomerAgentRecv) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerAgentRecv) Name_

func (a *OfficialCustomerAgentRecv) Name_() string

func (*OfficialCustomerAgentRecv) Namer

func (a *OfficialCustomerAgentRecv) Namer() func(factory.Model) string

func (*OfficialCustomerAgentRecv) New

func (a *OfficialCustomerAgentRecv) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerAgentRecv) NewObjects

func (a *OfficialCustomerAgentRecv) NewObjects() factory.Ranger

func (*OfficialCustomerAgentRecv) NewParam

func (a *OfficialCustomerAgentRecv) NewParam() *factory.Param

func (*OfficialCustomerAgentRecv) Objects

func (*OfficialCustomerAgentRecv) Param

func (a *OfficialCustomerAgentRecv) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerAgentRecv) Reset

func (*OfficialCustomerAgentRecv) Set

func (a *OfficialCustomerAgentRecv) Set(key interface{}, value ...interface{})

func (*OfficialCustomerAgentRecv) SetConnID

func (a *OfficialCustomerAgentRecv) SetConnID(connID int) factory.Model

func (*OfficialCustomerAgentRecv) SetContext

func (a *OfficialCustomerAgentRecv) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerAgentRecv) SetNamer

func (a *OfficialCustomerAgentRecv) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerAgentRecv) SetParam

func (a *OfficialCustomerAgentRecv) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerAgentRecv) Short_

func (a *OfficialCustomerAgentRecv) Short_() string

func (*OfficialCustomerAgentRecv) Struct_

func (a *OfficialCustomerAgentRecv) Struct_() string

func (*OfficialCustomerAgentRecv) Trans

func (*OfficialCustomerAgentRecv) Update

func (a *OfficialCustomerAgentRecv) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerAgentRecv) UpdateByFields

func (a *OfficialCustomerAgentRecv) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerAgentRecv) UpdateField

func (a *OfficialCustomerAgentRecv) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerAgentRecv) UpdateFields

func (a *OfficialCustomerAgentRecv) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerAgentRecv) UpdateValues

func (a *OfficialCustomerAgentRecv) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerAgentRecv) Updatex

func (a *OfficialCustomerAgentRecv) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentRecv) UpdatexByFields

func (a *OfficialCustomerAgentRecv) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentRecv) UpdatexField

func (a *OfficialCustomerAgentRecv) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentRecv) UpdatexFields

func (a *OfficialCustomerAgentRecv) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerAgentRecv) Upsert

func (a *OfficialCustomerAgentRecv) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerAgentRecv) Use

func (*OfficialCustomerAgentRecv) Validate

func (a *OfficialCustomerAgentRecv) Validate(field string, value interface{}) error

func (*OfficialCustomerAgentRecv) XObjects

type OfficialCustomerCounter

type OfficialCustomerCounter struct {
	CustomerId uint64 `db:"customer_id,pk" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	Target     string `db:"target,pk" bson:"target" comment:"目标" json:"target" xml:"target"`
	Total      uint64 `db:"total" bson:"total" comment:"统计" json:"total" xml:"total"`
	// contains filtered or unexported fields
}

OfficialCustomerCounter 客户的其它数据计数

func NewOfficialCustomerCounter

func NewOfficialCustomerCounter(ctx echo.Context) *OfficialCustomerCounter

func (*OfficialCustomerCounter) AsKV

func (a *OfficialCustomerCounter) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerCounter) param.Store

func (*OfficialCustomerCounter) AsMap

func (a *OfficialCustomerCounter) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerCounter) AsRow

func (a *OfficialCustomerCounter) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerCounter) Base_ added in v0.0.6

func (*OfficialCustomerCounter) BatchValidate

func (a *OfficialCustomerCounter) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerCounter) CPAFrom

func (a *OfficialCustomerCounter) CPAFrom(source factory.Model) factory.Model

func (*OfficialCustomerCounter) ConnID

func (a *OfficialCustomerCounter) ConnID() int

func (*OfficialCustomerCounter) Context

func (a *OfficialCustomerCounter) Context() echo.Context

func (*OfficialCustomerCounter) Count

func (a *OfficialCustomerCounter) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerCounter) Delete

func (a *OfficialCustomerCounter) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerCounter) Deletex

func (a *OfficialCustomerCounter) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerCounter) EventOFF

func (a *OfficialCustomerCounter) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerCounter) EventON

func (a *OfficialCustomerCounter) EventON(on ...bool) factory.Model

func (*OfficialCustomerCounter) Exists

func (a *OfficialCustomerCounter) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerCounter) FromRow

func (a *OfficialCustomerCounter) FromRow(row map[string]interface{})

func (*OfficialCustomerCounter) Get

func (a *OfficialCustomerCounter) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerCounter) GroupBy

func (a *OfficialCustomerCounter) GroupBy(keyField string, inputRows ...[]*OfficialCustomerCounter) map[string][]*OfficialCustomerCounter

func (*OfficialCustomerCounter) InitObjects

func (a *OfficialCustomerCounter) InitObjects() *[]*OfficialCustomerCounter

func (*OfficialCustomerCounter) Insert

func (a *OfficialCustomerCounter) Insert() (pk interface{}, err error)

func (*OfficialCustomerCounter) KeyBy

func (a *OfficialCustomerCounter) KeyBy(keyField string, inputRows ...[]*OfficialCustomerCounter) map[string]*OfficialCustomerCounter

func (*OfficialCustomerCounter) List

func (a *OfficialCustomerCounter) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerCounter) ListByOffset

func (a *OfficialCustomerCounter) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerCounter) ListPage

func (a *OfficialCustomerCounter) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerCounter) ListPageAs

func (a *OfficialCustomerCounter) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerCounter) Name_

func (a *OfficialCustomerCounter) Name_() string

func (*OfficialCustomerCounter) Namer

func (a *OfficialCustomerCounter) Namer() func(factory.Model) string

func (*OfficialCustomerCounter) New

func (a *OfficialCustomerCounter) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerCounter) NewObjects

func (a *OfficialCustomerCounter) NewObjects() factory.Ranger

func (*OfficialCustomerCounter) NewParam

func (a *OfficialCustomerCounter) NewParam() *factory.Param

func (*OfficialCustomerCounter) Objects

func (*OfficialCustomerCounter) Param

func (a *OfficialCustomerCounter) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerCounter) Reset

func (*OfficialCustomerCounter) Set

func (a *OfficialCustomerCounter) Set(key interface{}, value ...interface{})

func (*OfficialCustomerCounter) SetConnID

func (a *OfficialCustomerCounter) SetConnID(connID int) factory.Model

func (*OfficialCustomerCounter) SetContext

func (a *OfficialCustomerCounter) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerCounter) SetNamer

func (a *OfficialCustomerCounter) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerCounter) SetParam

func (a *OfficialCustomerCounter) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerCounter) Short_

func (a *OfficialCustomerCounter) Short_() string

func (*OfficialCustomerCounter) Struct_

func (a *OfficialCustomerCounter) Struct_() string

func (*OfficialCustomerCounter) Trans

func (*OfficialCustomerCounter) Update

func (a *OfficialCustomerCounter) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerCounter) UpdateByFields

func (a *OfficialCustomerCounter) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerCounter) UpdateField

func (a *OfficialCustomerCounter) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerCounter) UpdateFields

func (a *OfficialCustomerCounter) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerCounter) UpdateValues

func (a *OfficialCustomerCounter) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerCounter) Updatex

func (a *OfficialCustomerCounter) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerCounter) UpdatexByFields

func (a *OfficialCustomerCounter) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerCounter) UpdatexField

func (a *OfficialCustomerCounter) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerCounter) UpdatexFields

func (a *OfficialCustomerCounter) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerCounter) Upsert

func (a *OfficialCustomerCounter) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerCounter) Use

func (*OfficialCustomerCounter) Validate

func (a *OfficialCustomerCounter) Validate(field string, value interface{}) error

func (*OfficialCustomerCounter) XObjects

type OfficialCustomerDevice

type OfficialCustomerDevice struct {
	Id         uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CustomerId uint64 `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	SessionId  string `db:"session_id" bson:"session_id" comment:"session id" json:"session_id" xml:"session_id"`
	Scense     string `db:"scense" bson:"scense" comment:"场景标识" json:"scense" xml:"scense"`
	Platform   string `db:"platform" bson:"platform" comment:"系统平台" json:"platform" xml:"platform"`
	DeviceNo   string `db:"device_no" bson:"device_no" comment:"设备编号" json:"device_no" xml:"device_no"`
	Created    uint   `db:"created" bson:"created" comment:"登录时间" json:"created" xml:"created"`
	Updated    uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	Expired    uint   `db:"expired" bson:"expired" comment:"过期时间" json:"expired" xml:"expired"`
	// contains filtered or unexported fields
}

OfficialCustomerDevice 客户登录设备

func NewOfficialCustomerDevice

func NewOfficialCustomerDevice(ctx echo.Context) *OfficialCustomerDevice

func (*OfficialCustomerDevice) AsKV

func (a *OfficialCustomerDevice) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerDevice) param.Store

func (*OfficialCustomerDevice) AsMap

func (a *OfficialCustomerDevice) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerDevice) AsRow

func (a *OfficialCustomerDevice) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerDevice) Base_ added in v0.0.6

func (*OfficialCustomerDevice) BatchValidate

func (a *OfficialCustomerDevice) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerDevice) CPAFrom

func (a *OfficialCustomerDevice) CPAFrom(source factory.Model) factory.Model

func (*OfficialCustomerDevice) ConnID

func (a *OfficialCustomerDevice) ConnID() int

func (*OfficialCustomerDevice) Context

func (a *OfficialCustomerDevice) Context() echo.Context

func (*OfficialCustomerDevice) Count

func (a *OfficialCustomerDevice) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerDevice) Delete

func (a *OfficialCustomerDevice) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerDevice) Deletex

func (a *OfficialCustomerDevice) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerDevice) EventOFF

func (a *OfficialCustomerDevice) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerDevice) EventON

func (a *OfficialCustomerDevice) EventON(on ...bool) factory.Model

func (*OfficialCustomerDevice) Exists

func (a *OfficialCustomerDevice) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerDevice) FromRow

func (a *OfficialCustomerDevice) FromRow(row map[string]interface{})

func (*OfficialCustomerDevice) Get

func (a *OfficialCustomerDevice) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerDevice) GroupBy

func (a *OfficialCustomerDevice) GroupBy(keyField string, inputRows ...[]*OfficialCustomerDevice) map[string][]*OfficialCustomerDevice

func (*OfficialCustomerDevice) InitObjects

func (a *OfficialCustomerDevice) InitObjects() *[]*OfficialCustomerDevice

func (*OfficialCustomerDevice) Insert

func (a *OfficialCustomerDevice) Insert() (pk interface{}, err error)

func (*OfficialCustomerDevice) KeyBy

func (a *OfficialCustomerDevice) KeyBy(keyField string, inputRows ...[]*OfficialCustomerDevice) map[string]*OfficialCustomerDevice

func (*OfficialCustomerDevice) List

func (a *OfficialCustomerDevice) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerDevice) ListByOffset

func (a *OfficialCustomerDevice) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerDevice) ListPage

func (a *OfficialCustomerDevice) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerDevice) ListPageAs

func (a *OfficialCustomerDevice) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerDevice) Name_

func (a *OfficialCustomerDevice) Name_() string

func (*OfficialCustomerDevice) Namer

func (a *OfficialCustomerDevice) Namer() func(factory.Model) string

func (*OfficialCustomerDevice) New

func (a *OfficialCustomerDevice) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerDevice) NewObjects

func (a *OfficialCustomerDevice) NewObjects() factory.Ranger

func (*OfficialCustomerDevice) NewParam

func (a *OfficialCustomerDevice) NewParam() *factory.Param

func (*OfficialCustomerDevice) Objects

func (*OfficialCustomerDevice) Param

func (a *OfficialCustomerDevice) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerDevice) Reset

func (*OfficialCustomerDevice) Set

func (a *OfficialCustomerDevice) Set(key interface{}, value ...interface{})

func (*OfficialCustomerDevice) SetConnID

func (a *OfficialCustomerDevice) SetConnID(connID int) factory.Model

func (*OfficialCustomerDevice) SetContext

func (a *OfficialCustomerDevice) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerDevice) SetNamer

func (a *OfficialCustomerDevice) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerDevice) SetParam

func (a *OfficialCustomerDevice) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerDevice) Short_

func (a *OfficialCustomerDevice) Short_() string

func (*OfficialCustomerDevice) Struct_

func (a *OfficialCustomerDevice) Struct_() string

func (*OfficialCustomerDevice) Trans

func (*OfficialCustomerDevice) Update

func (a *OfficialCustomerDevice) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerDevice) UpdateByFields

func (a *OfficialCustomerDevice) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerDevice) UpdateField

func (a *OfficialCustomerDevice) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerDevice) UpdateFields

func (a *OfficialCustomerDevice) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerDevice) UpdateValues

func (a *OfficialCustomerDevice) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerDevice) Updatex

func (a *OfficialCustomerDevice) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerDevice) UpdatexByFields

func (a *OfficialCustomerDevice) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerDevice) UpdatexField

func (a *OfficialCustomerDevice) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerDevice) UpdatexFields

func (a *OfficialCustomerDevice) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerDevice) Upsert

func (a *OfficialCustomerDevice) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerDevice) Use

func (*OfficialCustomerDevice) Validate

func (a *OfficialCustomerDevice) Validate(field string, value interface{}) error

func (*OfficialCustomerDevice) XObjects

type OfficialCustomerFollowing

type OfficialCustomerFollowing struct {
	CustomerA uint64 `db:"customer_a,pk" bson:"customer_a" comment:"关注人ID" json:"customer_a" xml:"customer_a"`
	CustomerB uint64 `db:"customer_b,pk" bson:"customer_b" comment:"被关注人ID" json:"customer_b" xml:"customer_b"`
	Created   uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Mutual    string `db:"mutual" bson:"mutual" comment:"是否相互关注" json:"mutual" xml:"mutual"`
	// contains filtered or unexported fields
}

OfficialCustomerFollowing 关注

func NewOfficialCustomerFollowing

func NewOfficialCustomerFollowing(ctx echo.Context) *OfficialCustomerFollowing

func (*OfficialCustomerFollowing) AsKV

func (a *OfficialCustomerFollowing) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerFollowing) param.Store

func (*OfficialCustomerFollowing) AsMap

func (a *OfficialCustomerFollowing) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerFollowing) AsRow

func (a *OfficialCustomerFollowing) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerFollowing) Base_ added in v0.0.6

func (*OfficialCustomerFollowing) BatchValidate

func (a *OfficialCustomerFollowing) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerFollowing) CPAFrom

func (*OfficialCustomerFollowing) ConnID

func (a *OfficialCustomerFollowing) ConnID() int

func (*OfficialCustomerFollowing) Context

func (a *OfficialCustomerFollowing) Context() echo.Context

func (*OfficialCustomerFollowing) Count

func (a *OfficialCustomerFollowing) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerFollowing) Delete

func (a *OfficialCustomerFollowing) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerFollowing) Deletex

func (a *OfficialCustomerFollowing) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerFollowing) EventOFF

func (a *OfficialCustomerFollowing) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerFollowing) EventON

func (a *OfficialCustomerFollowing) EventON(on ...bool) factory.Model

func (*OfficialCustomerFollowing) Exists

func (a *OfficialCustomerFollowing) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerFollowing) FromRow

func (a *OfficialCustomerFollowing) FromRow(row map[string]interface{})

func (*OfficialCustomerFollowing) Get

func (a *OfficialCustomerFollowing) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerFollowing) GroupBy

func (a *OfficialCustomerFollowing) GroupBy(keyField string, inputRows ...[]*OfficialCustomerFollowing) map[string][]*OfficialCustomerFollowing

func (*OfficialCustomerFollowing) InitObjects

func (*OfficialCustomerFollowing) Insert

func (a *OfficialCustomerFollowing) Insert() (pk interface{}, err error)

func (*OfficialCustomerFollowing) KeyBy

func (*OfficialCustomerFollowing) List

func (a *OfficialCustomerFollowing) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerFollowing) ListByOffset

func (a *OfficialCustomerFollowing) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerFollowing) ListPage

func (a *OfficialCustomerFollowing) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerFollowing) ListPageAs

func (a *OfficialCustomerFollowing) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerFollowing) Name_

func (a *OfficialCustomerFollowing) Name_() string

func (*OfficialCustomerFollowing) Namer

func (a *OfficialCustomerFollowing) Namer() func(factory.Model) string

func (*OfficialCustomerFollowing) New

func (a *OfficialCustomerFollowing) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerFollowing) NewObjects

func (a *OfficialCustomerFollowing) NewObjects() factory.Ranger

func (*OfficialCustomerFollowing) NewParam

func (a *OfficialCustomerFollowing) NewParam() *factory.Param

func (*OfficialCustomerFollowing) Objects

func (*OfficialCustomerFollowing) Param

func (a *OfficialCustomerFollowing) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerFollowing) Reset

func (*OfficialCustomerFollowing) Set

func (a *OfficialCustomerFollowing) Set(key interface{}, value ...interface{})

func (*OfficialCustomerFollowing) SetConnID

func (a *OfficialCustomerFollowing) SetConnID(connID int) factory.Model

func (*OfficialCustomerFollowing) SetContext

func (a *OfficialCustomerFollowing) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerFollowing) SetNamer

func (a *OfficialCustomerFollowing) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerFollowing) SetParam

func (a *OfficialCustomerFollowing) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerFollowing) Short_

func (a *OfficialCustomerFollowing) Short_() string

func (*OfficialCustomerFollowing) Struct_

func (a *OfficialCustomerFollowing) Struct_() string

func (*OfficialCustomerFollowing) Trans

func (*OfficialCustomerFollowing) Update

func (a *OfficialCustomerFollowing) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerFollowing) UpdateByFields

func (a *OfficialCustomerFollowing) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerFollowing) UpdateField

func (a *OfficialCustomerFollowing) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerFollowing) UpdateFields

func (a *OfficialCustomerFollowing) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerFollowing) UpdateValues

func (a *OfficialCustomerFollowing) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerFollowing) Updatex

func (a *OfficialCustomerFollowing) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerFollowing) UpdatexByFields

func (a *OfficialCustomerFollowing) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerFollowing) UpdatexField

func (a *OfficialCustomerFollowing) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerFollowing) UpdatexFields

func (a *OfficialCustomerFollowing) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerFollowing) Upsert

func (a *OfficialCustomerFollowing) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerFollowing) Use

func (*OfficialCustomerFollowing) Validate

func (a *OfficialCustomerFollowing) Validate(field string, value interface{}) error

func (*OfficialCustomerFollowing) XObjects

type OfficialCustomerInvitation

type OfficialCustomerInvitation struct {
	Id           uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	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"`
	Code         string `db:"code" bson:"code" comment:"邀请码" json:"code" xml:"code"`
	Created      uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	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"`
	LevelId      uint   `db:"level_id" bson:"level_id" comment:"客户等级ID" json:"level_id" xml:"level_id"`
	AgentLevelId uint   `db:"agent_level_id" bson:"agent_level_id" comment:"代理等级ID" json:"agent_level_id" xml:"agent_level_id"`
	RoleIds      string `db:"role_ids" bson:"role_ids" comment:"注册为角色(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"`
	UsedNum      uint   `db:"used_num" bson:"used_num" comment:"已使用次数" json:"used_num" xml:"used_num"`
	AllowNum     uint   `db:"allow_num" bson:"allow_num" comment:"剩余允许使用次数" json:"allow_num" xml:"allow_num"`
	// contains filtered or unexported fields
}

OfficialCustomerInvitation 邀请码

func NewOfficialCustomerInvitation

func NewOfficialCustomerInvitation(ctx echo.Context) *OfficialCustomerInvitation

func (*OfficialCustomerInvitation) AsKV

func (a *OfficialCustomerInvitation) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerInvitation) param.Store

func (*OfficialCustomerInvitation) AsMap

func (a *OfficialCustomerInvitation) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerInvitation) AsRow

func (a *OfficialCustomerInvitation) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerInvitation) Base_ added in v0.0.6

func (*OfficialCustomerInvitation) BatchValidate

func (a *OfficialCustomerInvitation) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerInvitation) CPAFrom

func (*OfficialCustomerInvitation) ConnID

func (a *OfficialCustomerInvitation) ConnID() int

func (*OfficialCustomerInvitation) Context

func (*OfficialCustomerInvitation) Count

func (a *OfficialCustomerInvitation) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerInvitation) Delete

func (a *OfficialCustomerInvitation) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerInvitation) Deletex

func (a *OfficialCustomerInvitation) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitation) EventOFF

func (a *OfficialCustomerInvitation) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerInvitation) EventON

func (a *OfficialCustomerInvitation) EventON(on ...bool) factory.Model

func (*OfficialCustomerInvitation) Exists

func (a *OfficialCustomerInvitation) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerInvitation) FromRow

func (a *OfficialCustomerInvitation) FromRow(row map[string]interface{})

func (*OfficialCustomerInvitation) Get

func (a *OfficialCustomerInvitation) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerInvitation) GroupBy

func (*OfficialCustomerInvitation) InitObjects

func (*OfficialCustomerInvitation) Insert

func (a *OfficialCustomerInvitation) Insert() (pk interface{}, err error)

func (*OfficialCustomerInvitation) KeyBy

func (*OfficialCustomerInvitation) List

func (a *OfficialCustomerInvitation) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerInvitation) ListByOffset

func (a *OfficialCustomerInvitation) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerInvitation) ListPage

func (a *OfficialCustomerInvitation) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerInvitation) ListPageAs

func (a *OfficialCustomerInvitation) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerInvitation) Name_

func (*OfficialCustomerInvitation) Namer

func (*OfficialCustomerInvitation) New

func (a *OfficialCustomerInvitation) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerInvitation) NewObjects

func (a *OfficialCustomerInvitation) NewObjects() factory.Ranger

func (*OfficialCustomerInvitation) NewParam

func (a *OfficialCustomerInvitation) NewParam() *factory.Param

func (*OfficialCustomerInvitation) Objects

func (*OfficialCustomerInvitation) Param

func (a *OfficialCustomerInvitation) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerInvitation) Reset

func (*OfficialCustomerInvitation) Set

func (a *OfficialCustomerInvitation) Set(key interface{}, value ...interface{})

func (*OfficialCustomerInvitation) SetConnID

func (a *OfficialCustomerInvitation) SetConnID(connID int) factory.Model

func (*OfficialCustomerInvitation) SetContext

func (*OfficialCustomerInvitation) SetNamer

func (a *OfficialCustomerInvitation) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerInvitation) SetParam

func (*OfficialCustomerInvitation) Short_

func (a *OfficialCustomerInvitation) Short_() string

func (*OfficialCustomerInvitation) Struct_

func (a *OfficialCustomerInvitation) Struct_() string

func (*OfficialCustomerInvitation) Trans

func (*OfficialCustomerInvitation) Update

func (a *OfficialCustomerInvitation) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerInvitation) UpdateByFields

func (a *OfficialCustomerInvitation) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerInvitation) UpdateField

func (a *OfficialCustomerInvitation) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerInvitation) UpdateFields

func (a *OfficialCustomerInvitation) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerInvitation) UpdateValues

func (a *OfficialCustomerInvitation) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerInvitation) Updatex

func (a *OfficialCustomerInvitation) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitation) UpdatexByFields

func (a *OfficialCustomerInvitation) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitation) UpdatexField

func (a *OfficialCustomerInvitation) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitation) UpdatexFields

func (a *OfficialCustomerInvitation) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitation) Upsert

func (a *OfficialCustomerInvitation) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerInvitation) Use

func (*OfficialCustomerInvitation) Validate

func (a *OfficialCustomerInvitation) Validate(field string, value interface{}) error

func (*OfficialCustomerInvitation) XObjects

type OfficialCustomerInvitationUsed

type OfficialCustomerInvitationUsed struct {
	Id           uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CustomerId   uint64 `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	InvitationId uint   `db:"invitation_id" bson:"invitation_id" comment:"邀请码ID" json:"invitation_id" xml:"invitation_id"`
	Created      uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	LevelId      uint   `db:"level_id" bson:"level_id" comment:"客户等级ID" json:"level_id" xml:"level_id"`
	AgentLevelId uint   `db:"agent_level_id" bson:"agent_level_id" comment:"代理等级ID" json:"agent_level_id" xml:"agent_level_id"`
	RoleIds      string `db:"role_ids" bson:"role_ids" comment:"注册为角色(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"`
	// contains filtered or unexported fields
}

OfficialCustomerInvitationUsed 邀请客户

func NewOfficialCustomerInvitationUsed

func NewOfficialCustomerInvitationUsed(ctx echo.Context) *OfficialCustomerInvitationUsed

func (*OfficialCustomerInvitationUsed) AsKV

func (a *OfficialCustomerInvitationUsed) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerInvitationUsed) param.Store

func (*OfficialCustomerInvitationUsed) AsMap

func (a *OfficialCustomerInvitationUsed) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerInvitationUsed) AsRow

func (a *OfficialCustomerInvitationUsed) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerInvitationUsed) Base_ added in v0.0.6

func (*OfficialCustomerInvitationUsed) BatchValidate

func (a *OfficialCustomerInvitationUsed) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerInvitationUsed) CPAFrom

func (*OfficialCustomerInvitationUsed) ConnID

func (a *OfficialCustomerInvitationUsed) ConnID() int

func (*OfficialCustomerInvitationUsed) Context

func (*OfficialCustomerInvitationUsed) Count

func (a *OfficialCustomerInvitationUsed) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerInvitationUsed) Delete

func (a *OfficialCustomerInvitationUsed) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerInvitationUsed) Deletex

func (a *OfficialCustomerInvitationUsed) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitationUsed) EventOFF

func (a *OfficialCustomerInvitationUsed) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerInvitationUsed) EventON

func (*OfficialCustomerInvitationUsed) Exists

func (a *OfficialCustomerInvitationUsed) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerInvitationUsed) FromRow

func (a *OfficialCustomerInvitationUsed) FromRow(row map[string]interface{})

func (*OfficialCustomerInvitationUsed) Get

func (a *OfficialCustomerInvitationUsed) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerInvitationUsed) GroupBy

func (*OfficialCustomerInvitationUsed) InitObjects

func (*OfficialCustomerInvitationUsed) Insert

func (a *OfficialCustomerInvitationUsed) Insert() (pk interface{}, err error)

func (*OfficialCustomerInvitationUsed) KeyBy

func (*OfficialCustomerInvitationUsed) List

func (a *OfficialCustomerInvitationUsed) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerInvitationUsed) ListByOffset

func (a *OfficialCustomerInvitationUsed) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerInvitationUsed) ListPage

func (a *OfficialCustomerInvitationUsed) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerInvitationUsed) ListPageAs

func (a *OfficialCustomerInvitationUsed) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerInvitationUsed) Name_

func (*OfficialCustomerInvitationUsed) Namer

func (*OfficialCustomerInvitationUsed) New

func (a *OfficialCustomerInvitationUsed) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerInvitationUsed) NewObjects

func (*OfficialCustomerInvitationUsed) NewParam

func (*OfficialCustomerInvitationUsed) Objects

func (*OfficialCustomerInvitationUsed) Param

func (a *OfficialCustomerInvitationUsed) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerInvitationUsed) Reset

func (*OfficialCustomerInvitationUsed) Set

func (a *OfficialCustomerInvitationUsed) Set(key interface{}, value ...interface{})

func (*OfficialCustomerInvitationUsed) SetConnID

func (a *OfficialCustomerInvitationUsed) SetConnID(connID int) factory.Model

func (*OfficialCustomerInvitationUsed) SetContext

func (*OfficialCustomerInvitationUsed) SetNamer

func (*OfficialCustomerInvitationUsed) SetParam

func (*OfficialCustomerInvitationUsed) Short_

func (*OfficialCustomerInvitationUsed) Struct_

func (*OfficialCustomerInvitationUsed) Trans

func (*OfficialCustomerInvitationUsed) Update

func (a *OfficialCustomerInvitationUsed) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerInvitationUsed) UpdateByFields

func (a *OfficialCustomerInvitationUsed) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerInvitationUsed) UpdateField

func (a *OfficialCustomerInvitationUsed) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerInvitationUsed) UpdateFields

func (a *OfficialCustomerInvitationUsed) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerInvitationUsed) UpdateValues

func (a *OfficialCustomerInvitationUsed) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerInvitationUsed) Updatex

func (a *OfficialCustomerInvitationUsed) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitationUsed) UpdatexByFields

func (a *OfficialCustomerInvitationUsed) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitationUsed) UpdatexField

func (a *OfficialCustomerInvitationUsed) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitationUsed) UpdatexFields

func (a *OfficialCustomerInvitationUsed) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerInvitationUsed) Upsert

func (a *OfficialCustomerInvitationUsed) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerInvitationUsed) Use

func (*OfficialCustomerInvitationUsed) Validate

func (a *OfficialCustomerInvitationUsed) Validate(field string, value interface{}) error

func (*OfficialCustomerInvitationUsed) XObjects

type OfficialCustomerLevel

type OfficialCustomerLevel 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"`
	Short       string  `db:"short" bson:"short" comment:"等级简称" json:"short" xml:"short"`
	Description string  `db:"description" bson:"description" comment:"等级简介" json:"description" xml:"description"`
	IconImage   string  `db:"icon_image" bson:"icon_image" comment:"图标图片" json:"icon_image" xml:"icon_image"`
	IconClass   string  `db:"icon_class" bson:"icon_class" comment:"图片class名" json:"icon_class" xml:"icon_class"`
	Color       string  `db:"color" bson:"color" comment:"颜色" json:"color" xml:"color"`
	Bgcolor     string  `db:"bgcolor" bson:"bgcolor" comment:"背景色" json:"bgcolor" xml:"bgcolor"`
	Price       float64 `db:"price" bson:"price" comment:"升级价格(0为免费)" json:"price" xml:"price"`
	IntegralMin float64 `db:"integral_min" bson:"integral_min" comment:"最小积分" json:"integral_min" xml:"integral_min"`
	IntegralMax float64 `db:"integral_max" bson:"integral_max" comment:"最大积分" json:"integral_max" xml:"integral_max"`
	Created     uint    `db:"created" bson:"created" comment:"添加时间" json:"created" xml:"created"`
	Updated     uint    `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	Score       int     `db:"score" bson:"score" comment:"分值(分值越大等级越高)" json:"score" xml:"score"`
	Disabled    string  `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" json:"disabled" xml:"disabled"`
	Extra       string  `db:"extra" bson:"extra" comment:"扩展配置(JSON)" json:"extra" xml:"extra"`
	Group       string  `` /* 179-byte string literal not displayed */
	RoleIds     string  `db:"role_ids" bson:"role_ids" comment:"角色ID(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"`
	// contains filtered or unexported fields
}

OfficialCustomerLevel 客户等级

func NewOfficialCustomerLevel

func NewOfficialCustomerLevel(ctx echo.Context) *OfficialCustomerLevel

func (*OfficialCustomerLevel) AsKV

func (a *OfficialCustomerLevel) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerLevel) param.Store

func (*OfficialCustomerLevel) AsMap

func (a *OfficialCustomerLevel) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerLevel) AsRow

func (a *OfficialCustomerLevel) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerLevel) Base_ added in v0.0.6

func (a *OfficialCustomerLevel) Base_() factory.Baser

func (*OfficialCustomerLevel) BatchValidate

func (a *OfficialCustomerLevel) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerLevel) CPAFrom

func (a *OfficialCustomerLevel) CPAFrom(source factory.Model) factory.Model

func (*OfficialCustomerLevel) ConnID

func (a *OfficialCustomerLevel) ConnID() int

func (*OfficialCustomerLevel) Context

func (a *OfficialCustomerLevel) Context() echo.Context

func (*OfficialCustomerLevel) Count

func (a *OfficialCustomerLevel) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerLevel) Delete

func (a *OfficialCustomerLevel) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerLevel) Deletex

func (a *OfficialCustomerLevel) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevel) EventOFF

func (a *OfficialCustomerLevel) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerLevel) EventON

func (a *OfficialCustomerLevel) EventON(on ...bool) factory.Model

func (*OfficialCustomerLevel) Exists

func (a *OfficialCustomerLevel) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerLevel) FromRow

func (a *OfficialCustomerLevel) FromRow(row map[string]interface{})

func (*OfficialCustomerLevel) Get

func (a *OfficialCustomerLevel) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerLevel) GroupBy

func (a *OfficialCustomerLevel) GroupBy(keyField string, inputRows ...[]*OfficialCustomerLevel) map[string][]*OfficialCustomerLevel

func (*OfficialCustomerLevel) InitObjects

func (a *OfficialCustomerLevel) InitObjects() *[]*OfficialCustomerLevel

func (*OfficialCustomerLevel) Insert

func (a *OfficialCustomerLevel) Insert() (pk interface{}, err error)

func (*OfficialCustomerLevel) KeyBy

func (a *OfficialCustomerLevel) KeyBy(keyField string, inputRows ...[]*OfficialCustomerLevel) map[string]*OfficialCustomerLevel

func (*OfficialCustomerLevel) List

func (a *OfficialCustomerLevel) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerLevel) ListByOffset

func (a *OfficialCustomerLevel) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerLevel) ListPage

func (a *OfficialCustomerLevel) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerLevel) ListPageAs

func (a *OfficialCustomerLevel) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerLevel) Name_

func (a *OfficialCustomerLevel) Name_() string

func (*OfficialCustomerLevel) Namer

func (a *OfficialCustomerLevel) Namer() func(factory.Model) string

func (*OfficialCustomerLevel) New

func (a *OfficialCustomerLevel) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerLevel) NewObjects

func (a *OfficialCustomerLevel) NewObjects() factory.Ranger

func (*OfficialCustomerLevel) NewParam

func (a *OfficialCustomerLevel) NewParam() *factory.Param

func (*OfficialCustomerLevel) Objects

func (*OfficialCustomerLevel) Param

func (a *OfficialCustomerLevel) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerLevel) Reset

func (*OfficialCustomerLevel) Set

func (a *OfficialCustomerLevel) Set(key interface{}, value ...interface{})

func (*OfficialCustomerLevel) SetConnID

func (a *OfficialCustomerLevel) SetConnID(connID int) factory.Model

func (*OfficialCustomerLevel) SetContext

func (a *OfficialCustomerLevel) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerLevel) SetNamer

func (a *OfficialCustomerLevel) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerLevel) SetParam

func (a *OfficialCustomerLevel) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerLevel) Short_

func (a *OfficialCustomerLevel) Short_() string

func (*OfficialCustomerLevel) Struct_

func (a *OfficialCustomerLevel) Struct_() string

func (*OfficialCustomerLevel) Trans

func (*OfficialCustomerLevel) Update

func (a *OfficialCustomerLevel) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerLevel) UpdateByFields

func (a *OfficialCustomerLevel) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerLevel) UpdateField

func (a *OfficialCustomerLevel) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerLevel) UpdateFields

func (a *OfficialCustomerLevel) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerLevel) UpdateValues

func (a *OfficialCustomerLevel) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerLevel) Updatex

func (a *OfficialCustomerLevel) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevel) UpdatexByFields

func (a *OfficialCustomerLevel) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevel) UpdatexField

func (a *OfficialCustomerLevel) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevel) UpdatexFields

func (a *OfficialCustomerLevel) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevel) Upsert

func (a *OfficialCustomerLevel) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerLevel) Use

func (*OfficialCustomerLevel) Validate

func (a *OfficialCustomerLevel) Validate(field string, value interface{}) error

func (*OfficialCustomerLevel) XObjects

type OfficialCustomerLevelRelation

type OfficialCustomerLevelRelation struct {
	Id         uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CustomerId uint64 `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	LevelId    uint   `db:"level_id" bson:"level_id" comment:"等级ID" json:"level_id" xml:"level_id"`
	Status     string `` /* 171-byte string literal not displayed */
	Reason     string `db:"reason" bson:"reason" comment:"原因" json:"reason" xml:"reason"`
	Expired    uint   `db:"expired" bson:"expired" comment:"过期时间(0为永不过期)" json:"expired" xml:"expired"`
	Created    uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated    uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

OfficialCustomerLevelRelation 客户等级关联

func NewOfficialCustomerLevelRelation

func NewOfficialCustomerLevelRelation(ctx echo.Context) *OfficialCustomerLevelRelation

func (*OfficialCustomerLevelRelation) AsKV

func (a *OfficialCustomerLevelRelation) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerLevelRelation) param.Store

func (*OfficialCustomerLevelRelation) AsMap

func (a *OfficialCustomerLevelRelation) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerLevelRelation) AsRow

func (a *OfficialCustomerLevelRelation) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerLevelRelation) Base_ added in v0.0.6

func (*OfficialCustomerLevelRelation) BatchValidate

func (a *OfficialCustomerLevelRelation) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerLevelRelation) CPAFrom

func (*OfficialCustomerLevelRelation) ConnID

func (a *OfficialCustomerLevelRelation) ConnID() int

func (*OfficialCustomerLevelRelation) Context

func (*OfficialCustomerLevelRelation) Count

func (a *OfficialCustomerLevelRelation) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerLevelRelation) Delete

func (a *OfficialCustomerLevelRelation) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerLevelRelation) Deletex

func (a *OfficialCustomerLevelRelation) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevelRelation) EventOFF

func (a *OfficialCustomerLevelRelation) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerLevelRelation) EventON

func (a *OfficialCustomerLevelRelation) EventON(on ...bool) factory.Model

func (*OfficialCustomerLevelRelation) Exists

func (a *OfficialCustomerLevelRelation) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerLevelRelation) FromRow

func (a *OfficialCustomerLevelRelation) FromRow(row map[string]interface{})

func (*OfficialCustomerLevelRelation) Get

func (a *OfficialCustomerLevelRelation) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerLevelRelation) GroupBy

func (*OfficialCustomerLevelRelation) InitObjects

func (*OfficialCustomerLevelRelation) Insert

func (a *OfficialCustomerLevelRelation) Insert() (pk interface{}, err error)

func (*OfficialCustomerLevelRelation) KeyBy

func (*OfficialCustomerLevelRelation) List

func (a *OfficialCustomerLevelRelation) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerLevelRelation) ListByOffset

func (a *OfficialCustomerLevelRelation) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerLevelRelation) ListPage

func (a *OfficialCustomerLevelRelation) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerLevelRelation) ListPageAs

func (a *OfficialCustomerLevelRelation) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerLevelRelation) Name_

func (*OfficialCustomerLevelRelation) Namer

func (*OfficialCustomerLevelRelation) New

func (a *OfficialCustomerLevelRelation) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerLevelRelation) NewObjects

func (*OfficialCustomerLevelRelation) NewParam

func (*OfficialCustomerLevelRelation) Objects

func (*OfficialCustomerLevelRelation) Param

func (a *OfficialCustomerLevelRelation) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerLevelRelation) Reset

func (*OfficialCustomerLevelRelation) Set

func (a *OfficialCustomerLevelRelation) Set(key interface{}, value ...interface{})

func (*OfficialCustomerLevelRelation) SetConnID

func (a *OfficialCustomerLevelRelation) SetConnID(connID int) factory.Model

func (*OfficialCustomerLevelRelation) SetContext

func (*OfficialCustomerLevelRelation) SetNamer

func (*OfficialCustomerLevelRelation) SetParam

func (*OfficialCustomerLevelRelation) Short_

func (*OfficialCustomerLevelRelation) Struct_

func (*OfficialCustomerLevelRelation) Trans

func (*OfficialCustomerLevelRelation) Update

func (a *OfficialCustomerLevelRelation) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerLevelRelation) UpdateByFields

func (a *OfficialCustomerLevelRelation) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerLevelRelation) UpdateField

func (a *OfficialCustomerLevelRelation) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerLevelRelation) UpdateFields

func (a *OfficialCustomerLevelRelation) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerLevelRelation) UpdateValues

func (a *OfficialCustomerLevelRelation) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerLevelRelation) Updatex

func (a *OfficialCustomerLevelRelation) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevelRelation) UpdatexByFields

func (a *OfficialCustomerLevelRelation) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevelRelation) UpdatexField

func (a *OfficialCustomerLevelRelation) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevelRelation) UpdatexFields

func (a *OfficialCustomerLevelRelation) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerLevelRelation) Upsert

func (a *OfficialCustomerLevelRelation) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerLevelRelation) Use

func (*OfficialCustomerLevelRelation) Validate

func (a *OfficialCustomerLevelRelation) Validate(field string, value interface{}) error

func (*OfficialCustomerLevelRelation) XObjects

type OfficialCustomerOauth

type OfficialCustomerOauth struct {
	Id           uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CustomerId   uint64 `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	UnionId      string `db:"union_id" bson:"union_id" comment:"UNION ID" json:"union_id" xml:"union_id"`
	OpenId       string `db:"open_id" bson:"open_id" comment:"OPEN ID" json:"open_id" xml:"open_id"`
	Type         string `db:"type" bson:"type" comment:"类型(例如:wechat/qq/alipay)" json:"type" xml:"type"`
	Avatar       string `db:"avatar" bson:"avatar" comment:"头像" json:"avatar" xml:"avatar"`
	Email        string `db:"email" bson:"email" comment:"E-mail" json:"email" xml:"email"`
	Mobile       string `db:"mobile" bson:"mobile" comment:"手机号" json:"mobile" xml:"mobile"`
	AccessToken  string `db:"access_token" bson:"access_token" comment:"Access Token" json:"access_token" xml:"access_token"`
	RefreshToken string `db:"refresh_token" bson:"refresh_token" comment:"Refresh Token" json:"refresh_token" xml:"refresh_token"`
	Expired      uint   `db:"expired" bson:"expired" comment:"过期时间" json:"expired" xml:"expired"`
	Created      uint   `db:"created" bson:"created" comment:"添加时间" json:"created" xml:"created"`
	Updated      uint   `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"`
	// contains filtered or unexported fields
}

OfficialCustomerOauth 第三方登录

func NewOfficialCustomerOauth

func NewOfficialCustomerOauth(ctx echo.Context) *OfficialCustomerOauth

func (*OfficialCustomerOauth) AsKV

func (a *OfficialCustomerOauth) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerOauth) param.Store

func (*OfficialCustomerOauth) AsMap

func (a *OfficialCustomerOauth) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerOauth) AsRow

func (a *OfficialCustomerOauth) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerOauth) Base_ added in v0.0.6

func (a *OfficialCustomerOauth) Base_() factory.Baser

func (*OfficialCustomerOauth) BatchValidate

func (a *OfficialCustomerOauth) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerOauth) CPAFrom

func (a *OfficialCustomerOauth) CPAFrom(source factory.Model) factory.Model

func (*OfficialCustomerOauth) ConnID

func (a *OfficialCustomerOauth) ConnID() int

func (*OfficialCustomerOauth) Context

func (a *OfficialCustomerOauth) Context() echo.Context

func (*OfficialCustomerOauth) Count

func (a *OfficialCustomerOauth) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerOauth) Delete

func (a *OfficialCustomerOauth) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerOauth) Deletex

func (a *OfficialCustomerOauth) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerOauth) EventOFF

func (a *OfficialCustomerOauth) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerOauth) EventON

func (a *OfficialCustomerOauth) EventON(on ...bool) factory.Model

func (*OfficialCustomerOauth) Exists

func (a *OfficialCustomerOauth) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerOauth) FromRow

func (a *OfficialCustomerOauth) FromRow(row map[string]interface{})

func (*OfficialCustomerOauth) Get

func (a *OfficialCustomerOauth) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerOauth) GroupBy

func (a *OfficialCustomerOauth) GroupBy(keyField string, inputRows ...[]*OfficialCustomerOauth) map[string][]*OfficialCustomerOauth

func (*OfficialCustomerOauth) InitObjects

func (a *OfficialCustomerOauth) InitObjects() *[]*OfficialCustomerOauth

func (*OfficialCustomerOauth) Insert

func (a *OfficialCustomerOauth) Insert() (pk interface{}, err error)

func (*OfficialCustomerOauth) KeyBy

func (a *OfficialCustomerOauth) KeyBy(keyField string, inputRows ...[]*OfficialCustomerOauth) map[string]*OfficialCustomerOauth

func (*OfficialCustomerOauth) List

func (a *OfficialCustomerOauth) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerOauth) ListByOffset

func (a *OfficialCustomerOauth) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerOauth) ListPage

func (a *OfficialCustomerOauth) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerOauth) ListPageAs

func (a *OfficialCustomerOauth) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerOauth) Name_

func (a *OfficialCustomerOauth) Name_() string

func (*OfficialCustomerOauth) Namer

func (a *OfficialCustomerOauth) Namer() func(factory.Model) string

func (*OfficialCustomerOauth) New

func (a *OfficialCustomerOauth) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerOauth) NewObjects

func (a *OfficialCustomerOauth) NewObjects() factory.Ranger

func (*OfficialCustomerOauth) NewParam

func (a *OfficialCustomerOauth) NewParam() *factory.Param

func (*OfficialCustomerOauth) Objects

func (*OfficialCustomerOauth) Param

func (a *OfficialCustomerOauth) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerOauth) Reset

func (*OfficialCustomerOauth) Set

func (a *OfficialCustomerOauth) Set(key interface{}, value ...interface{})

func (*OfficialCustomerOauth) SetConnID

func (a *OfficialCustomerOauth) SetConnID(connID int) factory.Model

func (*OfficialCustomerOauth) SetContext

func (a *OfficialCustomerOauth) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerOauth) SetNamer

func (a *OfficialCustomerOauth) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerOauth) SetParam

func (a *OfficialCustomerOauth) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerOauth) Short_

func (a *OfficialCustomerOauth) Short_() string

func (*OfficialCustomerOauth) Struct_

func (a *OfficialCustomerOauth) Struct_() string

func (*OfficialCustomerOauth) Trans

func (*OfficialCustomerOauth) Update

func (a *OfficialCustomerOauth) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerOauth) UpdateByFields

func (a *OfficialCustomerOauth) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerOauth) UpdateField

func (a *OfficialCustomerOauth) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerOauth) UpdateFields

func (a *OfficialCustomerOauth) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerOauth) UpdateValues

func (a *OfficialCustomerOauth) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerOauth) Updatex

func (a *OfficialCustomerOauth) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerOauth) UpdatexByFields

func (a *OfficialCustomerOauth) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerOauth) UpdatexField

func (a *OfficialCustomerOauth) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerOauth) UpdatexFields

func (a *OfficialCustomerOauth) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerOauth) Upsert

func (a *OfficialCustomerOauth) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerOauth) Use

func (*OfficialCustomerOauth) Validate

func (a *OfficialCustomerOauth) Validate(field string, value interface{}) error

func (*OfficialCustomerOauth) XObjects

type OfficialCustomerPrepaidCard

type OfficialCustomerPrepaidCard 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"`
	CustomerId uint64  `db:"customer_id" bson:"customer_id" comment:"客户ID(使用者)" json:"customer_id" xml:"customer_id"`
	Amount     uint    `db:"amount" bson:"amount" comment:"面值" json:"amount" xml:"amount"`
	SalePrice  float64 `db:"sale_price" bson:"sale_price" comment:"售价" json:"sale_price" xml:"sale_price"`
	Number     string  `db:"number" bson:"number" comment:"卡号" json:"number" xml:"number"`
	Password   string  `db:"password" bson:"password" comment:"卡密" json:"password" xml:"password"`
	Created    uint    `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Start      uint    `db:"start" bson:"start" comment:"有效时间" json:"start" xml:"start"`
	End        uint    `db:"end" bson:"end" comment:"失效时间" json:"end" xml:"end"`
	Used       uint    `db:"used" bson:"used" comment:"使用时间" json:"used" xml:"used"`
	Disabled   string  `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"`
	BgImage    string  `db:"bg_image" bson:"bg_image" comment:"背景图片" json:"bg_image" xml:"bg_image"`
	// contains filtered or unexported fields
}

OfficialCustomerPrepaidCard 充值卡

func NewOfficialCustomerPrepaidCard

func NewOfficialCustomerPrepaidCard(ctx echo.Context) *OfficialCustomerPrepaidCard

func (*OfficialCustomerPrepaidCard) AsKV

func (a *OfficialCustomerPrepaidCard) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerPrepaidCard) param.Store

func (*OfficialCustomerPrepaidCard) AsMap

func (a *OfficialCustomerPrepaidCard) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerPrepaidCard) AsRow

func (a *OfficialCustomerPrepaidCard) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerPrepaidCard) Base_ added in v0.0.6

func (*OfficialCustomerPrepaidCard) BatchValidate

func (a *OfficialCustomerPrepaidCard) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerPrepaidCard) CPAFrom

func (*OfficialCustomerPrepaidCard) ConnID

func (a *OfficialCustomerPrepaidCard) ConnID() int

func (*OfficialCustomerPrepaidCard) Context

func (*OfficialCustomerPrepaidCard) Count

func (a *OfficialCustomerPrepaidCard) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerPrepaidCard) Delete

func (a *OfficialCustomerPrepaidCard) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerPrepaidCard) Deletex

func (a *OfficialCustomerPrepaidCard) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerPrepaidCard) EventOFF

func (a *OfficialCustomerPrepaidCard) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerPrepaidCard) EventON

func (a *OfficialCustomerPrepaidCard) EventON(on ...bool) factory.Model

func (*OfficialCustomerPrepaidCard) Exists

func (a *OfficialCustomerPrepaidCard) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerPrepaidCard) FromRow

func (a *OfficialCustomerPrepaidCard) FromRow(row map[string]interface{})

func (*OfficialCustomerPrepaidCard) Get

func (a *OfficialCustomerPrepaidCard) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerPrepaidCard) GroupBy

func (*OfficialCustomerPrepaidCard) InitObjects

func (*OfficialCustomerPrepaidCard) Insert

func (a *OfficialCustomerPrepaidCard) Insert() (pk interface{}, err error)

func (*OfficialCustomerPrepaidCard) KeyBy

func (*OfficialCustomerPrepaidCard) List

func (a *OfficialCustomerPrepaidCard) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerPrepaidCard) ListByOffset

func (a *OfficialCustomerPrepaidCard) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerPrepaidCard) ListPage

func (a *OfficialCustomerPrepaidCard) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerPrepaidCard) ListPageAs

func (a *OfficialCustomerPrepaidCard) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerPrepaidCard) Name_

func (*OfficialCustomerPrepaidCard) Namer

func (*OfficialCustomerPrepaidCard) New

func (a *OfficialCustomerPrepaidCard) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerPrepaidCard) NewObjects

func (a *OfficialCustomerPrepaidCard) NewObjects() factory.Ranger

func (*OfficialCustomerPrepaidCard) NewParam

func (a *OfficialCustomerPrepaidCard) NewParam() *factory.Param

func (*OfficialCustomerPrepaidCard) Objects

func (*OfficialCustomerPrepaidCard) Param

func (a *OfficialCustomerPrepaidCard) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerPrepaidCard) Reset

func (*OfficialCustomerPrepaidCard) Set

func (a *OfficialCustomerPrepaidCard) Set(key interface{}, value ...interface{})

func (*OfficialCustomerPrepaidCard) SetConnID

func (a *OfficialCustomerPrepaidCard) SetConnID(connID int) factory.Model

func (*OfficialCustomerPrepaidCard) SetContext

func (*OfficialCustomerPrepaidCard) SetNamer

func (a *OfficialCustomerPrepaidCard) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerPrepaidCard) SetParam

func (*OfficialCustomerPrepaidCard) Short_

func (a *OfficialCustomerPrepaidCard) Short_() string

func (*OfficialCustomerPrepaidCard) Struct_

func (a *OfficialCustomerPrepaidCard) Struct_() string

func (*OfficialCustomerPrepaidCard) Trans

func (*OfficialCustomerPrepaidCard) Update

func (a *OfficialCustomerPrepaidCard) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerPrepaidCard) UpdateByFields

func (a *OfficialCustomerPrepaidCard) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerPrepaidCard) UpdateField

func (a *OfficialCustomerPrepaidCard) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerPrepaidCard) UpdateFields

func (a *OfficialCustomerPrepaidCard) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerPrepaidCard) UpdateValues

func (a *OfficialCustomerPrepaidCard) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerPrepaidCard) Updatex

func (a *OfficialCustomerPrepaidCard) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerPrepaidCard) UpdatexByFields

func (a *OfficialCustomerPrepaidCard) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerPrepaidCard) UpdatexField

func (a *OfficialCustomerPrepaidCard) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerPrepaidCard) UpdatexFields

func (a *OfficialCustomerPrepaidCard) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerPrepaidCard) Upsert

func (a *OfficialCustomerPrepaidCard) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerPrepaidCard) Use

func (*OfficialCustomerPrepaidCard) Validate

func (a *OfficialCustomerPrepaidCard) Validate(field string, value interface{}) error

func (*OfficialCustomerPrepaidCard) XObjects

type OfficialCustomerRole

type OfficialCustomerRole 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"`
	IsDefault   string `db:"is_default" bson:"is_default" comment:"是否作为新用户注册时的默认角色" json:"is_default" xml:"is_default"`
	ParentId    uint   `db:"parent_id" bson:"parent_id" comment:"父级ID" json:"parent_id" xml:"parent_id"`
	// contains filtered or unexported fields
}

OfficialCustomerRole 客户角色

func NewOfficialCustomerRole

func NewOfficialCustomerRole(ctx echo.Context) *OfficialCustomerRole

func (*OfficialCustomerRole) AsKV

func (a *OfficialCustomerRole) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerRole) param.Store

func (*OfficialCustomerRole) AsMap

func (a *OfficialCustomerRole) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerRole) AsRow

func (a *OfficialCustomerRole) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerRole) Base_ added in v0.0.6

func (a *OfficialCustomerRole) Base_() factory.Baser

func (*OfficialCustomerRole) BatchValidate

func (a *OfficialCustomerRole) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerRole) CPAFrom

func (a *OfficialCustomerRole) CPAFrom(source factory.Model) factory.Model

func (*OfficialCustomerRole) ConnID

func (a *OfficialCustomerRole) ConnID() int

func (*OfficialCustomerRole) Context

func (a *OfficialCustomerRole) Context() echo.Context

func (*OfficialCustomerRole) Count

func (a *OfficialCustomerRole) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerRole) Delete

func (a *OfficialCustomerRole) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerRole) Deletex

func (a *OfficialCustomerRole) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRole) EventOFF

func (a *OfficialCustomerRole) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerRole) EventON

func (a *OfficialCustomerRole) EventON(on ...bool) factory.Model

func (*OfficialCustomerRole) Exists

func (a *OfficialCustomerRole) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerRole) FromRow

func (a *OfficialCustomerRole) FromRow(row map[string]interface{})

func (*OfficialCustomerRole) Get

func (a *OfficialCustomerRole) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerRole) GroupBy

func (a *OfficialCustomerRole) GroupBy(keyField string, inputRows ...[]*OfficialCustomerRole) map[string][]*OfficialCustomerRole

func (*OfficialCustomerRole) InitObjects

func (a *OfficialCustomerRole) InitObjects() *[]*OfficialCustomerRole

func (*OfficialCustomerRole) Insert

func (a *OfficialCustomerRole) Insert() (pk interface{}, err error)

func (*OfficialCustomerRole) KeyBy

func (a *OfficialCustomerRole) KeyBy(keyField string, inputRows ...[]*OfficialCustomerRole) map[string]*OfficialCustomerRole

func (*OfficialCustomerRole) List

func (a *OfficialCustomerRole) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerRole) ListByOffset

func (a *OfficialCustomerRole) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerRole) ListPage

func (a *OfficialCustomerRole) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerRole) ListPageAs

func (a *OfficialCustomerRole) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerRole) Name_

func (a *OfficialCustomerRole) Name_() string

func (*OfficialCustomerRole) Namer

func (a *OfficialCustomerRole) Namer() func(factory.Model) string

func (*OfficialCustomerRole) New

func (a *OfficialCustomerRole) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerRole) NewObjects

func (a *OfficialCustomerRole) NewObjects() factory.Ranger

func (*OfficialCustomerRole) NewParam

func (a *OfficialCustomerRole) NewParam() *factory.Param

func (*OfficialCustomerRole) Objects

func (*OfficialCustomerRole) Param

func (a *OfficialCustomerRole) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerRole) Reset

func (*OfficialCustomerRole) Set

func (a *OfficialCustomerRole) Set(key interface{}, value ...interface{})

func (*OfficialCustomerRole) SetConnID

func (a *OfficialCustomerRole) SetConnID(connID int) factory.Model

func (*OfficialCustomerRole) SetContext

func (a *OfficialCustomerRole) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerRole) SetNamer

func (a *OfficialCustomerRole) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerRole) SetParam

func (a *OfficialCustomerRole) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerRole) Short_

func (a *OfficialCustomerRole) Short_() string

func (*OfficialCustomerRole) Struct_

func (a *OfficialCustomerRole) Struct_() string

func (*OfficialCustomerRole) Trans

func (*OfficialCustomerRole) Update

func (a *OfficialCustomerRole) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerRole) UpdateByFields

func (a *OfficialCustomerRole) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerRole) UpdateField

func (a *OfficialCustomerRole) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerRole) UpdateFields

func (a *OfficialCustomerRole) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerRole) UpdateValues

func (a *OfficialCustomerRole) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerRole) Updatex

func (a *OfficialCustomerRole) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRole) UpdatexByFields

func (a *OfficialCustomerRole) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRole) UpdatexField

func (a *OfficialCustomerRole) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRole) UpdatexFields

func (a *OfficialCustomerRole) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRole) Upsert

func (a *OfficialCustomerRole) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerRole) Use

func (*OfficialCustomerRole) Validate

func (a *OfficialCustomerRole) Validate(field string, value interface{}) error

func (*OfficialCustomerRole) XObjects

type OfficialCustomerRolePermission

type OfficialCustomerRolePermission 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
}

OfficialCustomerRolePermission

func NewOfficialCustomerRolePermission

func NewOfficialCustomerRolePermission(ctx echo.Context) *OfficialCustomerRolePermission

func (*OfficialCustomerRolePermission) AsKV

func (a *OfficialCustomerRolePermission) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerRolePermission) param.Store

func (*OfficialCustomerRolePermission) AsMap

func (a *OfficialCustomerRolePermission) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerRolePermission) AsRow

func (a *OfficialCustomerRolePermission) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerRolePermission) Base_ added in v0.0.6

func (*OfficialCustomerRolePermission) BatchValidate

func (a *OfficialCustomerRolePermission) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerRolePermission) CPAFrom

func (*OfficialCustomerRolePermission) ConnID

func (a *OfficialCustomerRolePermission) ConnID() int

func (*OfficialCustomerRolePermission) Context

func (*OfficialCustomerRolePermission) Count

func (a *OfficialCustomerRolePermission) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerRolePermission) Delete

func (a *OfficialCustomerRolePermission) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerRolePermission) Deletex

func (a *OfficialCustomerRolePermission) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRolePermission) EventOFF

func (a *OfficialCustomerRolePermission) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerRolePermission) EventON

func (*OfficialCustomerRolePermission) Exists

func (a *OfficialCustomerRolePermission) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerRolePermission) FromRow

func (a *OfficialCustomerRolePermission) FromRow(row map[string]interface{})

func (*OfficialCustomerRolePermission) Get

func (a *OfficialCustomerRolePermission) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerRolePermission) GetPermission

func (a *OfficialCustomerRolePermission) GetPermission() string

func (*OfficialCustomerRolePermission) GetType

func (*OfficialCustomerRolePermission) GroupBy

func (*OfficialCustomerRolePermission) InitObjects

func (*OfficialCustomerRolePermission) Insert

func (a *OfficialCustomerRolePermission) Insert() (pk interface{}, err error)

func (*OfficialCustomerRolePermission) KeyBy

func (*OfficialCustomerRolePermission) List

func (a *OfficialCustomerRolePermission) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerRolePermission) ListByOffset

func (a *OfficialCustomerRolePermission) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerRolePermission) ListPage

func (a *OfficialCustomerRolePermission) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerRolePermission) ListPageAs

func (a *OfficialCustomerRolePermission) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerRolePermission) Name_

func (*OfficialCustomerRolePermission) Namer

func (*OfficialCustomerRolePermission) New

func (a *OfficialCustomerRolePermission) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerRolePermission) NewObjects

func (*OfficialCustomerRolePermission) NewParam

func (*OfficialCustomerRolePermission) Objects

func (*OfficialCustomerRolePermission) Param

func (a *OfficialCustomerRolePermission) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerRolePermission) Reset

func (*OfficialCustomerRolePermission) Set

func (a *OfficialCustomerRolePermission) Set(key interface{}, value ...interface{})

func (*OfficialCustomerRolePermission) SetConnID

func (a *OfficialCustomerRolePermission) SetConnID(connID int) factory.Model

func (*OfficialCustomerRolePermission) SetContext

func (*OfficialCustomerRolePermission) SetNamer

func (*OfficialCustomerRolePermission) SetParam

func (*OfficialCustomerRolePermission) Short_

func (*OfficialCustomerRolePermission) Struct_

func (*OfficialCustomerRolePermission) Trans

func (*OfficialCustomerRolePermission) Update

func (a *OfficialCustomerRolePermission) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerRolePermission) UpdateByFields

func (a *OfficialCustomerRolePermission) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerRolePermission) UpdateField

func (a *OfficialCustomerRolePermission) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerRolePermission) UpdateFields

func (a *OfficialCustomerRolePermission) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerRolePermission) UpdateValues

func (a *OfficialCustomerRolePermission) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerRolePermission) Updatex

func (a *OfficialCustomerRolePermission) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRolePermission) UpdatexByFields

func (a *OfficialCustomerRolePermission) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRolePermission) UpdatexField

func (a *OfficialCustomerRolePermission) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRolePermission) UpdatexFields

func (a *OfficialCustomerRolePermission) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerRolePermission) Upsert

func (a *OfficialCustomerRolePermission) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerRolePermission) Use

func (*OfficialCustomerRolePermission) Validate

func (a *OfficialCustomerRolePermission) Validate(field string, value interface{}) error

func (*OfficialCustomerRolePermission) XObjects

type OfficialCustomerU2f

type OfficialCustomerU2f struct {
	Id           uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CustomerId   uint64 `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	Name         string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"`
	Token        string `db:"token" bson:"token" comment:"签名" json:"token" xml:"token"`
	Type         string `db:"type" bson:"type" comment:"类型" json:"type" xml:"type"`
	Extra        string `db:"extra" bson:"extra" comment:"扩展设置" json:"extra" xml:"extra"`
	Step         uint   `db:"step" bson:"step" comment:"第几步" json:"step" xml:"step"`
	Precondition string `` /* 171-byte string literal not displayed */
	Created      uint   `db:"created" bson:"created" comment:"绑定时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

OfficialCustomerU2f 两步验证

func NewOfficialCustomerU2f

func NewOfficialCustomerU2f(ctx echo.Context) *OfficialCustomerU2f

func (*OfficialCustomerU2f) AsKV

func (a *OfficialCustomerU2f) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerU2f) param.Store

func (*OfficialCustomerU2f) AsMap

func (a *OfficialCustomerU2f) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerU2f) AsRow

func (a *OfficialCustomerU2f) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerU2f) Base_ added in v0.0.6

func (a *OfficialCustomerU2f) Base_() factory.Baser

func (*OfficialCustomerU2f) BatchValidate

func (a *OfficialCustomerU2f) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerU2f) CPAFrom

func (a *OfficialCustomerU2f) CPAFrom(source factory.Model) factory.Model

func (*OfficialCustomerU2f) ConnID

func (a *OfficialCustomerU2f) ConnID() int

func (*OfficialCustomerU2f) Context

func (a *OfficialCustomerU2f) Context() echo.Context

func (*OfficialCustomerU2f) Count

func (a *OfficialCustomerU2f) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerU2f) Delete

func (a *OfficialCustomerU2f) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerU2f) Deletex

func (a *OfficialCustomerU2f) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerU2f) EventOFF

func (a *OfficialCustomerU2f) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerU2f) EventON

func (a *OfficialCustomerU2f) EventON(on ...bool) factory.Model

func (*OfficialCustomerU2f) Exists

func (a *OfficialCustomerU2f) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerU2f) FromRow

func (a *OfficialCustomerU2f) FromRow(row map[string]interface{})

func (*OfficialCustomerU2f) Get

func (a *OfficialCustomerU2f) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerU2f) GroupBy

func (a *OfficialCustomerU2f) GroupBy(keyField string, inputRows ...[]*OfficialCustomerU2f) map[string][]*OfficialCustomerU2f

func (*OfficialCustomerU2f) InitObjects

func (a *OfficialCustomerU2f) InitObjects() *[]*OfficialCustomerU2f

func (*OfficialCustomerU2f) Insert

func (a *OfficialCustomerU2f) Insert() (pk interface{}, err error)

func (*OfficialCustomerU2f) KeyBy

func (a *OfficialCustomerU2f) KeyBy(keyField string, inputRows ...[]*OfficialCustomerU2f) map[string]*OfficialCustomerU2f

func (*OfficialCustomerU2f) List

func (a *OfficialCustomerU2f) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerU2f) ListByOffset

func (a *OfficialCustomerU2f) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerU2f) ListPage

func (a *OfficialCustomerU2f) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerU2f) ListPageAs

func (a *OfficialCustomerU2f) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerU2f) Name_

func (a *OfficialCustomerU2f) Name_() string

func (*OfficialCustomerU2f) Namer

func (a *OfficialCustomerU2f) Namer() func(factory.Model) string

func (*OfficialCustomerU2f) New

func (a *OfficialCustomerU2f) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerU2f) NewObjects

func (a *OfficialCustomerU2f) NewObjects() factory.Ranger

func (*OfficialCustomerU2f) NewParam

func (a *OfficialCustomerU2f) NewParam() *factory.Param

func (*OfficialCustomerU2f) Objects

func (a *OfficialCustomerU2f) Objects() []*OfficialCustomerU2f

func (*OfficialCustomerU2f) Param

func (a *OfficialCustomerU2f) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerU2f) Reset

func (*OfficialCustomerU2f) Set

func (a *OfficialCustomerU2f) Set(key interface{}, value ...interface{})

func (*OfficialCustomerU2f) SetConnID

func (a *OfficialCustomerU2f) SetConnID(connID int) factory.Model

func (*OfficialCustomerU2f) SetContext

func (a *OfficialCustomerU2f) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerU2f) SetNamer

func (a *OfficialCustomerU2f) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerU2f) SetParam

func (a *OfficialCustomerU2f) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerU2f) Short_

func (a *OfficialCustomerU2f) Short_() string

func (*OfficialCustomerU2f) Struct_

func (a *OfficialCustomerU2f) Struct_() string

func (*OfficialCustomerU2f) Trans

func (*OfficialCustomerU2f) Update

func (a *OfficialCustomerU2f) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerU2f) UpdateByFields

func (a *OfficialCustomerU2f) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerU2f) UpdateField

func (a *OfficialCustomerU2f) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerU2f) UpdateFields

func (a *OfficialCustomerU2f) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerU2f) UpdateValues

func (a *OfficialCustomerU2f) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerU2f) Updatex

func (a *OfficialCustomerU2f) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerU2f) UpdatexByFields

func (a *OfficialCustomerU2f) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerU2f) UpdatexField

func (a *OfficialCustomerU2f) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerU2f) UpdatexFields

func (a *OfficialCustomerU2f) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerU2f) Upsert

func (a *OfficialCustomerU2f) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerU2f) Use

func (*OfficialCustomerU2f) Validate

func (a *OfficialCustomerU2f) Validate(field string, value interface{}) error

func (*OfficialCustomerU2f) XObjects

type OfficialCustomerWallet

type OfficialCustomerWallet struct {
	CustomerId uint64  `db:"customer_id,pk" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	AssetType  string  `` /* 209-byte string literal not displayed */
	Balance    float64 `db:"balance" bson:"balance" comment:"余额" json:"balance" xml:"balance"`
	Freeze     float64 `db:"freeze" bson:"freeze" comment:"冻结金额" json:"freeze" xml:"freeze"`
	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
}

OfficialCustomerWallet 钱包

func NewOfficialCustomerWallet

func NewOfficialCustomerWallet(ctx echo.Context) *OfficialCustomerWallet

func (*OfficialCustomerWallet) AsKV

func (a *OfficialCustomerWallet) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerWallet) param.Store

func (*OfficialCustomerWallet) AsMap

func (a *OfficialCustomerWallet) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerWallet) AsRow

func (a *OfficialCustomerWallet) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerWallet) Base_ added in v0.0.6

func (*OfficialCustomerWallet) BatchValidate

func (a *OfficialCustomerWallet) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerWallet) CPAFrom

func (a *OfficialCustomerWallet) CPAFrom(source factory.Model) factory.Model

func (*OfficialCustomerWallet) ConnID

func (a *OfficialCustomerWallet) ConnID() int

func (*OfficialCustomerWallet) Context

func (a *OfficialCustomerWallet) Context() echo.Context

func (*OfficialCustomerWallet) Count

func (a *OfficialCustomerWallet) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerWallet) Delete

func (a *OfficialCustomerWallet) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerWallet) Deletex

func (a *OfficialCustomerWallet) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWallet) EventOFF

func (a *OfficialCustomerWallet) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerWallet) EventON

func (a *OfficialCustomerWallet) EventON(on ...bool) factory.Model

func (*OfficialCustomerWallet) Exists

func (a *OfficialCustomerWallet) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerWallet) FromRow

func (a *OfficialCustomerWallet) FromRow(row map[string]interface{})

func (*OfficialCustomerWallet) Get

func (a *OfficialCustomerWallet) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerWallet) GroupBy

func (a *OfficialCustomerWallet) GroupBy(keyField string, inputRows ...[]*OfficialCustomerWallet) map[string][]*OfficialCustomerWallet

func (*OfficialCustomerWallet) InitObjects

func (a *OfficialCustomerWallet) InitObjects() *[]*OfficialCustomerWallet

func (*OfficialCustomerWallet) Insert

func (a *OfficialCustomerWallet) Insert() (pk interface{}, err error)

func (*OfficialCustomerWallet) KeyBy

func (a *OfficialCustomerWallet) KeyBy(keyField string, inputRows ...[]*OfficialCustomerWallet) map[string]*OfficialCustomerWallet

func (*OfficialCustomerWallet) List

func (a *OfficialCustomerWallet) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerWallet) ListByOffset

func (a *OfficialCustomerWallet) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerWallet) ListPage

func (a *OfficialCustomerWallet) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerWallet) ListPageAs

func (a *OfficialCustomerWallet) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerWallet) Name_

func (a *OfficialCustomerWallet) Name_() string

func (*OfficialCustomerWallet) Namer

func (a *OfficialCustomerWallet) Namer() func(factory.Model) string

func (*OfficialCustomerWallet) New

func (a *OfficialCustomerWallet) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerWallet) NewObjects

func (a *OfficialCustomerWallet) NewObjects() factory.Ranger

func (*OfficialCustomerWallet) NewParam

func (a *OfficialCustomerWallet) NewParam() *factory.Param

func (*OfficialCustomerWallet) Objects

func (*OfficialCustomerWallet) Param

func (a *OfficialCustomerWallet) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerWallet) Reset

func (*OfficialCustomerWallet) Set

func (a *OfficialCustomerWallet) Set(key interface{}, value ...interface{})

func (*OfficialCustomerWallet) SetConnID

func (a *OfficialCustomerWallet) SetConnID(connID int) factory.Model

func (*OfficialCustomerWallet) SetContext

func (a *OfficialCustomerWallet) SetContext(ctx echo.Context) factory.Model

func (*OfficialCustomerWallet) SetNamer

func (a *OfficialCustomerWallet) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerWallet) SetParam

func (a *OfficialCustomerWallet) SetParam(param *factory.Param) factory.Model

func (*OfficialCustomerWallet) Short_

func (a *OfficialCustomerWallet) Short_() string

func (*OfficialCustomerWallet) Struct_

func (a *OfficialCustomerWallet) Struct_() string

func (*OfficialCustomerWallet) Trans

func (*OfficialCustomerWallet) Update

func (a *OfficialCustomerWallet) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerWallet) UpdateByFields

func (a *OfficialCustomerWallet) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerWallet) UpdateField

func (a *OfficialCustomerWallet) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerWallet) UpdateFields

func (a *OfficialCustomerWallet) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerWallet) UpdateValues

func (a *OfficialCustomerWallet) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerWallet) Updatex

func (a *OfficialCustomerWallet) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWallet) UpdatexByFields

func (a *OfficialCustomerWallet) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWallet) UpdatexField

func (a *OfficialCustomerWallet) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWallet) UpdatexFields

func (a *OfficialCustomerWallet) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWallet) Upsert

func (a *OfficialCustomerWallet) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerWallet) Use

func (*OfficialCustomerWallet) Validate

func (a *OfficialCustomerWallet) Validate(field string, value interface{}) error

func (*OfficialCustomerWallet) XObjects

type OfficialCustomerWalletFlow

type OfficialCustomerWalletFlow struct {
	Id             uint64  `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	CustomerId     uint64  `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"`
	AssetType      string  `db:"asset_type" bson:"asset_type" comment:"资产类型" json:"asset_type" xml:"asset_type"`
	AmountType     string  `` /* 128-byte string literal not displayed */
	Amount         float64 `db:"amount" bson:"amount" comment:"金额(正数为收入;负数为支出)" json:"amount" xml:"amount"`
	WalletAmount   float64 `db:"wallet_amount" bson:"wallet_amount" comment:"变动后钱包总金额" json:"wallet_amount" xml:"wallet_amount"`
	SourceCustomer uint64  `db:"source_customer" bson:"source_customer" comment:"来自谁" json:"source_customer" xml:"source_customer"`
	SourceType     string  `db:"source_type" bson:"source_type" comment:"来源类型(组)" json:"source_type" xml:"source_type"`
	SourceTable    string  `db:"source_table" bson:"source_table" comment:"来源表(来自物品表)" json:"source_table" xml:"source_table"`
	SourceId       uint64  `db:"source_id" bson:"source_id" comment:"来源ID(来自物品ID)" json:"source_id" xml:"source_id"`
	Number         uint64  `db:"number" bson:"number" comment:"备用编号" json:"number" xml:"number"`
	TradeNo        string  `db:"trade_no" bson:"trade_no" comment:"交易号(来自哪个交易)" json:"trade_no" xml:"trade_no"`
	Status         string  `` /* 127-byte string literal not displayed */
	Description    string  `db:"description" bson:"description" comment:"简短描述" json:"description" xml:"description"`
	Created        uint    `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

OfficialCustomerWalletFlow 钱包流水记录

func NewOfficialCustomerWalletFlow

func NewOfficialCustomerWalletFlow(ctx echo.Context) *OfficialCustomerWalletFlow

func (*OfficialCustomerWalletFlow) AsKV

func (a *OfficialCustomerWalletFlow) AsKV(keyField string, valueField string, inputRows ...[]*OfficialCustomerWalletFlow) param.Store

func (*OfficialCustomerWalletFlow) AsMap

func (a *OfficialCustomerWalletFlow) AsMap(onlyFields ...string) param.Store

func (*OfficialCustomerWalletFlow) AsRow

func (a *OfficialCustomerWalletFlow) AsRow(onlyFields ...string) param.Store

func (*OfficialCustomerWalletFlow) Base_ added in v0.0.6

func (*OfficialCustomerWalletFlow) BatchValidate

func (a *OfficialCustomerWalletFlow) BatchValidate(kvset map[string]interface{}) error

func (*OfficialCustomerWalletFlow) CPAFrom

func (*OfficialCustomerWalletFlow) ConnID

func (a *OfficialCustomerWalletFlow) ConnID() int

func (*OfficialCustomerWalletFlow) Context

func (*OfficialCustomerWalletFlow) Count

func (a *OfficialCustomerWalletFlow) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialCustomerWalletFlow) Delete

func (a *OfficialCustomerWalletFlow) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerWalletFlow) Deletex

func (a *OfficialCustomerWalletFlow) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWalletFlow) EventOFF

func (a *OfficialCustomerWalletFlow) EventOFF(off ...bool) factory.Model

func (*OfficialCustomerWalletFlow) EventON

func (a *OfficialCustomerWalletFlow) EventON(on ...bool) factory.Model

func (*OfficialCustomerWalletFlow) Exists

func (a *OfficialCustomerWalletFlow) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialCustomerWalletFlow) FromRow

func (a *OfficialCustomerWalletFlow) FromRow(row map[string]interface{})

func (*OfficialCustomerWalletFlow) Get

func (a *OfficialCustomerWalletFlow) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerWalletFlow) GroupBy

func (*OfficialCustomerWalletFlow) InitObjects

func (*OfficialCustomerWalletFlow) Insert

func (a *OfficialCustomerWalletFlow) Insert() (pk interface{}, err error)

func (*OfficialCustomerWalletFlow) KeyBy

func (*OfficialCustomerWalletFlow) List

func (a *OfficialCustomerWalletFlow) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerWalletFlow) ListByOffset

func (a *OfficialCustomerWalletFlow) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialCustomerWalletFlow) ListPage

func (a *OfficialCustomerWalletFlow) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerWalletFlow) ListPageAs

func (a *OfficialCustomerWalletFlow) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialCustomerWalletFlow) Name_

func (*OfficialCustomerWalletFlow) Namer

func (*OfficialCustomerWalletFlow) New

func (a *OfficialCustomerWalletFlow) New(structName string, connID ...int) factory.Model

func (*OfficialCustomerWalletFlow) NewObjects

func (a *OfficialCustomerWalletFlow) NewObjects() factory.Ranger

func (*OfficialCustomerWalletFlow) NewParam

func (a *OfficialCustomerWalletFlow) NewParam() *factory.Param

func (*OfficialCustomerWalletFlow) Objects

func (*OfficialCustomerWalletFlow) Param

func (a *OfficialCustomerWalletFlow) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialCustomerWalletFlow) Reset

func (*OfficialCustomerWalletFlow) Set

func (a *OfficialCustomerWalletFlow) Set(key interface{}, value ...interface{})

func (*OfficialCustomerWalletFlow) SetConnID

func (a *OfficialCustomerWalletFlow) SetConnID(connID int) factory.Model

func (*OfficialCustomerWalletFlow) SetContext

func (*OfficialCustomerWalletFlow) SetNamer

func (a *OfficialCustomerWalletFlow) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialCustomerWalletFlow) SetParam

func (*OfficialCustomerWalletFlow) Short_

func (a *OfficialCustomerWalletFlow) Short_() string

func (*OfficialCustomerWalletFlow) Struct_

func (a *OfficialCustomerWalletFlow) Struct_() string

func (*OfficialCustomerWalletFlow) Trans

func (*OfficialCustomerWalletFlow) Update

func (a *OfficialCustomerWalletFlow) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialCustomerWalletFlow) UpdateByFields

func (a *OfficialCustomerWalletFlow) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialCustomerWalletFlow) UpdateField

func (a *OfficialCustomerWalletFlow) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialCustomerWalletFlow) UpdateFields

func (a *OfficialCustomerWalletFlow) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialCustomerWalletFlow) UpdateValues

func (a *OfficialCustomerWalletFlow) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialCustomerWalletFlow) Updatex

func (a *OfficialCustomerWalletFlow) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWalletFlow) UpdatexByFields

func (a *OfficialCustomerWalletFlow) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWalletFlow) UpdatexField

func (a *OfficialCustomerWalletFlow) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWalletFlow) UpdatexFields

func (a *OfficialCustomerWalletFlow) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialCustomerWalletFlow) Upsert

func (a *OfficialCustomerWalletFlow) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialCustomerWalletFlow) Use

func (*OfficialCustomerWalletFlow) Validate

func (a *OfficialCustomerWalletFlow) Validate(field string, value interface{}) error

func (*OfficialCustomerWalletFlow) XObjects

type OfficialPage

type OfficialPage 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"`
	Ident    string `db:"ident" bson:"ident" comment:"英文唯一标识" json:"ident" xml:"ident"`
	Template string `db:"template" bson:"template" comment:"模版文件" json:"template" xml:"template"`
	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
}

OfficialPage 页面布局

func NewOfficialPage

func NewOfficialPage(ctx echo.Context) *OfficialPage

func (*OfficialPage) AsKV

func (a *OfficialPage) AsKV(keyField string, valueField string, inputRows ...[]*OfficialPage) param.Store

func (*OfficialPage) AsMap

func (a *OfficialPage) AsMap(onlyFields ...string) param.Store

func (*OfficialPage) AsRow

func (a *OfficialPage) AsRow(onlyFields ...string) param.Store

func (*OfficialPage) Base_ added in v0.0.6

func (a *OfficialPage) Base_() factory.Baser

func (*OfficialPage) BatchValidate

func (a *OfficialPage) BatchValidate(kvset map[string]interface{}) error

func (*OfficialPage) CPAFrom

func (a *OfficialPage) CPAFrom(source factory.Model) factory.Model

func (*OfficialPage) ConnID

func (a *OfficialPage) ConnID() int

func (*OfficialPage) Context

func (a *OfficialPage) Context() echo.Context

func (*OfficialPage) Count

func (a *OfficialPage) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialPage) Delete

func (a *OfficialPage) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPage) Deletex

func (a *OfficialPage) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialPage) EventOFF

func (a *OfficialPage) EventOFF(off ...bool) factory.Model

func (*OfficialPage) EventON

func (a *OfficialPage) EventON(on ...bool) factory.Model

func (*OfficialPage) Exists

func (a *OfficialPage) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialPage) FromRow

func (a *OfficialPage) FromRow(row map[string]interface{})

func (*OfficialPage) Get

func (a *OfficialPage) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPage) GroupBy

func (a *OfficialPage) GroupBy(keyField string, inputRows ...[]*OfficialPage) map[string][]*OfficialPage

func (*OfficialPage) InitObjects

func (a *OfficialPage) InitObjects() *[]*OfficialPage

func (*OfficialPage) Insert

func (a *OfficialPage) Insert() (pk interface{}, err error)

func (*OfficialPage) KeyBy

func (a *OfficialPage) KeyBy(keyField string, inputRows ...[]*OfficialPage) map[string]*OfficialPage

func (*OfficialPage) List

func (a *OfficialPage) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialPage) ListByOffset

func (a *OfficialPage) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialPage) ListPage

func (a *OfficialPage) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialPage) ListPageAs

func (a *OfficialPage) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialPage) Name_

func (a *OfficialPage) Name_() string

func (*OfficialPage) Namer

func (a *OfficialPage) Namer() func(factory.Model) string

func (*OfficialPage) New

func (a *OfficialPage) New(structName string, connID ...int) factory.Model

func (*OfficialPage) NewObjects

func (a *OfficialPage) NewObjects() factory.Ranger

func (*OfficialPage) NewParam

func (a *OfficialPage) NewParam() *factory.Param

func (*OfficialPage) Objects

func (a *OfficialPage) Objects() []*OfficialPage

func (*OfficialPage) Param

func (a *OfficialPage) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialPage) Reset

func (a *OfficialPage) Reset() *OfficialPage

func (*OfficialPage) Set

func (a *OfficialPage) Set(key interface{}, value ...interface{})

func (*OfficialPage) SetConnID

func (a *OfficialPage) SetConnID(connID int) factory.Model

func (*OfficialPage) SetContext

func (a *OfficialPage) SetContext(ctx echo.Context) factory.Model

func (*OfficialPage) SetNamer

func (a *OfficialPage) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialPage) SetParam

func (a *OfficialPage) SetParam(param *factory.Param) factory.Model

func (*OfficialPage) Short_

func (a *OfficialPage) Short_() string

func (*OfficialPage) Struct_

func (a *OfficialPage) Struct_() string

func (*OfficialPage) Trans

func (a *OfficialPage) Trans() factory.Transactioner

func (*OfficialPage) Update

func (a *OfficialPage) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPage) UpdateByFields

func (a *OfficialPage) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialPage) UpdateField

func (a *OfficialPage) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialPage) UpdateFields

func (a *OfficialPage) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialPage) UpdateValues

func (a *OfficialPage) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialPage) Updatex

func (a *OfficialPage) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialPage) UpdatexByFields

func (a *OfficialPage) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialPage) UpdatexField

func (a *OfficialPage) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialPage) UpdatexFields

func (a *OfficialPage) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialPage) Upsert

func (a *OfficialPage) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialPage) Use

func (*OfficialPage) Validate

func (a *OfficialPage) Validate(field string, value interface{}) error

func (*OfficialPage) XObjects

func (a *OfficialPage) XObjects() Slice_OfficialPage

type OfficialPageBlock

type OfficialPageBlock 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"`
	Style       string `db:"style" bson:"style" comment:"区块自定义样式" json:"style" xml:"style"`
	WithItems   string `db:"with_items" bson:"with_items" comment:"包含项目" json:"with_items" xml:"with_items"`
	ItemConfigs string `db:"item_configs" bson:"item_configs" comment:"项目配置" json:"item_configs" xml:"item_configs"`
	Template    string `db:"template" bson:"template" comment:"模版文件" json:"template" xml:"template"`
	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
}

OfficialPageBlock 页面区块

func NewOfficialPageBlock

func NewOfficialPageBlock(ctx echo.Context) *OfficialPageBlock

func (*OfficialPageBlock) AsKV

func (a *OfficialPageBlock) AsKV(keyField string, valueField string, inputRows ...[]*OfficialPageBlock) param.Store

func (*OfficialPageBlock) AsMap

func (a *OfficialPageBlock) AsMap(onlyFields ...string) param.Store

func (*OfficialPageBlock) AsRow

func (a *OfficialPageBlock) AsRow(onlyFields ...string) param.Store

func (*OfficialPageBlock) Base_ added in v0.0.6

func (a *OfficialPageBlock) Base_() factory.Baser

func (*OfficialPageBlock) BatchValidate

func (a *OfficialPageBlock) BatchValidate(kvset map[string]interface{}) error

func (*OfficialPageBlock) CPAFrom

func (a *OfficialPageBlock) CPAFrom(source factory.Model) factory.Model

func (*OfficialPageBlock) ConnID

func (a *OfficialPageBlock) ConnID() int

func (*OfficialPageBlock) Context

func (a *OfficialPageBlock) Context() echo.Context

func (*OfficialPageBlock) Count

func (a *OfficialPageBlock) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialPageBlock) Delete

func (a *OfficialPageBlock) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPageBlock) Deletex

func (a *OfficialPageBlock) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialPageBlock) EventOFF

func (a *OfficialPageBlock) EventOFF(off ...bool) factory.Model

func (*OfficialPageBlock) EventON

func (a *OfficialPageBlock) EventON(on ...bool) factory.Model

func (*OfficialPageBlock) Exists

func (a *OfficialPageBlock) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialPageBlock) FromRow

func (a *OfficialPageBlock) FromRow(row map[string]interface{})

func (*OfficialPageBlock) Get

func (a *OfficialPageBlock) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPageBlock) GroupBy

func (a *OfficialPageBlock) GroupBy(keyField string, inputRows ...[]*OfficialPageBlock) map[string][]*OfficialPageBlock

func (*OfficialPageBlock) InitObjects

func (a *OfficialPageBlock) InitObjects() *[]*OfficialPageBlock

func (*OfficialPageBlock) Insert

func (a *OfficialPageBlock) Insert() (pk interface{}, err error)

func (*OfficialPageBlock) KeyBy

func (a *OfficialPageBlock) KeyBy(keyField string, inputRows ...[]*OfficialPageBlock) map[string]*OfficialPageBlock

func (*OfficialPageBlock) List

func (a *OfficialPageBlock) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialPageBlock) ListByOffset

func (a *OfficialPageBlock) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialPageBlock) ListPage

func (a *OfficialPageBlock) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialPageBlock) ListPageAs

func (a *OfficialPageBlock) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialPageBlock) Name_

func (a *OfficialPageBlock) Name_() string

func (*OfficialPageBlock) Namer

func (a *OfficialPageBlock) Namer() func(factory.Model) string

func (*OfficialPageBlock) New

func (a *OfficialPageBlock) New(structName string, connID ...int) factory.Model

func (*OfficialPageBlock) NewObjects

func (a *OfficialPageBlock) NewObjects() factory.Ranger

func (*OfficialPageBlock) NewParam

func (a *OfficialPageBlock) NewParam() *factory.Param

func (*OfficialPageBlock) Objects

func (a *OfficialPageBlock) Objects() []*OfficialPageBlock

func (*OfficialPageBlock) Param

func (a *OfficialPageBlock) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialPageBlock) Reset

func (*OfficialPageBlock) Set

func (a *OfficialPageBlock) Set(key interface{}, value ...interface{})

func (*OfficialPageBlock) SetConnID

func (a *OfficialPageBlock) SetConnID(connID int) factory.Model

func (*OfficialPageBlock) SetContext

func (a *OfficialPageBlock) SetContext(ctx echo.Context) factory.Model

func (*OfficialPageBlock) SetNamer

func (a *OfficialPageBlock) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialPageBlock) SetParam

func (a *OfficialPageBlock) SetParam(param *factory.Param) factory.Model

func (*OfficialPageBlock) Short_

func (a *OfficialPageBlock) Short_() string

func (*OfficialPageBlock) Struct_

func (a *OfficialPageBlock) Struct_() string

func (*OfficialPageBlock) Trans

func (*OfficialPageBlock) Update

func (a *OfficialPageBlock) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPageBlock) UpdateByFields

func (a *OfficialPageBlock) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialPageBlock) UpdateField

func (a *OfficialPageBlock) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialPageBlock) UpdateFields

func (a *OfficialPageBlock) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialPageBlock) UpdateValues

func (a *OfficialPageBlock) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialPageBlock) Updatex

func (a *OfficialPageBlock) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialPageBlock) UpdatexByFields

func (a *OfficialPageBlock) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialPageBlock) UpdatexField

func (a *OfficialPageBlock) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialPageBlock) UpdatexFields

func (a *OfficialPageBlock) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialPageBlock) Upsert

func (a *OfficialPageBlock) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialPageBlock) Use

func (*OfficialPageBlock) Validate

func (a *OfficialPageBlock) Validate(field string, value interface{}) error

func (*OfficialPageBlock) XObjects

type OfficialPageLayout

type OfficialPageLayout struct {
	Id       uint   `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	BlockId  uint   `db:"block_id" bson:"block_id" comment:"区块ID" json:"block_id" xml:"block_id"`
	PageId   uint   `db:"page_id" bson:"page_id" comment:"页面ID" json:"page_id" xml:"page_id"`
	Configs  string `db:"configs" bson:"configs" comment:"区块在布局中的配置" json:"configs" xml:"configs"`
	Sort     int    `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"`
	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
}

OfficialPageLayout 页面布局所含区块

func NewOfficialPageLayout

func NewOfficialPageLayout(ctx echo.Context) *OfficialPageLayout

func (*OfficialPageLayout) AsKV

func (a *OfficialPageLayout) AsKV(keyField string, valueField string, inputRows ...[]*OfficialPageLayout) param.Store

func (*OfficialPageLayout) AsMap

func (a *OfficialPageLayout) AsMap(onlyFields ...string) param.Store

func (*OfficialPageLayout) AsRow

func (a *OfficialPageLayout) AsRow(onlyFields ...string) param.Store

func (*OfficialPageLayout) Base_ added in v0.0.6

func (a *OfficialPageLayout) Base_() factory.Baser

func (*OfficialPageLayout) BatchValidate

func (a *OfficialPageLayout) BatchValidate(kvset map[string]interface{}) error

func (*OfficialPageLayout) CPAFrom

func (a *OfficialPageLayout) CPAFrom(source factory.Model) factory.Model

func (*OfficialPageLayout) ConnID

func (a *OfficialPageLayout) ConnID() int

func (*OfficialPageLayout) Context

func (a *OfficialPageLayout) Context() echo.Context

func (*OfficialPageLayout) Count

func (a *OfficialPageLayout) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialPageLayout) Delete

func (a *OfficialPageLayout) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPageLayout) Deletex

func (a *OfficialPageLayout) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialPageLayout) EventOFF

func (a *OfficialPageLayout) EventOFF(off ...bool) factory.Model

func (*OfficialPageLayout) EventON

func (a *OfficialPageLayout) EventON(on ...bool) factory.Model

func (*OfficialPageLayout) Exists

func (a *OfficialPageLayout) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialPageLayout) FromRow

func (a *OfficialPageLayout) FromRow(row map[string]interface{})

func (*OfficialPageLayout) Get

func (a *OfficialPageLayout) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPageLayout) GroupBy

func (a *OfficialPageLayout) GroupBy(keyField string, inputRows ...[]*OfficialPageLayout) map[string][]*OfficialPageLayout

func (*OfficialPageLayout) InitObjects

func (a *OfficialPageLayout) InitObjects() *[]*OfficialPageLayout

func (*OfficialPageLayout) Insert

func (a *OfficialPageLayout) Insert() (pk interface{}, err error)

func (*OfficialPageLayout) KeyBy

func (a *OfficialPageLayout) KeyBy(keyField string, inputRows ...[]*OfficialPageLayout) map[string]*OfficialPageLayout

func (*OfficialPageLayout) List

func (a *OfficialPageLayout) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialPageLayout) ListByOffset

func (a *OfficialPageLayout) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialPageLayout) ListPage

func (a *OfficialPageLayout) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialPageLayout) ListPageAs

func (a *OfficialPageLayout) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialPageLayout) Name_

func (a *OfficialPageLayout) Name_() string

func (*OfficialPageLayout) Namer

func (a *OfficialPageLayout) Namer() func(factory.Model) string

func (*OfficialPageLayout) New

func (a *OfficialPageLayout) New(structName string, connID ...int) factory.Model

func (*OfficialPageLayout) NewObjects

func (a *OfficialPageLayout) NewObjects() factory.Ranger

func (*OfficialPageLayout) NewParam

func (a *OfficialPageLayout) NewParam() *factory.Param

func (*OfficialPageLayout) Objects

func (a *OfficialPageLayout) Objects() []*OfficialPageLayout

func (*OfficialPageLayout) Param

func (a *OfficialPageLayout) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialPageLayout) Reset

func (*OfficialPageLayout) Set

func (a *OfficialPageLayout) Set(key interface{}, value ...interface{})

func (*OfficialPageLayout) SetConnID

func (a *OfficialPageLayout) SetConnID(connID int) factory.Model

func (*OfficialPageLayout) SetContext

func (a *OfficialPageLayout) SetContext(ctx echo.Context) factory.Model

func (*OfficialPageLayout) SetNamer

func (a *OfficialPageLayout) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialPageLayout) SetParam

func (a *OfficialPageLayout) SetParam(param *factory.Param) factory.Model

func (*OfficialPageLayout) Short_

func (a *OfficialPageLayout) Short_() string

func (*OfficialPageLayout) Struct_

func (a *OfficialPageLayout) Struct_() string

func (*OfficialPageLayout) Trans

func (*OfficialPageLayout) Update

func (a *OfficialPageLayout) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialPageLayout) UpdateByFields

func (a *OfficialPageLayout) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialPageLayout) UpdateField

func (a *OfficialPageLayout) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialPageLayout) UpdateFields

func (a *OfficialPageLayout) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialPageLayout) UpdateValues

func (a *OfficialPageLayout) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialPageLayout) Updatex

func (a *OfficialPageLayout) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialPageLayout) UpdatexByFields

func (a *OfficialPageLayout) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialPageLayout) UpdatexField

func (a *OfficialPageLayout) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialPageLayout) UpdatexFields

func (a *OfficialPageLayout) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialPageLayout) Upsert

func (a *OfficialPageLayout) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialPageLayout) Use

func (*OfficialPageLayout) Validate

func (a *OfficialPageLayout) Validate(field string, value interface{}) error

func (*OfficialPageLayout) XObjects

type OfficialShortUrl

type OfficialShortUrl struct {
	Id        uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	OwnerId   uint64 `db:"owner_id" bson:"owner_id" comment:"添加者ID" json:"owner_id" xml:"owner_id"`
	OwnerType string `` /* 135-byte string literal not displayed */
	LongUrl   string `db:"long_url" bson:"long_url" comment:"长网址" json:"long_url" xml:"long_url"`
	LongHash  string `db:"long_hash" bson:"long_hash" comment:"长网址MD5值" json:"long_hash" xml:"long_hash"`
	ShortUrl  string `db:"short_url" bson:"short_url" comment:"短网址" json:"short_url" xml:"short_url"`
	DomainId  uint64 `db:"domain_id" bson:"domain_id" comment:"域名ID" json:"domain_id" xml:"domain_id"`
	Visited   uint   `db:"visited" bson:"visited" comment:"最近访问时间" json:"visited" xml:"visited"`
	Visits    uint64 `db:"visits" bson:"visits" comment:"访问次数" json:"visits" xml:"visits"`
	Available string `db:"available" bson:"available" comment:"是否有效" json:"available" xml:"available"`
	Created   uint   `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	Updated   uint   `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"`
	Expired   uint   `db:"expired" bson:"expired" comment:"过期时间(0为不限制)" json:"expired" xml:"expired"`
	Password  string `db:"password" bson:"password" comment:"访问密码md5(空代表无需密码)" json:"password" xml:"password"`
	// contains filtered or unexported fields
}

OfficialShortUrl 创建时间

func NewOfficialShortUrl

func NewOfficialShortUrl(ctx echo.Context) *OfficialShortUrl

func (*OfficialShortUrl) AsKV

func (a *OfficialShortUrl) AsKV(keyField string, valueField string, inputRows ...[]*OfficialShortUrl) param.Store

func (*OfficialShortUrl) AsMap

func (a *OfficialShortUrl) AsMap(onlyFields ...string) param.Store

func (*OfficialShortUrl) AsRow

func (a *OfficialShortUrl) AsRow(onlyFields ...string) param.Store

func (*OfficialShortUrl) Base_ added in v0.0.6

func (a *OfficialShortUrl) Base_() factory.Baser

func (*OfficialShortUrl) BatchValidate

func (a *OfficialShortUrl) BatchValidate(kvset map[string]interface{}) error

func (*OfficialShortUrl) CPAFrom

func (a *OfficialShortUrl) CPAFrom(source factory.Model) factory.Model

func (*OfficialShortUrl) ConnID

func (a *OfficialShortUrl) ConnID() int

func (*OfficialShortUrl) Context

func (a *OfficialShortUrl) Context() echo.Context

func (*OfficialShortUrl) Count

func (a *OfficialShortUrl) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialShortUrl) Delete

func (a *OfficialShortUrl) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrl) Deletex

func (a *OfficialShortUrl) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrl) EventOFF

func (a *OfficialShortUrl) EventOFF(off ...bool) factory.Model

func (*OfficialShortUrl) EventON

func (a *OfficialShortUrl) EventON(on ...bool) factory.Model

func (*OfficialShortUrl) Exists

func (a *OfficialShortUrl) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialShortUrl) FromRow

func (a *OfficialShortUrl) FromRow(row map[string]interface{})

func (*OfficialShortUrl) Get

func (a *OfficialShortUrl) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrl) GroupBy

func (a *OfficialShortUrl) GroupBy(keyField string, inputRows ...[]*OfficialShortUrl) map[string][]*OfficialShortUrl

func (*OfficialShortUrl) InitObjects

func (a *OfficialShortUrl) InitObjects() *[]*OfficialShortUrl

func (*OfficialShortUrl) Insert

func (a *OfficialShortUrl) Insert() (pk interface{}, err error)

func (*OfficialShortUrl) KeyBy

func (a *OfficialShortUrl) KeyBy(keyField string, inputRows ...[]*OfficialShortUrl) map[string]*OfficialShortUrl

func (*OfficialShortUrl) List

func (a *OfficialShortUrl) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialShortUrl) ListByOffset

func (a *OfficialShortUrl) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialShortUrl) ListPage

func (a *OfficialShortUrl) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialShortUrl) ListPageAs

func (a *OfficialShortUrl) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialShortUrl) Name_

func (a *OfficialShortUrl) Name_() string

func (*OfficialShortUrl) Namer

func (a *OfficialShortUrl) Namer() func(factory.Model) string

func (*OfficialShortUrl) New

func (a *OfficialShortUrl) New(structName string, connID ...int) factory.Model

func (*OfficialShortUrl) NewObjects

func (a *OfficialShortUrl) NewObjects() factory.Ranger

func (*OfficialShortUrl) NewParam

func (a *OfficialShortUrl) NewParam() *factory.Param

func (*OfficialShortUrl) Objects

func (a *OfficialShortUrl) Objects() []*OfficialShortUrl

func (*OfficialShortUrl) Param

func (a *OfficialShortUrl) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialShortUrl) Reset

func (a *OfficialShortUrl) Reset() *OfficialShortUrl

func (*OfficialShortUrl) Set

func (a *OfficialShortUrl) Set(key interface{}, value ...interface{})

func (*OfficialShortUrl) SetConnID

func (a *OfficialShortUrl) SetConnID(connID int) factory.Model

func (*OfficialShortUrl) SetContext

func (a *OfficialShortUrl) SetContext(ctx echo.Context) factory.Model

func (*OfficialShortUrl) SetNamer

func (a *OfficialShortUrl) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialShortUrl) SetParam

func (a *OfficialShortUrl) SetParam(param *factory.Param) factory.Model

func (*OfficialShortUrl) Short_

func (a *OfficialShortUrl) Short_() string

func (*OfficialShortUrl) Struct_

func (a *OfficialShortUrl) Struct_() string

func (*OfficialShortUrl) Trans

func (*OfficialShortUrl) Update

func (a *OfficialShortUrl) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrl) UpdateByFields

func (a *OfficialShortUrl) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialShortUrl) UpdateField

func (a *OfficialShortUrl) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialShortUrl) UpdateFields

func (a *OfficialShortUrl) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialShortUrl) UpdateValues

func (a *OfficialShortUrl) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialShortUrl) Updatex

func (a *OfficialShortUrl) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrl) UpdatexByFields

func (a *OfficialShortUrl) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrl) UpdatexField

func (a *OfficialShortUrl) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrl) UpdatexFields

func (a *OfficialShortUrl) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrl) Upsert

func (a *OfficialShortUrl) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialShortUrl) Use

func (*OfficialShortUrl) Validate

func (a *OfficialShortUrl) Validate(field string, value interface{}) error

func (*OfficialShortUrl) XObjects

type OfficialShortUrlDomain

type OfficialShortUrlDomain struct {
	Id        uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"`
	OwnerId   uint64 `db:"owner_id" bson:"owner_id" comment:"所有者客户ID" json:"owner_id" xml:"owner_id"`
	OwnerType string `` /* 135-byte string literal not displayed */
	Domain    string `db:"domain" bson:"domain" comment:"域名" json:"domain" xml:"domain"`
	UrlCount  uint64 `db:"url_count" bson:"url_count" comment:"网址统计" json:"url_count" xml:"url_count"`
	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
}

OfficialShortUrlDomain 短网址域名

func NewOfficialShortUrlDomain

func NewOfficialShortUrlDomain(ctx echo.Context) *OfficialShortUrlDomain

func (*OfficialShortUrlDomain) AsKV

func (a *OfficialShortUrlDomain) AsKV(keyField string, valueField string, inputRows ...[]*OfficialShortUrlDomain) param.Store

func (*OfficialShortUrlDomain) AsMap

func (a *OfficialShortUrlDomain) AsMap(onlyFields ...string) param.Store

func (*OfficialShortUrlDomain) AsRow

func (a *OfficialShortUrlDomain) AsRow(onlyFields ...string) param.Store

func (*OfficialShortUrlDomain) Base_ added in v0.0.6

func (*OfficialShortUrlDomain) BatchValidate

func (a *OfficialShortUrlDomain) BatchValidate(kvset map[string]interface{}) error

func (*OfficialShortUrlDomain) CPAFrom

func (a *OfficialShortUrlDomain) CPAFrom(source factory.Model) factory.Model

func (*OfficialShortUrlDomain) ConnID

func (a *OfficialShortUrlDomain) ConnID() int

func (*OfficialShortUrlDomain) Context

func (a *OfficialShortUrlDomain) Context() echo.Context

func (*OfficialShortUrlDomain) Count

func (a *OfficialShortUrlDomain) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialShortUrlDomain) Delete

func (a *OfficialShortUrlDomain) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrlDomain) Deletex

func (a *OfficialShortUrlDomain) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlDomain) EventOFF

func (a *OfficialShortUrlDomain) EventOFF(off ...bool) factory.Model

func (*OfficialShortUrlDomain) EventON

func (a *OfficialShortUrlDomain) EventON(on ...bool) factory.Model

func (*OfficialShortUrlDomain) Exists

func (a *OfficialShortUrlDomain) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialShortUrlDomain) FromRow

func (a *OfficialShortUrlDomain) FromRow(row map[string]interface{})

func (*OfficialShortUrlDomain) Get

func (a *OfficialShortUrlDomain) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrlDomain) GroupBy

func (a *OfficialShortUrlDomain) GroupBy(keyField string, inputRows ...[]*OfficialShortUrlDomain) map[string][]*OfficialShortUrlDomain

func (*OfficialShortUrlDomain) InitObjects

func (a *OfficialShortUrlDomain) InitObjects() *[]*OfficialShortUrlDomain

func (*OfficialShortUrlDomain) Insert

func (a *OfficialShortUrlDomain) Insert() (pk interface{}, err error)

func (*OfficialShortUrlDomain) KeyBy

func (a *OfficialShortUrlDomain) KeyBy(keyField string, inputRows ...[]*OfficialShortUrlDomain) map[string]*OfficialShortUrlDomain

func (*OfficialShortUrlDomain) List

func (a *OfficialShortUrlDomain) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialShortUrlDomain) ListByOffset

func (a *OfficialShortUrlDomain) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialShortUrlDomain) ListPage

func (a *OfficialShortUrlDomain) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialShortUrlDomain) ListPageAs

func (a *OfficialShortUrlDomain) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialShortUrlDomain) Name_

func (a *OfficialShortUrlDomain) Name_() string

func (*OfficialShortUrlDomain) Namer

func (a *OfficialShortUrlDomain) Namer() func(factory.Model) string

func (*OfficialShortUrlDomain) New

func (a *OfficialShortUrlDomain) New(structName string, connID ...int) factory.Model

func (*OfficialShortUrlDomain) NewObjects

func (a *OfficialShortUrlDomain) NewObjects() factory.Ranger

func (*OfficialShortUrlDomain) NewParam

func (a *OfficialShortUrlDomain) NewParam() *factory.Param

func (*OfficialShortUrlDomain) Objects

func (*OfficialShortUrlDomain) Param

func (a *OfficialShortUrlDomain) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialShortUrlDomain) Reset

func (*OfficialShortUrlDomain) Set

func (a *OfficialShortUrlDomain) Set(key interface{}, value ...interface{})

func (*OfficialShortUrlDomain) SetConnID

func (a *OfficialShortUrlDomain) SetConnID(connID int) factory.Model

func (*OfficialShortUrlDomain) SetContext

func (a *OfficialShortUrlDomain) SetContext(ctx echo.Context) factory.Model

func (*OfficialShortUrlDomain) SetNamer

func (a *OfficialShortUrlDomain) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialShortUrlDomain) SetParam

func (a *OfficialShortUrlDomain) SetParam(param *factory.Param) factory.Model

func (*OfficialShortUrlDomain) Short_

func (a *OfficialShortUrlDomain) Short_() string

func (*OfficialShortUrlDomain) Struct_

func (a *OfficialShortUrlDomain) Struct_() string

func (*OfficialShortUrlDomain) Trans

func (*OfficialShortUrlDomain) Update

func (a *OfficialShortUrlDomain) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrlDomain) UpdateByFields

func (a *OfficialShortUrlDomain) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialShortUrlDomain) UpdateField

func (a *OfficialShortUrlDomain) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialShortUrlDomain) UpdateFields

func (a *OfficialShortUrlDomain) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialShortUrlDomain) UpdateValues

func (a *OfficialShortUrlDomain) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialShortUrlDomain) Updatex

func (a *OfficialShortUrlDomain) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlDomain) UpdatexByFields

func (a *OfficialShortUrlDomain) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlDomain) UpdatexField

func (a *OfficialShortUrlDomain) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlDomain) UpdatexFields

func (a *OfficialShortUrlDomain) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlDomain) Upsert

func (a *OfficialShortUrlDomain) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialShortUrlDomain) Use

func (*OfficialShortUrlDomain) Validate

func (a *OfficialShortUrlDomain) Validate(field string, value interface{}) error

func (*OfficialShortUrlDomain) XObjects

type OfficialShortUrlVisit

type OfficialShortUrlVisit struct {
	OwnerId        uint64 `db:"owner_id" bson:"owner_id" comment:"所有者ID" json:"owner_id" xml:"owner_id"`
	OwnerType      string `` /* 135-byte string literal not displayed */
	UrlId          uint64 `db:"url_id" bson:"url_id" comment:"网址ID" json:"url_id" xml:"url_id"`
	DomainId       uint64 `db:"domain_id" bson:"domain_id" comment:"域名ID" json:"domain_id" xml:"domain_id"`
	Year           uint   `db:"year" bson:"year" comment:"年" json:"year" xml:"year"`
	Month          uint   `db:"month" bson:"month" comment:"月" json:"month" xml:"month"`
	Day            uint   `db:"day" bson:"day" comment:"日" json:"day" xml:"day"`
	Hour           uint   `db:"hour" bson:"hour" comment:"时" json:"hour" xml:"hour"`
	Ip             string `db:"ip" bson:"ip" comment:"IP" json:"ip" xml:"ip"`
	Referer        string `db:"referer" bson:"referer" comment:"来源网址" json:"referer" xml:"referer"`
	Language       string `db:"language" bson:"language" comment:"语言" json:"language" xml:"language"`
	Country        string `db:"country" bson:"country" comment:"国家" json:"country" xml:"country"`
	Region         string `db:"region" bson:"region" comment:"行政区" json:"region" xml:"region"`
	Province       string `db:"province" bson:"province" comment:"省份" json:"province" xml:"province"`
	City           string `db:"city" bson:"city" comment:"城市" json:"city" xml:"city"`
	Isp            string `db:"isp" bson:"isp" comment:"ISP网络" json:"isp" xml:"isp"`
	Os             string `db:"os" bson:"os" comment:"操作系统" json:"os" xml:"os"`
	OsVersion      string `db:"os_version" bson:"os_version" comment:"操作系统版本" json:"os_version" xml:"os_version"`
	Browser        string `db:"browser" bson:"browser" comment:"浏览器" json:"browser" xml:"browser"`
	BrowserVersion string `db:"browser_version" bson:"browser_version" comment:"浏览器版本" json:"browser_version" xml:"browser_version"`
	Created        int    `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"`
	// contains filtered or unexported fields
}

OfficialShortUrlVisit 网址访问日志

func NewOfficialShortUrlVisit

func NewOfficialShortUrlVisit(ctx echo.Context) *OfficialShortUrlVisit

func (*OfficialShortUrlVisit) AsKV

func (a *OfficialShortUrlVisit) AsKV(keyField string, valueField string, inputRows ...[]*OfficialShortUrlVisit) param.Store

func (*OfficialShortUrlVisit) AsMap

func (a *OfficialShortUrlVisit) AsMap(onlyFields ...string) param.Store

func (*OfficialShortUrlVisit) AsRow

func (a *OfficialShortUrlVisit) AsRow(onlyFields ...string) param.Store

func (*OfficialShortUrlVisit) Base_ added in v0.0.6

func (a *OfficialShortUrlVisit) Base_() factory.Baser

func (*OfficialShortUrlVisit) BatchValidate

func (a *OfficialShortUrlVisit) BatchValidate(kvset map[string]interface{}) error

func (*OfficialShortUrlVisit) CPAFrom

func (a *OfficialShortUrlVisit) CPAFrom(source factory.Model) factory.Model

func (*OfficialShortUrlVisit) ConnID

func (a *OfficialShortUrlVisit) ConnID() int

func (*OfficialShortUrlVisit) Context

func (a *OfficialShortUrlVisit) Context() echo.Context

func (*OfficialShortUrlVisit) Count

func (a *OfficialShortUrlVisit) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*OfficialShortUrlVisit) Delete

func (a *OfficialShortUrlVisit) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrlVisit) Deletex

func (a *OfficialShortUrlVisit) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlVisit) EventOFF

func (a *OfficialShortUrlVisit) EventOFF(off ...bool) factory.Model

func (*OfficialShortUrlVisit) EventON

func (a *OfficialShortUrlVisit) EventON(on ...bool) factory.Model

func (*OfficialShortUrlVisit) Exists

func (a *OfficialShortUrlVisit) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)

func (*OfficialShortUrlVisit) FromRow

func (a *OfficialShortUrlVisit) FromRow(row map[string]interface{})

func (*OfficialShortUrlVisit) Get

func (a *OfficialShortUrlVisit) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrlVisit) GroupBy

func (a *OfficialShortUrlVisit) GroupBy(keyField string, inputRows ...[]*OfficialShortUrlVisit) map[string][]*OfficialShortUrlVisit

func (*OfficialShortUrlVisit) InitObjects

func (a *OfficialShortUrlVisit) InitObjects() *[]*OfficialShortUrlVisit

func (*OfficialShortUrlVisit) Insert

func (a *OfficialShortUrlVisit) Insert() (pk interface{}, err error)

func (*OfficialShortUrlVisit) KeyBy

func (a *OfficialShortUrlVisit) KeyBy(keyField string, inputRows ...[]*OfficialShortUrlVisit) map[string]*OfficialShortUrlVisit

func (*OfficialShortUrlVisit) List

func (a *OfficialShortUrlVisit) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*OfficialShortUrlVisit) ListByOffset

func (a *OfficialShortUrlVisit) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*OfficialShortUrlVisit) ListPage

func (a *OfficialShortUrlVisit) ListPage(cond *db.Compounds, sorts ...interface{}) error

func (*OfficialShortUrlVisit) ListPageAs

func (a *OfficialShortUrlVisit) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error

func (*OfficialShortUrlVisit) Name_

func (a *OfficialShortUrlVisit) Name_() string

func (*OfficialShortUrlVisit) Namer

func (a *OfficialShortUrlVisit) Namer() func(factory.Model) string

func (*OfficialShortUrlVisit) New

func (a *OfficialShortUrlVisit) New(structName string, connID ...int) factory.Model

func (*OfficialShortUrlVisit) NewObjects

func (a *OfficialShortUrlVisit) NewObjects() factory.Ranger

func (*OfficialShortUrlVisit) NewParam

func (a *OfficialShortUrlVisit) NewParam() *factory.Param

func (*OfficialShortUrlVisit) Objects

func (*OfficialShortUrlVisit) Param

func (a *OfficialShortUrlVisit) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*OfficialShortUrlVisit) Reset

func (*OfficialShortUrlVisit) Set

func (a *OfficialShortUrlVisit) Set(key interface{}, value ...interface{})

func (*OfficialShortUrlVisit) SetConnID

func (a *OfficialShortUrlVisit) SetConnID(connID int) factory.Model

func (*OfficialShortUrlVisit) SetContext

func (a *OfficialShortUrlVisit) SetContext(ctx echo.Context) factory.Model

func (*OfficialShortUrlVisit) SetNamer

func (a *OfficialShortUrlVisit) SetNamer(namer func(factory.Model) string) factory.Model

func (*OfficialShortUrlVisit) SetParam

func (a *OfficialShortUrlVisit) SetParam(param *factory.Param) factory.Model

func (*OfficialShortUrlVisit) Short_

func (a *OfficialShortUrlVisit) Short_() string

func (*OfficialShortUrlVisit) Struct_

func (a *OfficialShortUrlVisit) Struct_() string

func (*OfficialShortUrlVisit) Trans

func (*OfficialShortUrlVisit) Update

func (a *OfficialShortUrlVisit) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*OfficialShortUrlVisit) UpdateByFields

func (a *OfficialShortUrlVisit) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)

func (*OfficialShortUrlVisit) UpdateField

func (a *OfficialShortUrlVisit) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*OfficialShortUrlVisit) UpdateFields

func (a *OfficialShortUrlVisit) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*OfficialShortUrlVisit) UpdateValues

func (a *OfficialShortUrlVisit) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)

func (*OfficialShortUrlVisit) Updatex

func (a *OfficialShortUrlVisit) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlVisit) UpdatexByFields

func (a *OfficialShortUrlVisit) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlVisit) UpdatexField

func (a *OfficialShortUrlVisit) UpdatexField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlVisit) UpdatexFields

func (a *OfficialShortUrlVisit) UpdatexFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (affected int64, err error)

func (*OfficialShortUrlVisit) Upsert

func (a *OfficialShortUrlVisit) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*OfficialShortUrlVisit) Use

func (*OfficialShortUrlVisit) Validate

func (a *OfficialShortUrlVisit) Validate(field string, value interface{}) error

func (*OfficialShortUrlVisit) XObjects

type Slice_OfficialAdItem

type Slice_OfficialAdItem []*OfficialAdItem

func (Slice_OfficialAdItem) AsKV

func (s Slice_OfficialAdItem) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialAdItem) FromList

func (s Slice_OfficialAdItem) FromList(data interface{}) Slice_OfficialAdItem

func (Slice_OfficialAdItem) GroupBy

func (s Slice_OfficialAdItem) GroupBy(keyField string) map[string][]*OfficialAdItem

func (Slice_OfficialAdItem) KeyBy

func (s Slice_OfficialAdItem) KeyBy(keyField string) map[string]*OfficialAdItem

func (Slice_OfficialAdItem) Range

func (s Slice_OfficialAdItem) Range(fn func(m factory.Model) error) error

func (Slice_OfficialAdItem) RangeRaw

func (s Slice_OfficialAdItem) RangeRaw(fn func(m *OfficialAdItem) error) error

func (Slice_OfficialAdItem) Transform

func (s Slice_OfficialAdItem) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialAdPosition

type Slice_OfficialAdPosition []*OfficialAdPosition

func (Slice_OfficialAdPosition) AsKV

func (s Slice_OfficialAdPosition) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialAdPosition) FromList

func (s Slice_OfficialAdPosition) FromList(data interface{}) Slice_OfficialAdPosition

func (Slice_OfficialAdPosition) GroupBy

func (s Slice_OfficialAdPosition) GroupBy(keyField string) map[string][]*OfficialAdPosition

func (Slice_OfficialAdPosition) KeyBy

func (Slice_OfficialAdPosition) Range

func (s Slice_OfficialAdPosition) Range(fn func(m factory.Model) error) error

func (Slice_OfficialAdPosition) RangeRaw

func (s Slice_OfficialAdPosition) RangeRaw(fn func(m *OfficialAdPosition) error) error

func (Slice_OfficialAdPosition) Transform

func (s Slice_OfficialAdPosition) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialAdPublisher

type Slice_OfficialAdPublisher []*OfficialAdPublisher

func (Slice_OfficialAdPublisher) AsKV

func (s Slice_OfficialAdPublisher) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialAdPublisher) FromList

func (s Slice_OfficialAdPublisher) FromList(data interface{}) Slice_OfficialAdPublisher

func (Slice_OfficialAdPublisher) GroupBy

func (s Slice_OfficialAdPublisher) GroupBy(keyField string) map[string][]*OfficialAdPublisher

func (Slice_OfficialAdPublisher) KeyBy

func (Slice_OfficialAdPublisher) Range

func (s Slice_OfficialAdPublisher) Range(fn func(m factory.Model) error) error

func (Slice_OfficialAdPublisher) RangeRaw

func (s Slice_OfficialAdPublisher) RangeRaw(fn func(m *OfficialAdPublisher) error) error

func (Slice_OfficialAdPublisher) Transform

func (s Slice_OfficialAdPublisher) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialAdSettings

type Slice_OfficialAdSettings []*OfficialAdSettings

func (Slice_OfficialAdSettings) AsKV

func (s Slice_OfficialAdSettings) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialAdSettings) FromList

func (s Slice_OfficialAdSettings) FromList(data interface{}) Slice_OfficialAdSettings

func (Slice_OfficialAdSettings) GroupBy

func (s Slice_OfficialAdSettings) GroupBy(keyField string) map[string][]*OfficialAdSettings

func (Slice_OfficialAdSettings) KeyBy

func (Slice_OfficialAdSettings) Range

func (s Slice_OfficialAdSettings) Range(fn func(m factory.Model) error) error

func (Slice_OfficialAdSettings) RangeRaw

func (s Slice_OfficialAdSettings) RangeRaw(fn func(m *OfficialAdSettings) error) error

func (Slice_OfficialAdSettings) Transform

func (s Slice_OfficialAdSettings) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonApiAccount

type Slice_OfficialCommonApiAccount []*OfficialCommonApiAccount

func (Slice_OfficialCommonApiAccount) AsKV

func (s Slice_OfficialCommonApiAccount) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonApiAccount) FromList

func (Slice_OfficialCommonApiAccount) GroupBy

func (Slice_OfficialCommonApiAccount) KeyBy

func (Slice_OfficialCommonApiAccount) Range

func (Slice_OfficialCommonApiAccount) RangeRaw

func (Slice_OfficialCommonApiAccount) Transform

func (s Slice_OfficialCommonApiAccount) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonArea

type Slice_OfficialCommonArea []*OfficialCommonArea

func (Slice_OfficialCommonArea) AsKV

func (s Slice_OfficialCommonArea) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonArea) FromList

func (s Slice_OfficialCommonArea) FromList(data interface{}) Slice_OfficialCommonArea

func (Slice_OfficialCommonArea) GroupBy

func (s Slice_OfficialCommonArea) GroupBy(keyField string) map[string][]*OfficialCommonArea

func (Slice_OfficialCommonArea) KeyBy

func (Slice_OfficialCommonArea) Range

func (s Slice_OfficialCommonArea) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCommonArea) RangeRaw

func (s Slice_OfficialCommonArea) RangeRaw(fn func(m *OfficialCommonArea) error) error

func (Slice_OfficialCommonArea) Transform

func (s Slice_OfficialCommonArea) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonAreaGroup

type Slice_OfficialCommonAreaGroup []*OfficialCommonAreaGroup

func (Slice_OfficialCommonAreaGroup) AsKV

func (s Slice_OfficialCommonAreaGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonAreaGroup) FromList

func (s Slice_OfficialCommonAreaGroup) FromList(data interface{}) Slice_OfficialCommonAreaGroup

func (Slice_OfficialCommonAreaGroup) GroupBy

func (Slice_OfficialCommonAreaGroup) KeyBy

func (Slice_OfficialCommonAreaGroup) Range

func (Slice_OfficialCommonAreaGroup) RangeRaw

func (Slice_OfficialCommonAreaGroup) Transform

func (s Slice_OfficialCommonAreaGroup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonArticle

type Slice_OfficialCommonArticle []*OfficialCommonArticle

func (Slice_OfficialCommonArticle) AsKV

func (s Slice_OfficialCommonArticle) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonArticle) FromList

func (s Slice_OfficialCommonArticle) FromList(data interface{}) Slice_OfficialCommonArticle

func (Slice_OfficialCommonArticle) GroupBy

func (Slice_OfficialCommonArticle) KeyBy

func (Slice_OfficialCommonArticle) Range

func (s Slice_OfficialCommonArticle) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCommonArticle) RangeRaw

func (Slice_OfficialCommonArticle) Transform

func (s Slice_OfficialCommonArticle) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonCategory

type Slice_OfficialCommonCategory []*OfficialCommonCategory

func (Slice_OfficialCommonCategory) AsKV

func (s Slice_OfficialCommonCategory) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonCategory) FromList

func (s Slice_OfficialCommonCategory) FromList(data interface{}) Slice_OfficialCommonCategory

func (Slice_OfficialCommonCategory) GroupBy

func (Slice_OfficialCommonCategory) KeyBy

func (Slice_OfficialCommonCategory) Range

func (Slice_OfficialCommonCategory) RangeRaw

func (Slice_OfficialCommonCategory) Transform

func (s Slice_OfficialCommonCategory) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonClickFlow

type Slice_OfficialCommonClickFlow []*OfficialCommonClickFlow

func (Slice_OfficialCommonClickFlow) AsKV

func (s Slice_OfficialCommonClickFlow) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonClickFlow) FromList

func (s Slice_OfficialCommonClickFlow) FromList(data interface{}) Slice_OfficialCommonClickFlow

func (Slice_OfficialCommonClickFlow) GroupBy

func (Slice_OfficialCommonClickFlow) KeyBy

func (Slice_OfficialCommonClickFlow) Range

func (Slice_OfficialCommonClickFlow) RangeRaw

func (Slice_OfficialCommonClickFlow) Transform

func (s Slice_OfficialCommonClickFlow) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonComment

type Slice_OfficialCommonComment []*OfficialCommonComment

func (Slice_OfficialCommonComment) AsKV

func (s Slice_OfficialCommonComment) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonComment) FromList

func (s Slice_OfficialCommonComment) FromList(data interface{}) Slice_OfficialCommonComment

func (Slice_OfficialCommonComment) GroupBy

func (Slice_OfficialCommonComment) KeyBy

func (Slice_OfficialCommonComment) Range

func (s Slice_OfficialCommonComment) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCommonComment) RangeRaw

func (Slice_OfficialCommonComment) Transform

func (s Slice_OfficialCommonComment) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonComplaint

type Slice_OfficialCommonComplaint []*OfficialCommonComplaint

func (Slice_OfficialCommonComplaint) AsKV

func (s Slice_OfficialCommonComplaint) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonComplaint) FromList

func (s Slice_OfficialCommonComplaint) FromList(data interface{}) Slice_OfficialCommonComplaint

func (Slice_OfficialCommonComplaint) GroupBy

func (Slice_OfficialCommonComplaint) KeyBy

func (Slice_OfficialCommonComplaint) Range

func (Slice_OfficialCommonComplaint) RangeRaw

func (Slice_OfficialCommonComplaint) Transform

func (s Slice_OfficialCommonComplaint) Transform(transfers map[string]param.Transfer) []param.Store
type Slice_OfficialCommonFriendlink []*OfficialCommonFriendlink

func (Slice_OfficialCommonFriendlink) AsKV

func (s Slice_OfficialCommonFriendlink) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonFriendlink) FromList

func (Slice_OfficialCommonFriendlink) GroupBy

func (Slice_OfficialCommonFriendlink) KeyBy

func (Slice_OfficialCommonFriendlink) Range

func (Slice_OfficialCommonFriendlink) RangeRaw

func (Slice_OfficialCommonFriendlink) Transform

func (s Slice_OfficialCommonFriendlink) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonGroup

type Slice_OfficialCommonGroup []*OfficialCommonGroup

func (Slice_OfficialCommonGroup) AsKV

func (s Slice_OfficialCommonGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonGroup) FromList

func (s Slice_OfficialCommonGroup) FromList(data interface{}) Slice_OfficialCommonGroup

func (Slice_OfficialCommonGroup) GroupBy

func (s Slice_OfficialCommonGroup) GroupBy(keyField string) map[string][]*OfficialCommonGroup

func (Slice_OfficialCommonGroup) KeyBy

func (Slice_OfficialCommonGroup) Range

func (s Slice_OfficialCommonGroup) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCommonGroup) RangeRaw

func (s Slice_OfficialCommonGroup) RangeRaw(fn func(m *OfficialCommonGroup) error) error

func (Slice_OfficialCommonGroup) Transform

func (s Slice_OfficialCommonGroup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonMessage

type Slice_OfficialCommonMessage []*OfficialCommonMessage

func (Slice_OfficialCommonMessage) AsKV

func (s Slice_OfficialCommonMessage) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonMessage) FromList

func (s Slice_OfficialCommonMessage) FromList(data interface{}) Slice_OfficialCommonMessage

func (Slice_OfficialCommonMessage) GroupBy

func (Slice_OfficialCommonMessage) KeyBy

func (Slice_OfficialCommonMessage) Range

func (s Slice_OfficialCommonMessage) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCommonMessage) RangeRaw

func (Slice_OfficialCommonMessage) Transform

func (s Slice_OfficialCommonMessage) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonMessageViewed

type Slice_OfficialCommonMessageViewed []*OfficialCommonMessageViewed

func (Slice_OfficialCommonMessageViewed) AsKV

func (s Slice_OfficialCommonMessageViewed) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonMessageViewed) FromList

func (Slice_OfficialCommonMessageViewed) GroupBy

func (Slice_OfficialCommonMessageViewed) KeyBy

func (Slice_OfficialCommonMessageViewed) Range

func (Slice_OfficialCommonMessageViewed) RangeRaw

func (Slice_OfficialCommonMessageViewed) Transform

func (s Slice_OfficialCommonMessageViewed) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonNavigate

type Slice_OfficialCommonNavigate []*OfficialCommonNavigate

func (Slice_OfficialCommonNavigate) AsKV

func (s Slice_OfficialCommonNavigate) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonNavigate) FromList

func (s Slice_OfficialCommonNavigate) FromList(data interface{}) Slice_OfficialCommonNavigate

func (Slice_OfficialCommonNavigate) GroupBy

func (Slice_OfficialCommonNavigate) KeyBy

func (Slice_OfficialCommonNavigate) Range

func (Slice_OfficialCommonNavigate) RangeRaw

func (Slice_OfficialCommonNavigate) Transform

func (s Slice_OfficialCommonNavigate) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonRemark

type Slice_OfficialCommonRemark []*OfficialCommonRemark

func (Slice_OfficialCommonRemark) AsKV

func (s Slice_OfficialCommonRemark) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonRemark) FromList

func (s Slice_OfficialCommonRemark) FromList(data interface{}) Slice_OfficialCommonRemark

func (Slice_OfficialCommonRemark) GroupBy

func (s Slice_OfficialCommonRemark) GroupBy(keyField string) map[string][]*OfficialCommonRemark

func (Slice_OfficialCommonRemark) KeyBy

func (Slice_OfficialCommonRemark) Range

func (s Slice_OfficialCommonRemark) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCommonRemark) RangeRaw

func (Slice_OfficialCommonRemark) Transform

func (s Slice_OfficialCommonRemark) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonRoutePage

type Slice_OfficialCommonRoutePage []*OfficialCommonRoutePage

func (Slice_OfficialCommonRoutePage) AsKV

func (s Slice_OfficialCommonRoutePage) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonRoutePage) FromList

func (s Slice_OfficialCommonRoutePage) FromList(data interface{}) Slice_OfficialCommonRoutePage

func (Slice_OfficialCommonRoutePage) GroupBy

func (Slice_OfficialCommonRoutePage) KeyBy

func (Slice_OfficialCommonRoutePage) Range

func (Slice_OfficialCommonRoutePage) RangeRaw

func (Slice_OfficialCommonRoutePage) Transform

func (s Slice_OfficialCommonRoutePage) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonSensitive

type Slice_OfficialCommonSensitive []*OfficialCommonSensitive

func (Slice_OfficialCommonSensitive) AsKV

func (s Slice_OfficialCommonSensitive) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonSensitive) FromList

func (s Slice_OfficialCommonSensitive) FromList(data interface{}) Slice_OfficialCommonSensitive

func (Slice_OfficialCommonSensitive) GroupBy

func (Slice_OfficialCommonSensitive) KeyBy

func (Slice_OfficialCommonSensitive) Range

func (Slice_OfficialCommonSensitive) RangeRaw

func (Slice_OfficialCommonSensitive) Transform

func (s Slice_OfficialCommonSensitive) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCommonTags

type Slice_OfficialCommonTags []*OfficialCommonTags

func (Slice_OfficialCommonTags) AsKV

func (s Slice_OfficialCommonTags) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCommonTags) FromList

func (s Slice_OfficialCommonTags) FromList(data interface{}) Slice_OfficialCommonTags

func (Slice_OfficialCommonTags) GroupBy

func (s Slice_OfficialCommonTags) GroupBy(keyField string) map[string][]*OfficialCommonTags

func (Slice_OfficialCommonTags) KeyBy

func (Slice_OfficialCommonTags) Range

func (s Slice_OfficialCommonTags) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCommonTags) RangeRaw

func (s Slice_OfficialCommonTags) RangeRaw(fn func(m *OfficialCommonTags) error) error

func (Slice_OfficialCommonTags) Transform

func (s Slice_OfficialCommonTags) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomer

type Slice_OfficialCustomer []*OfficialCustomer

func (Slice_OfficialCustomer) AsKV

func (s Slice_OfficialCustomer) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomer) FromList

func (s Slice_OfficialCustomer) FromList(data interface{}) Slice_OfficialCustomer

func (Slice_OfficialCustomer) GroupBy

func (s Slice_OfficialCustomer) GroupBy(keyField string) map[string][]*OfficialCustomer

func (Slice_OfficialCustomer) KeyBy

func (s Slice_OfficialCustomer) KeyBy(keyField string) map[string]*OfficialCustomer

func (Slice_OfficialCustomer) Range

func (s Slice_OfficialCustomer) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCustomer) RangeRaw

func (s Slice_OfficialCustomer) RangeRaw(fn func(m *OfficialCustomer) error) error

func (Slice_OfficialCustomer) Transform

func (s Slice_OfficialCustomer) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerAgentLevel

type Slice_OfficialCustomerAgentLevel []*OfficialCustomerAgentLevel

func (Slice_OfficialCustomerAgentLevel) AsKV

func (s Slice_OfficialCustomerAgentLevel) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerAgentLevel) FromList

func (Slice_OfficialCustomerAgentLevel) GroupBy

func (Slice_OfficialCustomerAgentLevel) KeyBy

func (Slice_OfficialCustomerAgentLevel) Range

func (Slice_OfficialCustomerAgentLevel) RangeRaw

func (Slice_OfficialCustomerAgentLevel) Transform

func (s Slice_OfficialCustomerAgentLevel) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerAgentProduct

type Slice_OfficialCustomerAgentProduct []*OfficialCustomerAgentProduct

func (Slice_OfficialCustomerAgentProduct) AsKV

func (s Slice_OfficialCustomerAgentProduct) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerAgentProduct) FromList

func (Slice_OfficialCustomerAgentProduct) GroupBy

func (Slice_OfficialCustomerAgentProduct) KeyBy

func (Slice_OfficialCustomerAgentProduct) Range

func (Slice_OfficialCustomerAgentProduct) RangeRaw

func (Slice_OfficialCustomerAgentProduct) Transform

func (s Slice_OfficialCustomerAgentProduct) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerAgentProfile

type Slice_OfficialCustomerAgentProfile []*OfficialCustomerAgentProfile

func (Slice_OfficialCustomerAgentProfile) AsKV

func (s Slice_OfficialCustomerAgentProfile) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerAgentProfile) FromList

func (Slice_OfficialCustomerAgentProfile) GroupBy

func (Slice_OfficialCustomerAgentProfile) KeyBy

func (Slice_OfficialCustomerAgentProfile) Range

func (Slice_OfficialCustomerAgentProfile) RangeRaw

func (Slice_OfficialCustomerAgentProfile) Transform

func (s Slice_OfficialCustomerAgentProfile) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerAgentRecv

type Slice_OfficialCustomerAgentRecv []*OfficialCustomerAgentRecv

func (Slice_OfficialCustomerAgentRecv) AsKV

func (s Slice_OfficialCustomerAgentRecv) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerAgentRecv) FromList

func (Slice_OfficialCustomerAgentRecv) GroupBy

func (Slice_OfficialCustomerAgentRecv) KeyBy

func (Slice_OfficialCustomerAgentRecv) Range

func (Slice_OfficialCustomerAgentRecv) RangeRaw

func (Slice_OfficialCustomerAgentRecv) Transform

func (s Slice_OfficialCustomerAgentRecv) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerCounter

type Slice_OfficialCustomerCounter []*OfficialCustomerCounter

func (Slice_OfficialCustomerCounter) AsKV

func (s Slice_OfficialCustomerCounter) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerCounter) FromList

func (s Slice_OfficialCustomerCounter) FromList(data interface{}) Slice_OfficialCustomerCounter

func (Slice_OfficialCustomerCounter) GroupBy

func (Slice_OfficialCustomerCounter) KeyBy

func (Slice_OfficialCustomerCounter) Range

func (Slice_OfficialCustomerCounter) RangeRaw

func (Slice_OfficialCustomerCounter) Transform

func (s Slice_OfficialCustomerCounter) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerDevice

type Slice_OfficialCustomerDevice []*OfficialCustomerDevice

func (Slice_OfficialCustomerDevice) AsKV

func (s Slice_OfficialCustomerDevice) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerDevice) FromList

func (s Slice_OfficialCustomerDevice) FromList(data interface{}) Slice_OfficialCustomerDevice

func (Slice_OfficialCustomerDevice) GroupBy

func (Slice_OfficialCustomerDevice) KeyBy

func (Slice_OfficialCustomerDevice) Range

func (Slice_OfficialCustomerDevice) RangeRaw

func (Slice_OfficialCustomerDevice) Transform

func (s Slice_OfficialCustomerDevice) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerFollowing

type Slice_OfficialCustomerFollowing []*OfficialCustomerFollowing

func (Slice_OfficialCustomerFollowing) AsKV

func (s Slice_OfficialCustomerFollowing) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerFollowing) FromList

func (Slice_OfficialCustomerFollowing) GroupBy

func (Slice_OfficialCustomerFollowing) KeyBy

func (Slice_OfficialCustomerFollowing) Range

func (Slice_OfficialCustomerFollowing) RangeRaw

func (Slice_OfficialCustomerFollowing) Transform

func (s Slice_OfficialCustomerFollowing) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerInvitation

type Slice_OfficialCustomerInvitation []*OfficialCustomerInvitation

func (Slice_OfficialCustomerInvitation) AsKV

func (s Slice_OfficialCustomerInvitation) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerInvitation) FromList

func (Slice_OfficialCustomerInvitation) GroupBy

func (Slice_OfficialCustomerInvitation) KeyBy

func (Slice_OfficialCustomerInvitation) Range

func (Slice_OfficialCustomerInvitation) RangeRaw

func (Slice_OfficialCustomerInvitation) Transform

func (s Slice_OfficialCustomerInvitation) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerInvitationUsed

type Slice_OfficialCustomerInvitationUsed []*OfficialCustomerInvitationUsed

func (Slice_OfficialCustomerInvitationUsed) AsKV

func (s Slice_OfficialCustomerInvitationUsed) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerInvitationUsed) FromList

func (Slice_OfficialCustomerInvitationUsed) GroupBy

func (Slice_OfficialCustomerInvitationUsed) KeyBy

func (Slice_OfficialCustomerInvitationUsed) Range

func (Slice_OfficialCustomerInvitationUsed) RangeRaw

func (Slice_OfficialCustomerInvitationUsed) Transform

type Slice_OfficialCustomerLevel

type Slice_OfficialCustomerLevel []*OfficialCustomerLevel

func (Slice_OfficialCustomerLevel) AsKV

func (s Slice_OfficialCustomerLevel) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerLevel) FromList

func (s Slice_OfficialCustomerLevel) FromList(data interface{}) Slice_OfficialCustomerLevel

func (Slice_OfficialCustomerLevel) GroupBy

func (Slice_OfficialCustomerLevel) KeyBy

func (Slice_OfficialCustomerLevel) Range

func (s Slice_OfficialCustomerLevel) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCustomerLevel) RangeRaw

func (Slice_OfficialCustomerLevel) Transform

func (s Slice_OfficialCustomerLevel) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerLevelRelation

type Slice_OfficialCustomerLevelRelation []*OfficialCustomerLevelRelation

func (Slice_OfficialCustomerLevelRelation) AsKV

func (s Slice_OfficialCustomerLevelRelation) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerLevelRelation) FromList

func (Slice_OfficialCustomerLevelRelation) GroupBy

func (Slice_OfficialCustomerLevelRelation) KeyBy

func (Slice_OfficialCustomerLevelRelation) Range

func (Slice_OfficialCustomerLevelRelation) RangeRaw

func (Slice_OfficialCustomerLevelRelation) Transform

func (s Slice_OfficialCustomerLevelRelation) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerOauth

type Slice_OfficialCustomerOauth []*OfficialCustomerOauth

func (Slice_OfficialCustomerOauth) AsKV

func (s Slice_OfficialCustomerOauth) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerOauth) FromList

func (s Slice_OfficialCustomerOauth) FromList(data interface{}) Slice_OfficialCustomerOauth

func (Slice_OfficialCustomerOauth) GroupBy

func (Slice_OfficialCustomerOauth) KeyBy

func (Slice_OfficialCustomerOauth) Range

func (s Slice_OfficialCustomerOauth) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCustomerOauth) RangeRaw

func (Slice_OfficialCustomerOauth) Transform

func (s Slice_OfficialCustomerOauth) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerPrepaidCard

type Slice_OfficialCustomerPrepaidCard []*OfficialCustomerPrepaidCard

func (Slice_OfficialCustomerPrepaidCard) AsKV

func (s Slice_OfficialCustomerPrepaidCard) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerPrepaidCard) FromList

func (Slice_OfficialCustomerPrepaidCard) GroupBy

func (Slice_OfficialCustomerPrepaidCard) KeyBy

func (Slice_OfficialCustomerPrepaidCard) Range

func (Slice_OfficialCustomerPrepaidCard) RangeRaw

func (Slice_OfficialCustomerPrepaidCard) Transform

func (s Slice_OfficialCustomerPrepaidCard) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerRole

type Slice_OfficialCustomerRole []*OfficialCustomerRole

func (Slice_OfficialCustomerRole) AsKV

func (s Slice_OfficialCustomerRole) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerRole) FromList

func (s Slice_OfficialCustomerRole) FromList(data interface{}) Slice_OfficialCustomerRole

func (Slice_OfficialCustomerRole) GroupBy

func (s Slice_OfficialCustomerRole) GroupBy(keyField string) map[string][]*OfficialCustomerRole

func (Slice_OfficialCustomerRole) KeyBy

func (Slice_OfficialCustomerRole) Range

func (s Slice_OfficialCustomerRole) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCustomerRole) RangeRaw

func (Slice_OfficialCustomerRole) Transform

func (s Slice_OfficialCustomerRole) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerRolePermission

type Slice_OfficialCustomerRolePermission []*OfficialCustomerRolePermission

func (Slice_OfficialCustomerRolePermission) AsKV

func (s Slice_OfficialCustomerRolePermission) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerRolePermission) FromList

func (Slice_OfficialCustomerRolePermission) GroupBy

func (Slice_OfficialCustomerRolePermission) KeyBy

func (Slice_OfficialCustomerRolePermission) Range

func (Slice_OfficialCustomerRolePermission) RangeRaw

func (Slice_OfficialCustomerRolePermission) Transform

type Slice_OfficialCustomerU2f

type Slice_OfficialCustomerU2f []*OfficialCustomerU2f

func (Slice_OfficialCustomerU2f) AsKV

func (s Slice_OfficialCustomerU2f) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerU2f) FromList

func (s Slice_OfficialCustomerU2f) FromList(data interface{}) Slice_OfficialCustomerU2f

func (Slice_OfficialCustomerU2f) GroupBy

func (s Slice_OfficialCustomerU2f) GroupBy(keyField string) map[string][]*OfficialCustomerU2f

func (Slice_OfficialCustomerU2f) KeyBy

func (Slice_OfficialCustomerU2f) Range

func (s Slice_OfficialCustomerU2f) Range(fn func(m factory.Model) error) error

func (Slice_OfficialCustomerU2f) RangeRaw

func (s Slice_OfficialCustomerU2f) RangeRaw(fn func(m *OfficialCustomerU2f) error) error

func (Slice_OfficialCustomerU2f) Transform

func (s Slice_OfficialCustomerU2f) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerWallet

type Slice_OfficialCustomerWallet []*OfficialCustomerWallet

func (Slice_OfficialCustomerWallet) AsKV

func (s Slice_OfficialCustomerWallet) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerWallet) FromList

func (s Slice_OfficialCustomerWallet) FromList(data interface{}) Slice_OfficialCustomerWallet

func (Slice_OfficialCustomerWallet) GroupBy

func (Slice_OfficialCustomerWallet) KeyBy

func (Slice_OfficialCustomerWallet) Range

func (Slice_OfficialCustomerWallet) RangeRaw

func (Slice_OfficialCustomerWallet) Transform

func (s Slice_OfficialCustomerWallet) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialCustomerWalletFlow

type Slice_OfficialCustomerWalletFlow []*OfficialCustomerWalletFlow

func (Slice_OfficialCustomerWalletFlow) AsKV

func (s Slice_OfficialCustomerWalletFlow) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialCustomerWalletFlow) FromList

func (Slice_OfficialCustomerWalletFlow) GroupBy

func (Slice_OfficialCustomerWalletFlow) KeyBy

func (Slice_OfficialCustomerWalletFlow) Range

func (Slice_OfficialCustomerWalletFlow) RangeRaw

func (Slice_OfficialCustomerWalletFlow) Transform

func (s Slice_OfficialCustomerWalletFlow) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialPage

type Slice_OfficialPage []*OfficialPage

func (Slice_OfficialPage) AsKV

func (s Slice_OfficialPage) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialPage) FromList

func (s Slice_OfficialPage) FromList(data interface{}) Slice_OfficialPage

func (Slice_OfficialPage) GroupBy

func (s Slice_OfficialPage) GroupBy(keyField string) map[string][]*OfficialPage

func (Slice_OfficialPage) KeyBy

func (s Slice_OfficialPage) KeyBy(keyField string) map[string]*OfficialPage

func (Slice_OfficialPage) Range

func (s Slice_OfficialPage) Range(fn func(m factory.Model) error) error

func (Slice_OfficialPage) RangeRaw

func (s Slice_OfficialPage) RangeRaw(fn func(m *OfficialPage) error) error

func (Slice_OfficialPage) Transform

func (s Slice_OfficialPage) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialPageBlock

type Slice_OfficialPageBlock []*OfficialPageBlock

func (Slice_OfficialPageBlock) AsKV

func (s Slice_OfficialPageBlock) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialPageBlock) FromList

func (s Slice_OfficialPageBlock) FromList(data interface{}) Slice_OfficialPageBlock

func (Slice_OfficialPageBlock) GroupBy

func (s Slice_OfficialPageBlock) GroupBy(keyField string) map[string][]*OfficialPageBlock

func (Slice_OfficialPageBlock) KeyBy

func (s Slice_OfficialPageBlock) KeyBy(keyField string) map[string]*OfficialPageBlock

func (Slice_OfficialPageBlock) Range

func (s Slice_OfficialPageBlock) Range(fn func(m factory.Model) error) error

func (Slice_OfficialPageBlock) RangeRaw

func (s Slice_OfficialPageBlock) RangeRaw(fn func(m *OfficialPageBlock) error) error

func (Slice_OfficialPageBlock) Transform

func (s Slice_OfficialPageBlock) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialPageLayout

type Slice_OfficialPageLayout []*OfficialPageLayout

func (Slice_OfficialPageLayout) AsKV

func (s Slice_OfficialPageLayout) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialPageLayout) FromList

func (s Slice_OfficialPageLayout) FromList(data interface{}) Slice_OfficialPageLayout

func (Slice_OfficialPageLayout) GroupBy

func (s Slice_OfficialPageLayout) GroupBy(keyField string) map[string][]*OfficialPageLayout

func (Slice_OfficialPageLayout) KeyBy

func (Slice_OfficialPageLayout) Range

func (s Slice_OfficialPageLayout) Range(fn func(m factory.Model) error) error

func (Slice_OfficialPageLayout) RangeRaw

func (s Slice_OfficialPageLayout) RangeRaw(fn func(m *OfficialPageLayout) error) error

func (Slice_OfficialPageLayout) Transform

func (s Slice_OfficialPageLayout) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialShortUrl

type Slice_OfficialShortUrl []*OfficialShortUrl

func (Slice_OfficialShortUrl) AsKV

func (s Slice_OfficialShortUrl) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialShortUrl) FromList

func (s Slice_OfficialShortUrl) FromList(data interface{}) Slice_OfficialShortUrl

func (Slice_OfficialShortUrl) GroupBy

func (s Slice_OfficialShortUrl) GroupBy(keyField string) map[string][]*OfficialShortUrl

func (Slice_OfficialShortUrl) KeyBy

func (s Slice_OfficialShortUrl) KeyBy(keyField string) map[string]*OfficialShortUrl

func (Slice_OfficialShortUrl) Range

func (s Slice_OfficialShortUrl) Range(fn func(m factory.Model) error) error

func (Slice_OfficialShortUrl) RangeRaw

func (s Slice_OfficialShortUrl) RangeRaw(fn func(m *OfficialShortUrl) error) error

func (Slice_OfficialShortUrl) Transform

func (s Slice_OfficialShortUrl) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialShortUrlDomain

type Slice_OfficialShortUrlDomain []*OfficialShortUrlDomain

func (Slice_OfficialShortUrlDomain) AsKV

func (s Slice_OfficialShortUrlDomain) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialShortUrlDomain) FromList

func (s Slice_OfficialShortUrlDomain) FromList(data interface{}) Slice_OfficialShortUrlDomain

func (Slice_OfficialShortUrlDomain) GroupBy

func (Slice_OfficialShortUrlDomain) KeyBy

func (Slice_OfficialShortUrlDomain) Range

func (Slice_OfficialShortUrlDomain) RangeRaw

func (Slice_OfficialShortUrlDomain) Transform

func (s Slice_OfficialShortUrlDomain) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_OfficialShortUrlVisit

type Slice_OfficialShortUrlVisit []*OfficialShortUrlVisit

func (Slice_OfficialShortUrlVisit) AsKV

func (s Slice_OfficialShortUrlVisit) AsKV(keyField string, valueField string) param.Store

func (Slice_OfficialShortUrlVisit) FromList

func (s Slice_OfficialShortUrlVisit) FromList(data interface{}) Slice_OfficialShortUrlVisit

func (Slice_OfficialShortUrlVisit) GroupBy

func (Slice_OfficialShortUrlVisit) KeyBy

func (Slice_OfficialShortUrlVisit) Range

func (s Slice_OfficialShortUrlVisit) Range(fn func(m factory.Model) error) error

func (Slice_OfficialShortUrlVisit) RangeRaw

func (Slice_OfficialShortUrlVisit) Transform

func (s Slice_OfficialShortUrlVisit) 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