dmltestgenerated

package
v0.0.0-...-581c8d3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2020 License: Apache-2.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	TableNameCatalogProductIndexEAVDecimalIDX = "catalog_product_index_eav_decimal_idx"
	TableNameCoreConfiguration                = "core_configuration"
	TableNameCustomerAddressEntity            = "customer_address_entity"
	TableNameCustomerEntity                   = "customer_entity"
	TableNameDmlgenTypes                      = "dmlgen_types"
	TableNameSalesOrderStatusState            = "sales_order_status_state"
	TableNameViewCustomerAutoIncrement        = "view_customer_auto_increment"
	TableNameViewCustomerNoAutoIncrement      = "view_customer_no_auto_increment"
)

Variables

View Source
var (
	ErrInvalidLengthOutputGen        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOutputGen          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOutputGen = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type CatalogProductIndexEAVDecimalIDX

type CatalogProductIndexEAVDecimalIDX struct {
	EntityID    uint32       // entity_id int(10) unsigned NOT NULL PRI   "Entity ID"
	AttributeID uint32       // attribute_id smallint(5) unsigned NOT NULL PRI   "Attribute ID"
	StoreID     uint32       // store_id smallint(5) unsigned NOT NULL PRI   "Store ID"
	SourceID    uint32       // source_id int(10) unsigned NOT NULL PRI DEFAULT '0'  "Original entity Id for attribute value"
	Value       null.Decimal // value decimal(12,4) NOT NULL MUL   "Value"
}

CatalogProductIndexEAVDecimalIDX represents a single row for DB table catalog_product_index_eav_decimal_idx. Auto generated. Table comment: Catalog Product EAV Decimal Indexer Index Table

func (*CatalogProductIndexEAVDecimalIDX) Copy

Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards

func (*CatalogProductIndexEAVDecimalIDX) Delete

func (e *CatalogProductIndexEAVDecimalIDX) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CatalogProductIndexEAVDecimalIDX) Descriptor

func (*CatalogProductIndexEAVDecimalIDX) Descriptor() ([]byte, []int)

func (*CatalogProductIndexEAVDecimalIDX) Empty

Empty empties all the fields of the current object. Also known as Reset.

func (*CatalogProductIndexEAVDecimalIDX) Insert

func (e *CatalogProductIndexEAVDecimalIDX) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CatalogProductIndexEAVDecimalIDX) IsSet

IsSet returns true if the entity has non-empty primary keys.

func (*CatalogProductIndexEAVDecimalIDX) Load

func (e *CatalogProductIndexEAVDecimalIDX) Load(ctx context.Context, dbm *DBM, entityID uint32, attributeID uint32, storeID uint32, sourceID uint32, opts ...dml.DBRFunc) (err error)

func (*CatalogProductIndexEAVDecimalIDX) MapColumns

MapColumns implements interface ColumnMapper only partially. Auto generated.

func (*CatalogProductIndexEAVDecimalIDX) Marshal

func (m *CatalogProductIndexEAVDecimalIDX) Marshal() (dAtA []byte, err error)

func (*CatalogProductIndexEAVDecimalIDX) MarshalTo

func (m *CatalogProductIndexEAVDecimalIDX) MarshalTo(dAtA []byte) (int, error)

func (*CatalogProductIndexEAVDecimalIDX) MarshalToSizedBuffer

func (m *CatalogProductIndexEAVDecimalIDX) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CatalogProductIndexEAVDecimalIDX) ProtoMessage

func (*CatalogProductIndexEAVDecimalIDX) ProtoMessage()

func (*CatalogProductIndexEAVDecimalIDX) Reset

func (*CatalogProductIndexEAVDecimalIDX) Size

func (m *CatalogProductIndexEAVDecimalIDX) Size() (n int)

func (*CatalogProductIndexEAVDecimalIDX) String

func (*CatalogProductIndexEAVDecimalIDX) Unmarshal

func (m *CatalogProductIndexEAVDecimalIDX) Unmarshal(dAtA []byte) error

func (*CatalogProductIndexEAVDecimalIDX) Update

func (e *CatalogProductIndexEAVDecimalIDX) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CatalogProductIndexEAVDecimalIDX) Upsert

func (e *CatalogProductIndexEAVDecimalIDX) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CatalogProductIndexEAVDecimalIDX) Validate

Validate runs internal consistency tests.

func (*CatalogProductIndexEAVDecimalIDX) WriteTo

func (e *CatalogProductIndexEAVDecimalIDX) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*CatalogProductIndexEAVDecimalIDX) XXX_DiscardUnknown

func (m *CatalogProductIndexEAVDecimalIDX) XXX_DiscardUnknown()

func (*CatalogProductIndexEAVDecimalIDX) XXX_Marshal

func (m *CatalogProductIndexEAVDecimalIDX) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CatalogProductIndexEAVDecimalIDX) XXX_Merge

func (*CatalogProductIndexEAVDecimalIDX) XXX_Size

func (m *CatalogProductIndexEAVDecimalIDX) XXX_Size() int

func (*CatalogProductIndexEAVDecimalIDX) XXX_Unmarshal

func (m *CatalogProductIndexEAVDecimalIDX) XXX_Unmarshal(b []byte) error

type CatalogProductIndexEAVDecimalIDXes

type CatalogProductIndexEAVDecimalIDXes struct {
	Data []*CatalogProductIndexEAVDecimalIDX `json:"data,omitempty"`
}

CatalogProductIndexEAVDecimalIDXes represents a collection type for DB table catalog_product_index_eav_decimal_idx Not thread safe. Auto generated.

func NewCatalogProductIndexEAVDecimalIDXes

func NewCatalogProductIndexEAVDecimalIDXes() *CatalogProductIndexEAVDecimalIDXes

NewCatalogProductIndexEAVDecimalIDXes creates a new initialized collection. Auto generated.

func (*CatalogProductIndexEAVDecimalIDXes) Append

Append will add a new item at the end of * CatalogProductIndexEAVDecimalIDXes . Auto generated via dmlgen.

func (*CatalogProductIndexEAVDecimalIDXes) AttributeIDs

func (cc *CatalogProductIndexEAVDecimalIDXes) AttributeIDs(ret ...uint32) []uint32

AttributeIDs returns a slice with the data or appends it to a slice. Auto generated.

func (*CatalogProductIndexEAVDecimalIDXes) Cut

Cut will remove items i through j-1. Auto generated via dmlgen.

func (*CatalogProductIndexEAVDecimalIDXes) DBDelete

func (cc *CatalogProductIndexEAVDecimalIDXes) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CatalogProductIndexEAVDecimalIDXes) DBInsert

func (cc *CatalogProductIndexEAVDecimalIDXes) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CatalogProductIndexEAVDecimalIDXes) DBLoad

func (*CatalogProductIndexEAVDecimalIDXes) DBUpdate

func (cc *CatalogProductIndexEAVDecimalIDXes) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CatalogProductIndexEAVDecimalIDXes) DBUpsert

func (cc *CatalogProductIndexEAVDecimalIDXes) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CatalogProductIndexEAVDecimalIDXes) Delete

Delete will remove an item from the slice. Auto generated via dmlgen.

func (*CatalogProductIndexEAVDecimalIDXes) Descriptor

func (*CatalogProductIndexEAVDecimalIDXes) Descriptor() ([]byte, []int)

func (*CatalogProductIndexEAVDecimalIDXes) Each

Each will run function f on all items in []* CatalogProductIndexEAVDecimalIDX . Auto generated via dmlgen.

func (*CatalogProductIndexEAVDecimalIDXes) EntityIDs

func (cc *CatalogProductIndexEAVDecimalIDXes) EntityIDs(ret ...uint32) []uint32

EntityIDs returns a slice with the data or appends it to a slice. Auto generated.

func (*CatalogProductIndexEAVDecimalIDXes) Filter

Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.

func (*CatalogProductIndexEAVDecimalIDXes) Insert

Insert will place a new item at position i. Auto generated via dmlgen.

func (*CatalogProductIndexEAVDecimalIDXes) Len

Len will satisfy the sort.Interface. Auto generated via dmlgen.

func (*CatalogProductIndexEAVDecimalIDXes) MapColumns

MapColumns implements dml.ColumnMapper interface. Auto generated.

func (*CatalogProductIndexEAVDecimalIDXes) Marshal

func (m *CatalogProductIndexEAVDecimalIDXes) Marshal() (dAtA []byte, err error)

func (*CatalogProductIndexEAVDecimalIDXes) MarshalTo

func (m *CatalogProductIndexEAVDecimalIDXes) MarshalTo(dAtA []byte) (int, error)

func (*CatalogProductIndexEAVDecimalIDXes) MarshalToSizedBuffer

func (m *CatalogProductIndexEAVDecimalIDXes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CatalogProductIndexEAVDecimalIDXes) ProtoMessage

func (*CatalogProductIndexEAVDecimalIDXes) ProtoMessage()

func (*CatalogProductIndexEAVDecimalIDXes) Reset

func (*CatalogProductIndexEAVDecimalIDXes) Size

func (*CatalogProductIndexEAVDecimalIDXes) SourceIDs

func (cc *CatalogProductIndexEAVDecimalIDXes) SourceIDs(ret ...uint32) []uint32

SourceIDs returns a slice with the data or appends it to a slice. Auto generated.

func (*CatalogProductIndexEAVDecimalIDXes) StoreIDs

func (cc *CatalogProductIndexEAVDecimalIDXes) StoreIDs(ret ...uint32) []uint32

StoreIDs returns a slice with the data or appends it to a slice. Auto generated.

func (*CatalogProductIndexEAVDecimalIDXes) String

func (*CatalogProductIndexEAVDecimalIDXes) Swap

func (cc *CatalogProductIndexEAVDecimalIDXes) Swap(i, j int)

Swap will satisfy the sort.Interface. Auto generated via dmlgen.

func (*CatalogProductIndexEAVDecimalIDXes) Unmarshal

func (m *CatalogProductIndexEAVDecimalIDXes) Unmarshal(dAtA []byte) error

func (*CatalogProductIndexEAVDecimalIDXes) Validate

func (cc *CatalogProductIndexEAVDecimalIDXes) Validate() (err error)

Validate runs internal consistency tests on all items.

func (*CatalogProductIndexEAVDecimalIDXes) WriteTo

func (cc *CatalogProductIndexEAVDecimalIDXes) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*CatalogProductIndexEAVDecimalIDXes) XXX_DiscardUnknown

func (m *CatalogProductIndexEAVDecimalIDXes) XXX_DiscardUnknown()

func (*CatalogProductIndexEAVDecimalIDXes) XXX_Marshal

func (m *CatalogProductIndexEAVDecimalIDXes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CatalogProductIndexEAVDecimalIDXes) XXX_Merge

func (*CatalogProductIndexEAVDecimalIDXes) XXX_Size

func (*CatalogProductIndexEAVDecimalIDXes) XXX_Unmarshal

func (m *CatalogProductIndexEAVDecimalIDXes) XXX_Unmarshal(b []byte) error

type CatalogProductIndexEAVDecimalIDXesDBLoadArgs

type CatalogProductIndexEAVDecimalIDXesDBLoadArgs struct {
	EntityID    uint32
	AttributeID uint32
	StoreID     uint32
	SourceID    uint32
}

type CoreConfiguration

type CoreConfiguration struct {
	ConfigID  uint32      `json:"config_id,omitempty" max_len:"10"`  // config_id int(10) unsigned NOT NULL PRI  auto_increment "Id"
	Scope     string      `json:"scope,omitempty" max_len:"8"`       // scope varchar(8) NOT NULL MUL DEFAULT ”default”  "Scope"
	ScopeID   int32       `json:"scope_id" xml:"scope_id"`           // scope_id int(11) NOT NULL  DEFAULT '0'  "Scope Id"
	Expires   null.Time   `json:"expires,omitempty" `                // expires datetime NULL  DEFAULT 'NULL'  "Value expiration time"
	Path      string      `json:"x_path" xml:"y_path" max_len:"255"` // path varchar(255) NOT NULL  DEFAULT ”general”  "Config Path overwritten"
	Value     null.String `json:"value,omitempty" max_len:"65535"`   // value text NULL  DEFAULT 'NULL'  "Value"
	VersionTs time.Time   `json:"version_ts,omitempty" `             // version_ts timestamp(6) NOT NULL   STORED GENERATED "Timestamp Start Versioning"
	VersionTe time.Time   `json:"version_te,omitempty" `             // version_te timestamp(6) NOT NULL PRI  STORED GENERATED "Timestamp End Versioning"
}

CoreConfiguration represents a single row for DB table core_configuration. Auto generated. Table comment: Config Data

func (*CoreConfiguration) AssignLastInsertID

func (e *CoreConfiguration) AssignLastInsertID(id int64)

AssignLastInsertID updates the increment ID field with the last inserted ID from an INSERT operation. Implements dml.InsertIDAssigner. Auto generated.

func (*CoreConfiguration) Copy

Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards

func (*CoreConfiguration) Delete

func (e *CoreConfiguration) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CoreConfiguration) Descriptor

func (*CoreConfiguration) Descriptor() ([]byte, []int)

func (*CoreConfiguration) Empty

Empty empties all the fields of the current object. Also known as Reset.

func (*CoreConfiguration) Insert

func (e *CoreConfiguration) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CoreConfiguration) IsSet

func (e *CoreConfiguration) IsSet() bool

IsSet returns true if the entity has non-empty primary keys.

func (*CoreConfiguration) Load

func (e *CoreConfiguration) Load(ctx context.Context, dbm *DBM, configID uint32, opts ...dml.DBRFunc) (err error)

func (*CoreConfiguration) MapColumns

func (e *CoreConfiguration) MapColumns(cm *dml.ColumnMap) error

MapColumns implements interface ColumnMapper only partially. Auto generated.

func (*CoreConfiguration) Marshal

func (m *CoreConfiguration) Marshal() (dAtA []byte, err error)

func (CoreConfiguration) MarshalEasyJSON

func (v CoreConfiguration) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CoreConfiguration) MarshalJSON

func (v CoreConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CoreConfiguration) MarshalTo

func (m *CoreConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*CoreConfiguration) MarshalToSizedBuffer

func (m *CoreConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CoreConfiguration) ProtoMessage

func (*CoreConfiguration) ProtoMessage()

func (*CoreConfiguration) Reset

func (m *CoreConfiguration) Reset()

func (*CoreConfiguration) Size

func (m *CoreConfiguration) Size() (n int)

func (*CoreConfiguration) String

func (m *CoreConfiguration) String() string

func (*CoreConfiguration) Unmarshal

func (m *CoreConfiguration) Unmarshal(dAtA []byte) error

func (*CoreConfiguration) UnmarshalEasyJSON

func (v *CoreConfiguration) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CoreConfiguration) UnmarshalJSON

func (v *CoreConfiguration) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*CoreConfiguration) Update

func (e *CoreConfiguration) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CoreConfiguration) Upsert

func (e *CoreConfiguration) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CoreConfiguration) Validate

func (e *CoreConfiguration) Validate() error

Validate runs internal consistency tests.

func (*CoreConfiguration) WriteTo

func (e *CoreConfiguration) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*CoreConfiguration) XXX_DiscardUnknown

func (m *CoreConfiguration) XXX_DiscardUnknown()

func (*CoreConfiguration) XXX_Marshal

func (m *CoreConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreConfiguration) XXX_Merge

func (m *CoreConfiguration) XXX_Merge(src proto.Message)

func (*CoreConfiguration) XXX_Size

func (m *CoreConfiguration) XXX_Size() int

func (*CoreConfiguration) XXX_Unmarshal

func (m *CoreConfiguration) XXX_Unmarshal(b []byte) error

type CoreConfigurations

type CoreConfigurations struct {
	Data []*CoreConfiguration `json:"data,omitempty"`
}

CoreConfigurations represents a collection type for DB table core_configuration Not thread safe. Auto generated.

func NewCoreConfigurations

func NewCoreConfigurations() *CoreConfigurations

NewCoreConfigurations creates a new initialized collection. Auto generated.

func (*CoreConfigurations) Append

Append will add a new item at the end of * CoreConfigurations . Auto generated via dmlgen.

func (*CoreConfigurations) AssignLastInsertID

func (cc *CoreConfigurations) AssignLastInsertID(id int64)

AssignLastInsertID traverses through the slice and sets an incrementing new ID to each entity.

func (*CoreConfigurations) ConfigIDs

func (cc *CoreConfigurations) ConfigIDs(ret ...uint32) []uint32

ConfigIDs returns a slice with the data or appends it to a slice. Auto generated.

func (*CoreConfigurations) Cut

func (cc *CoreConfigurations) Cut(i, j int) *CoreConfigurations

Cut will remove items i through j-1. Auto generated via dmlgen.

func (*CoreConfigurations) DBDelete

func (cc *CoreConfigurations) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CoreConfigurations) DBInsert

func (cc *CoreConfigurations) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CoreConfigurations) DBLoad

func (cc *CoreConfigurations) DBLoad(ctx context.Context, dbm *DBM, pkIDs []uint32, opts ...dml.DBRFunc) (err error)

func (*CoreConfigurations) DBUpdate

func (cc *CoreConfigurations) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CoreConfigurations) DBUpsert

func (cc *CoreConfigurations) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CoreConfigurations) Delete

func (cc *CoreConfigurations) Delete(i int) *CoreConfigurations

Delete will remove an item from the slice. Auto generated via dmlgen.

func (*CoreConfigurations) Descriptor

func (*CoreConfigurations) Descriptor() ([]byte, []int)

func (*CoreConfigurations) Each

Each will run function f on all items in []* CoreConfiguration . Auto generated via dmlgen.

func (*CoreConfigurations) Filter

Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.

func (*CoreConfigurations) Insert

Insert will place a new item at position i. Auto generated via dmlgen.

func (*CoreConfigurations) Len

func (cc *CoreConfigurations) Len() int

Len will satisfy the sort.Interface. Auto generated via dmlgen.

func (*CoreConfigurations) MapColumns

func (cc *CoreConfigurations) MapColumns(cm *dml.ColumnMap) error

MapColumns implements dml.ColumnMapper interface. Auto generated.

func (*CoreConfigurations) Marshal

func (m *CoreConfigurations) Marshal() (dAtA []byte, err error)

func (*CoreConfigurations) MarshalBinary

func (cc *CoreConfigurations) MarshalBinary() (data []byte, err error)

MarshalBinary implements encoding.BinaryMarshaler.

func (CoreConfigurations) MarshalEasyJSON

func (v CoreConfigurations) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CoreConfigurations) MarshalJSON

func (v CoreConfigurations) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CoreConfigurations) MarshalTo

func (m *CoreConfigurations) MarshalTo(dAtA []byte) (int, error)

func (*CoreConfigurations) MarshalToSizedBuffer

func (m *CoreConfigurations) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CoreConfigurations) ProtoMessage

func (*CoreConfigurations) ProtoMessage()

func (*CoreConfigurations) Reset

func (m *CoreConfigurations) Reset()

func (*CoreConfigurations) Size

func (m *CoreConfigurations) Size() (n int)

func (*CoreConfigurations) String

func (m *CoreConfigurations) String() string

func (*CoreConfigurations) Swap

func (cc *CoreConfigurations) Swap(i, j int)

Swap will satisfy the sort.Interface. Auto generated via dmlgen.

func (*CoreConfigurations) UniquePaths

func (cc *CoreConfigurations) UniquePaths(ret ...string) []string

Paths belongs to the column "path" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.

func (*CoreConfigurations) Unmarshal

func (m *CoreConfigurations) Unmarshal(dAtA []byte) error

func (*CoreConfigurations) UnmarshalBinary

func (cc *CoreConfigurations) UnmarshalBinary(data []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler.

func (*CoreConfigurations) UnmarshalEasyJSON

func (v *CoreConfigurations) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CoreConfigurations) UnmarshalJSON

func (v *CoreConfigurations) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*CoreConfigurations) Validate

func (cc *CoreConfigurations) Validate() (err error)

Validate runs internal consistency tests on all items.

func (*CoreConfigurations) WriteTo

func (cc *CoreConfigurations) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*CoreConfigurations) XXX_DiscardUnknown

func (m *CoreConfigurations) XXX_DiscardUnknown()

func (*CoreConfigurations) XXX_Marshal

func (m *CoreConfigurations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoreConfigurations) XXX_Merge

func (m *CoreConfigurations) XXX_Merge(src proto.Message)

func (*CoreConfigurations) XXX_Size

func (m *CoreConfigurations) XXX_Size() int

func (*CoreConfigurations) XXX_Unmarshal

func (m *CoreConfigurations) XXX_Unmarshal(b []byte) error

type CustomerAddressEntities

type CustomerAddressEntities struct {
	Data []*CustomerAddressEntity `json:"data,omitempty"`
}

CustomerAddressEntities represents a collection type for DB table customer_address_entity Not thread safe. Auto generated.

func NewCustomerAddressEntities

func NewCustomerAddressEntities() *CustomerAddressEntities

NewCustomerAddressEntities creates a new initialized collection. Auto generated.

func (*CustomerAddressEntities) Append

Append will add a new item at the end of * CustomerAddressEntities . Auto generated via dmlgen.

func (*CustomerAddressEntities) AssignLastInsertID

func (cc *CustomerAddressEntities) AssignLastInsertID(id int64)

AssignLastInsertID traverses through the slice and sets an incrementing new ID to each entity.

func (*CustomerAddressEntities) Cut

Cut will remove items i through j-1. Auto generated via dmlgen.

func (*CustomerAddressEntities) DBDelete

func (cc *CustomerAddressEntities) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerAddressEntities) DBInsert

func (cc *CustomerAddressEntities) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerAddressEntities) DBLoad

func (cc *CustomerAddressEntities) DBLoad(ctx context.Context, dbm *DBM, pkIDs []uint32, opts ...dml.DBRFunc) (err error)

func (*CustomerAddressEntities) DBUpdate

func (cc *CustomerAddressEntities) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerAddressEntities) DBUpsert

func (cc *CustomerAddressEntities) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerAddressEntities) Delete

Delete will remove an item from the slice. Auto generated via dmlgen.

func (*CustomerAddressEntities) Descriptor

func (*CustomerAddressEntities) Descriptor() ([]byte, []int)

func (*CustomerAddressEntities) Each

Each will run function f on all items in []* CustomerAddressEntity . Auto generated via dmlgen.

func (*CustomerAddressEntities) EntityIDs

func (cc *CustomerAddressEntities) EntityIDs(ret ...uint32) []uint32

EntityIDs returns a slice with the data or appends it to a slice. Auto generated.

func (*CustomerAddressEntities) Filter

Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.

func (*CustomerAddressEntities) Insert

Insert will place a new item at position i. Auto generated via dmlgen.

func (*CustomerAddressEntities) Len

func (cc *CustomerAddressEntities) Len() int

Len will satisfy the sort.Interface. Auto generated via dmlgen.

func (*CustomerAddressEntities) MapColumns

func (cc *CustomerAddressEntities) MapColumns(cm *dml.ColumnMap) error

MapColumns implements dml.ColumnMapper interface. Auto generated.

func (*CustomerAddressEntities) Marshal

func (m *CustomerAddressEntities) Marshal() (dAtA []byte, err error)

func (*CustomerAddressEntities) MarshalBinary

func (cc *CustomerAddressEntities) MarshalBinary() (data []byte, err error)

MarshalBinary implements encoding.BinaryMarshaler.

func (CustomerAddressEntities) MarshalEasyJSON

func (v CustomerAddressEntities) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CustomerAddressEntities) MarshalJSON

func (v CustomerAddressEntities) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CustomerAddressEntities) MarshalTo

func (m *CustomerAddressEntities) MarshalTo(dAtA []byte) (int, error)

func (*CustomerAddressEntities) MarshalToSizedBuffer

func (m *CustomerAddressEntities) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomerAddressEntities) ProtoMessage

func (*CustomerAddressEntities) ProtoMessage()

func (*CustomerAddressEntities) Reset

func (m *CustomerAddressEntities) Reset()

func (*CustomerAddressEntities) Size

func (m *CustomerAddressEntities) Size() (n int)

func (*CustomerAddressEntities) String

func (m *CustomerAddressEntities) String() string

func (*CustomerAddressEntities) Swap

func (cc *CustomerAddressEntities) Swap(i, j int)

Swap will satisfy the sort.Interface. Auto generated via dmlgen.

func (*CustomerAddressEntities) Unmarshal

func (m *CustomerAddressEntities) Unmarshal(dAtA []byte) error

func (*CustomerAddressEntities) UnmarshalBinary

func (cc *CustomerAddressEntities) UnmarshalBinary(data []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler.

func (*CustomerAddressEntities) UnmarshalEasyJSON

func (v *CustomerAddressEntities) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CustomerAddressEntities) UnmarshalJSON

func (v *CustomerAddressEntities) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*CustomerAddressEntities) Validate

func (cc *CustomerAddressEntities) Validate() (err error)

Validate runs internal consistency tests on all items.

func (*CustomerAddressEntities) WriteTo

func (cc *CustomerAddressEntities) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*CustomerAddressEntities) XXX_DiscardUnknown

func (m *CustomerAddressEntities) XXX_DiscardUnknown()

func (*CustomerAddressEntities) XXX_Marshal

func (m *CustomerAddressEntities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomerAddressEntities) XXX_Merge

func (m *CustomerAddressEntities) XXX_Merge(src proto.Message)

func (*CustomerAddressEntities) XXX_Size

func (m *CustomerAddressEntities) XXX_Size() int

func (*CustomerAddressEntities) XXX_Unmarshal

func (m *CustomerAddressEntities) XXX_Unmarshal(b []byte) error

type CustomerAddressEntity

type CustomerAddressEntity struct {
	EntityID          uint32      `max_len:"10"` // entity_id int(10) unsigned NOT NULL PRI  auto_increment "Entity ID"
	IncrementID       null.String `max_len:"50"` // increment_id varchar(50) NULL  DEFAULT 'NULL'  "Increment Id"
	ParentID          null.Uint32 `max_len:"10"` // parent_id int(10) unsigned NULL MUL DEFAULT 'NULL'  "Parent ID"
	CreatedAt         time.Time   // created_at timestamp NOT NULL  DEFAULT 'current_timestamp()'  "Created At"
	UpdatedAt         time.Time   // updated_at timestamp NOT NULL  DEFAULT 'current_timestamp()' on update current_timestamp() "Updated At"
	IsActive          bool        `max_len:"5"`     // is_active smallint(5) unsigned NOT NULL  DEFAULT '1'  "Is Active"
	City              string      `max_len:"255"`   // city varchar(255) NOT NULL    "City"
	Company           null.String `max_len:"255"`   // company varchar(255) NULL  DEFAULT 'NULL'  "Company"
	CountryID         string      `max_len:"255"`   // country_id varchar(255) NOT NULL    "Country"
	Fax               null.String `max_len:"255"`   // fax varchar(255) NULL  DEFAULT 'NULL'  "Fax"
	Firstname         string      `max_len:"255"`   // firstname varchar(255) NOT NULL    "First Name"
	Lastname          string      `max_len:"255"`   // lastname varchar(255) NOT NULL    "Last Name"
	Middlename        null.String `max_len:"255"`   // middlename varchar(255) NULL  DEFAULT 'NULL'  "Middle Name"
	Postcode          null.String `max_len:"255"`   // postcode varchar(255) NULL  DEFAULT 'NULL'  "Zip/Postal Code"
	Prefix            null.String `max_len:"40"`    // prefix varchar(40) NULL  DEFAULT 'NULL'  "Name Prefix"
	Region            null.String `max_len:"255"`   // region varchar(255) NULL  DEFAULT 'NULL'  "State/Province"
	RegionID          null.Uint32 `max_len:"10"`    // region_id int(10) unsigned NULL  DEFAULT 'NULL'  "State/Province"
	Street            string      `max_len:"65535"` // street text NOT NULL    "Street Address"
	Suffix            null.String `max_len:"40"`    // suffix varchar(40) NULL  DEFAULT 'NULL'  "Name Suffix"
	Telephone         string      `max_len:"255"`   // telephone varchar(255) NOT NULL    "Phone Number"
	VatID             null.String `max_len:"255"`   // vat_id varchar(255) NULL  DEFAULT 'NULL'  "VAT number"
	VatIsValid        null.Bool   `max_len:"10"`    // vat_is_valid int(10) unsigned NULL  DEFAULT 'NULL'  "VAT number validity"
	VatRequestDate    null.String `max_len:"255"`   // vat_request_date varchar(255) NULL  DEFAULT 'NULL'  "VAT number validation request date"
	VatRequestID      null.String `max_len:"255"`   // vat_request_id varchar(255) NULL  DEFAULT 'NULL'  "VAT number validation request ID"
	VatRequestSuccess null.Uint32 `max_len:"10"`    // vat_request_success int(10) unsigned NULL  DEFAULT 'NULL'  "VAT number validation request success"
}

CustomerAddressEntity represents a single row for DB table customer_address_entity. Auto generated. Table comment: Customer Address Entity

func (*CustomerAddressEntity) AssignLastInsertID

func (e *CustomerAddressEntity) AssignLastInsertID(id int64)

AssignLastInsertID updates the increment ID field with the last inserted ID from an INSERT operation. Implements dml.InsertIDAssigner. Auto generated.

func (*CustomerAddressEntity) Copy

Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards

func (*CustomerAddressEntity) Delete

func (e *CustomerAddressEntity) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerAddressEntity) Descriptor

func (*CustomerAddressEntity) Descriptor() ([]byte, []int)

func (*CustomerAddressEntity) Empty

Empty empties all the fields of the current object. Also known as Reset.

func (*CustomerAddressEntity) Insert

func (e *CustomerAddressEntity) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerAddressEntity) IsSet

func (e *CustomerAddressEntity) IsSet() bool

IsSet returns true if the entity has non-empty primary keys.

func (*CustomerAddressEntity) Load

func (e *CustomerAddressEntity) Load(ctx context.Context, dbm *DBM, entityID uint32, opts ...dml.DBRFunc) (err error)

func (*CustomerAddressEntity) MapColumns

func (e *CustomerAddressEntity) MapColumns(cm *dml.ColumnMap) error

MapColumns implements interface ColumnMapper only partially. Auto generated.

func (*CustomerAddressEntity) Marshal

func (m *CustomerAddressEntity) Marshal() (dAtA []byte, err error)

func (CustomerAddressEntity) MarshalEasyJSON

func (v CustomerAddressEntity) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CustomerAddressEntity) MarshalJSON

func (v CustomerAddressEntity) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CustomerAddressEntity) MarshalTo

func (m *CustomerAddressEntity) MarshalTo(dAtA []byte) (int, error)

func (*CustomerAddressEntity) MarshalToSizedBuffer

func (m *CustomerAddressEntity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomerAddressEntity) ProtoMessage

func (*CustomerAddressEntity) ProtoMessage()

func (*CustomerAddressEntity) Reset

func (m *CustomerAddressEntity) Reset()

func (*CustomerAddressEntity) Size

func (m *CustomerAddressEntity) Size() (n int)

func (*CustomerAddressEntity) String

func (m *CustomerAddressEntity) String() string

func (*CustomerAddressEntity) Unmarshal

func (m *CustomerAddressEntity) Unmarshal(dAtA []byte) error

func (*CustomerAddressEntity) UnmarshalEasyJSON

func (v *CustomerAddressEntity) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CustomerAddressEntity) UnmarshalJSON

func (v *CustomerAddressEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*CustomerAddressEntity) Update

func (e *CustomerAddressEntity) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerAddressEntity) Upsert

func (e *CustomerAddressEntity) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerAddressEntity) Validate

func (e *CustomerAddressEntity) Validate() error

Validate runs internal consistency tests.

func (*CustomerAddressEntity) WriteTo

func (e *CustomerAddressEntity) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*CustomerAddressEntity) XXX_DiscardUnknown

func (m *CustomerAddressEntity) XXX_DiscardUnknown()

func (*CustomerAddressEntity) XXX_Marshal

func (m *CustomerAddressEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomerAddressEntity) XXX_Merge

func (m *CustomerAddressEntity) XXX_Merge(src proto.Message)

func (*CustomerAddressEntity) XXX_Size

func (m *CustomerAddressEntity) XXX_Size() int

func (*CustomerAddressEntity) XXX_Unmarshal

func (m *CustomerAddressEntity) XXX_Unmarshal(b []byte) error

type CustomerEntities

type CustomerEntities struct {
	Data []*CustomerEntity `json:"data,omitempty"`
}

CustomerEntities represents a collection type for DB table customer_entity Not thread safe. Auto generated.

func NewCustomerEntities

func NewCustomerEntities() *CustomerEntities

NewCustomerEntities creates a new initialized collection. Auto generated.

func (*CustomerEntities) Append

Append will add a new item at the end of * CustomerEntities . Auto generated via dmlgen.

func (*CustomerEntities) AssignLastInsertID

func (cc *CustomerEntities) AssignLastInsertID(id int64)

AssignLastInsertID traverses through the slice and sets an incrementing new ID to each entity.

func (*CustomerEntities) Cut

func (cc *CustomerEntities) Cut(i, j int) *CustomerEntities

Cut will remove items i through j-1. Auto generated via dmlgen.

func (*CustomerEntities) DBDelete

func (cc *CustomerEntities) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerEntities) DBInsert

func (cc *CustomerEntities) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerEntities) DBLoad

func (cc *CustomerEntities) DBLoad(ctx context.Context, dbm *DBM, pkIDs []uint32, opts ...dml.DBRFunc) (err error)

func (*CustomerEntities) DBUpdate

func (cc *CustomerEntities) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerEntities) DBUpsert

func (cc *CustomerEntities) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerEntities) Delete

func (cc *CustomerEntities) Delete(i int) *CustomerEntities

Delete will remove an item from the slice. Auto generated via dmlgen.

func (*CustomerEntities) Descriptor

func (*CustomerEntities) Descriptor() ([]byte, []int)

func (*CustomerEntities) Each

func (cc *CustomerEntities) Each(f func(*CustomerEntity)) *CustomerEntities

Each will run function f on all items in []* CustomerEntity . Auto generated via dmlgen.

func (*CustomerEntities) EntityIDs

func (cc *CustomerEntities) EntityIDs(ret ...uint32) []uint32

EntityIDs returns a slice with the data or appends it to a slice. Auto generated.

func (*CustomerEntities) Filter

func (cc *CustomerEntities) Filter(f func(*CustomerEntity) bool) *CustomerEntities

Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.

func (*CustomerEntities) Insert

Insert will place a new item at position i. Auto generated via dmlgen.

func (*CustomerEntities) Len

func (cc *CustomerEntities) Len() int

Len will satisfy the sort.Interface. Auto generated via dmlgen.

func (*CustomerEntities) MapColumns

func (cc *CustomerEntities) MapColumns(cm *dml.ColumnMap) error

MapColumns implements dml.ColumnMapper interface. Auto generated.

func (*CustomerEntities) Marshal

func (m *CustomerEntities) Marshal() (dAtA []byte, err error)

func (*CustomerEntities) MarshalBinary

func (cc *CustomerEntities) MarshalBinary() (data []byte, err error)

MarshalBinary implements encoding.BinaryMarshaler.

func (CustomerEntities) MarshalEasyJSON

func (v CustomerEntities) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CustomerEntities) MarshalJSON

func (v CustomerEntities) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CustomerEntities) MarshalTo

func (m *CustomerEntities) MarshalTo(dAtA []byte) (int, error)

func (*CustomerEntities) MarshalToSizedBuffer

func (m *CustomerEntities) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomerEntities) ProtoMessage

func (*CustomerEntities) ProtoMessage()

func (*CustomerEntities) Reset

func (m *CustomerEntities) Reset()

func (*CustomerEntities) Size

func (m *CustomerEntities) Size() (n int)

func (*CustomerEntities) String

func (m *CustomerEntities) String() string

func (*CustomerEntities) Swap

func (cc *CustomerEntities) Swap(i, j int)

Swap will satisfy the sort.Interface. Auto generated via dmlgen.

func (*CustomerEntities) Unmarshal

func (m *CustomerEntities) Unmarshal(dAtA []byte) error

func (*CustomerEntities) UnmarshalBinary

func (cc *CustomerEntities) UnmarshalBinary(data []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler.

func (*CustomerEntities) UnmarshalEasyJSON

func (v *CustomerEntities) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CustomerEntities) UnmarshalJSON

func (v *CustomerEntities) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*CustomerEntities) Validate

func (cc *CustomerEntities) Validate() (err error)

Validate runs internal consistency tests on all items.

func (*CustomerEntities) WriteTo

func (cc *CustomerEntities) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*CustomerEntities) XXX_DiscardUnknown

func (m *CustomerEntities) XXX_DiscardUnknown()

func (*CustomerEntities) XXX_Marshal

func (m *CustomerEntities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomerEntities) XXX_Merge

func (m *CustomerEntities) XXX_Merge(src proto.Message)

func (*CustomerEntities) XXX_Size

func (m *CustomerEntities) XXX_Size() int

func (*CustomerEntities) XXX_Unmarshal

func (m *CustomerEntities) XXX_Unmarshal(b []byte) error

type CustomerEntity

type CustomerEntity struct {
	EntityID               uint32      `max_len:"10"`  // entity_id int(10) unsigned NOT NULL PRI  auto_increment "Entity ID"
	WebsiteID              null.Uint32 `max_len:"5"`   // website_id smallint(5) unsigned NULL MUL DEFAULT 'NULL'  "Website ID"
	Email                  null.String `max_len:"255"` // email varchar(255) NULL MUL DEFAULT 'NULL'  "Email"
	GroupID                uint32      `max_len:"5"`   // group_id smallint(5) unsigned NOT NULL  DEFAULT '0'  "Group ID"
	IncrementID            null.String `max_len:"50"`  // increment_id varchar(50) NULL  DEFAULT 'NULL'  "Increment Id"
	StoreID                null.Uint32 `max_len:"5"`   // store_id smallint(5) unsigned NULL MUL DEFAULT '0'  "Store ID"
	CreatedAt              time.Time   // created_at timestamp NOT NULL  DEFAULT 'current_timestamp()'  "Created At"
	UpdatedAt              time.Time   // updated_at timestamp NOT NULL  DEFAULT 'current_timestamp()' on update current_timestamp() "Updated At"
	IsActive               bool        `max_len:"5"`   // is_active smallint(5) unsigned NOT NULL  DEFAULT '1'  "Is Active"
	DisableAutoGroupChange uint32      `max_len:"5"`   // disable_auto_group_change smallint(5) unsigned NOT NULL  DEFAULT '0'  "Disable automatic group change based on VAT ID"
	CreatedIn              null.String `max_len:"255"` // created_in varchar(255) NULL  DEFAULT 'NULL'  "Created From"
	Prefix                 null.String `max_len:"40"`  // prefix varchar(40) NULL  DEFAULT 'NULL'  "Name Prefix"
	Firstname              null.String `max_len:"255"` // firstname varchar(255) NULL MUL DEFAULT 'NULL'  "First Name"
	Middlename             null.String `max_len:"255"` // middlename varchar(255) NULL  DEFAULT 'NULL'  "Middle Name/Initial"
	Lastname               null.String `max_len:"255"` // lastname varchar(255) NULL MUL DEFAULT 'NULL'  "Last Name"
	Suffix                 null.String `max_len:"40"`  // suffix varchar(40) NULL  DEFAULT 'NULL'  "Name Suffix"
	Dob                    null.Time   // dob date NULL  DEFAULT 'NULL'  "Date of Birth"

	RpToken                 null.String              `max_len:"128"` // rp_token varchar(128) NULL  DEFAULT 'NULL'  "Reset password token"
	RpTokenCreatedAt        null.Time                // rp_token_created_at datetime NULL  DEFAULT 'NULL'  "Reset password token creation time"
	DefaultBilling          null.Uint32              `max_len:"10"` // default_billing int(10) unsigned NULL  DEFAULT 'NULL'  "Default Billing Address"
	DefaultShipping         null.Uint32              `max_len:"10"` // default_shipping int(10) unsigned NULL  DEFAULT 'NULL'  "Default Shipping Address"
	Taxvat                  null.String              `max_len:"50"` // taxvat varchar(50) NULL  DEFAULT 'NULL'  "Tax/VAT Number"
	Confirmation            null.String              `max_len:"64"` // confirmation varchar(64) NULL  DEFAULT 'NULL'  "Is Confirmed"
	Gender                  null.Uint32              `max_len:"5"`  // gender smallint(5) unsigned NULL  DEFAULT 'NULL'  "Gender"
	FailuresNum             null.Int32               `max_len:"5"`  // failures_num smallint(6) NULL  DEFAULT '0'  "Failure Number"
	FirstFailure            null.Time                // first_failure timestamp NULL  DEFAULT 'NULL'  "First Failure"
	LockExpires             null.Time                // lock_expires timestamp NULL  DEFAULT 'NULL'  "Lock Expiration Date"
	CustomerAddressEntities *CustomerAddressEntities // Reversed 1:M customer_entity.entity_id => customer_address_entity.parent_id
	// contains filtered or unexported fields
}

CustomerEntity represents a single row for DB table customer_entity. Auto generated. Table comment: Customer Entity

func (*CustomerEntity) AssignLastInsertID

func (e *CustomerEntity) AssignLastInsertID(id int64)

AssignLastInsertID updates the increment ID field with the last inserted ID from an INSERT operation. Implements dml.InsertIDAssigner. Auto generated.

func (*CustomerEntity) Copy

func (e *CustomerEntity) Copy() *CustomerEntity

Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards

func (*CustomerEntity) Delete

func (e *CustomerEntity) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerEntity) Descriptor

func (*CustomerEntity) Descriptor() ([]byte, []int)

func (*CustomerEntity) Empty

func (e *CustomerEntity) Empty() *CustomerEntity

Empty empties all the fields of the current object. Also known as Reset.

func (*CustomerEntity) GetPasswordHash

func (e *CustomerEntity) GetPasswordHash() null.String

Get PasswordHash returns the data from a private and security sensitive field.

func (*CustomerEntity) Insert

func (e *CustomerEntity) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerEntity) IsSet

func (e *CustomerEntity) IsSet() bool

IsSet returns true if the entity has non-empty primary keys.

func (*CustomerEntity) Load

func (e *CustomerEntity) Load(ctx context.Context, dbm *DBM, entityID uint32, opts ...dml.DBRFunc) (err error)

func (*CustomerEntity) MapColumns

func (e *CustomerEntity) MapColumns(cm *dml.ColumnMap) error

MapColumns implements interface ColumnMapper only partially. Auto generated.

func (*CustomerEntity) Marshal

func (m *CustomerEntity) Marshal() (dAtA []byte, err error)

func (CustomerEntity) MarshalEasyJSON

func (v CustomerEntity) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CustomerEntity) MarshalJSON

func (v CustomerEntity) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CustomerEntity) MarshalTo

func (m *CustomerEntity) MarshalTo(dAtA []byte) (int, error)

func (*CustomerEntity) MarshalToSizedBuffer

func (m *CustomerEntity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomerEntity) ProtoMessage

func (*CustomerEntity) ProtoMessage()

func (*CustomerEntity) Reset

func (m *CustomerEntity) Reset()

func (*CustomerEntity) SetPasswordHash

func (e *CustomerEntity) SetPasswordHash(d null.String) *CustomerEntity

Set PasswordHash sets the data for a private and security sensitive field.

func (*CustomerEntity) Size

func (m *CustomerEntity) Size() (n int)

func (*CustomerEntity) String

func (m *CustomerEntity) String() string

func (*CustomerEntity) Unmarshal

func (m *CustomerEntity) Unmarshal(dAtA []byte) error

func (*CustomerEntity) UnmarshalEasyJSON

func (v *CustomerEntity) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CustomerEntity) UnmarshalJSON

func (v *CustomerEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*CustomerEntity) Update

func (e *CustomerEntity) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerEntity) Upsert

func (e *CustomerEntity) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*CustomerEntity) Validate

func (e *CustomerEntity) Validate() error

Validate runs internal consistency tests.

func (*CustomerEntity) WriteTo

func (e *CustomerEntity) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*CustomerEntity) XXX_DiscardUnknown

func (m *CustomerEntity) XXX_DiscardUnknown()

func (*CustomerEntity) XXX_Marshal

func (m *CustomerEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomerEntity) XXX_Merge

func (m *CustomerEntity) XXX_Merge(src proto.Message)

func (*CustomerEntity) XXX_Size

func (m *CustomerEntity) XXX_Size() int

func (*CustomerEntity) XXX_Unmarshal

func (m *CustomerEntity) XXX_Unmarshal(b []byte) error

type DBM

type DBM struct {
	*ddl.Tables
	// contains filtered or unexported fields
}

DBM defines the DataBaseManagement object for the tables catalog_product_index_eav_decimal_idx, core_configuration, customer_address_entity, customer_entity, dmlgen_types, sales_order_status_state, view_customer_auto_increment, view_customer_no_auto_increment

func NewDBManager

func NewDBManager(ctx context.Context, dbmo *DBMOption) (*DBM, error)

NewDBManager returns a goified version of the MySQL/MariaDB table schema for the tables: catalog_product_index_eav_decimal_idx, core_configuration, customer_address_entity, customer_entity, dmlgen_types, sales_order_status_state, view_customer_auto_increment, view_customer_no_auto_increment Auto generated by dmlgen.

type DBMOption

type DBMOption struct {
	Trace             trace.Tracer
	TableOptions      []ddl.TableOption // gets applied at the beginning
	TableOptionsAfter []ddl.TableOption // gets applied at the end
	InitSelectFn      func(*dml.Select) *dml.Select
	InitUpdateFn      func(*dml.Update) *dml.Update
	InitDeleteFn      func(*dml.Delete) *dml.Delete
	InitInsertFn      func(*dml.Insert) *dml.Insert
	// contains filtered or unexported fields
}

DBMOption provides various options to the DBM object.

func (*DBMOption) AddEventCatalogProductIndexEAVDecimalIDX

func (o *DBMOption) AddEventCatalogProductIndexEAVDecimalIDX(event dml.EventFlag, fn func(context.Context, *CatalogProductIndexEAVDecimalIDXes, *CatalogProductIndexEAVDecimalIDX) error) *DBMOption

AddEventCatalogProductIndexEAVDecimalIDX adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.

func (*DBMOption) AddEventCoreConfiguration

func (o *DBMOption) AddEventCoreConfiguration(event dml.EventFlag, fn func(context.Context, *CoreConfigurations, *CoreConfiguration) error) *DBMOption

AddEventCoreConfiguration adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.

func (*DBMOption) AddEventCustomerAddressEntity

func (o *DBMOption) AddEventCustomerAddressEntity(event dml.EventFlag, fn func(context.Context, *CustomerAddressEntities, *CustomerAddressEntity) error) *DBMOption

AddEventCustomerAddressEntity adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.

func (*DBMOption) AddEventCustomerEntity

func (o *DBMOption) AddEventCustomerEntity(event dml.EventFlag, fn func(context.Context, *CustomerEntities, *CustomerEntity) error) *DBMOption

AddEventCustomerEntity adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.

func (*DBMOption) AddEventDmlgenTypes

func (o *DBMOption) AddEventDmlgenTypes(event dml.EventFlag, fn func(context.Context, *DmlgenTypesCollection, *DmlgenTypes) error) *DBMOption

AddEventDmlgenTypes adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.

func (*DBMOption) AddEventSalesOrderStatusState

func (o *DBMOption) AddEventSalesOrderStatusState(event dml.EventFlag, fn func(context.Context, *SalesOrderStatusStates, *SalesOrderStatusState) error) *DBMOption

AddEventSalesOrderStatusState adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.

func (*DBMOption) AddEventViewCustomerAutoIncrement

func (o *DBMOption) AddEventViewCustomerAutoIncrement(event dml.EventFlag, fn func(context.Context, *ViewCustomerAutoIncrements, *ViewCustomerAutoIncrement) error) *DBMOption

AddEventViewCustomerAutoIncrement adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.

func (*DBMOption) AddEventViewCustomerNoAutoIncrement

func (o *DBMOption) AddEventViewCustomerNoAutoIncrement(event dml.EventFlag, fn func(context.Context, *ViewCustomerNoAutoIncrements, *ViewCustomerNoAutoIncrement) error) *DBMOption

AddEventViewCustomerNoAutoIncrement adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.

type DmlgenTypes

type DmlgenTypes struct {
	ID             int32        `json:"id,omitempty"  max_len:"10"`                     // id int(11) NOT NULL PRI  auto_increment ""
	ColBigint1     null.Int64   `json:"col_bigint_1,omitempty"  max_len:"19"`           // col_bigint_1 bigint(20) NULL  DEFAULT 'NULL'  ""
	ColBigint2     int64        `json:"col_bigint_2,omitempty"  max_len:"19"`           // col_bigint_2 bigint(20) NOT NULL  DEFAULT '0'  ""
	ColBigint3     null.Uint64  `json:"col_bigint_3,omitempty"  max_len:"20"`           // col_bigint_3 bigint(20) unsigned NULL  DEFAULT 'NULL'  ""
	ColBigint4     uint64       `json:"col_bigint_4,omitempty"  max_len:"20"`           // col_bigint_4 bigint(20) unsigned NOT NULL  DEFAULT '0'  ""
	ColBlob        []byte       `json:"col_blob,omitempty"  max_len:"65535"`            // col_blob blob NULL  DEFAULT 'NULL'  ""
	ColDate1       null.Time    `json:"col_date_1,omitempty"  `                         // col_date_1 date NULL  DEFAULT 'NULL'  ""
	ColDate2       time.Time    `json:"col_date_2,omitempty"  `                         // col_date_2 date NOT NULL  DEFAULT ”0000-00-00”  ""
	ColDatetime1   null.Time    `json:"col_datetime_1,omitempty"  `                     // col_datetime_1 datetime NULL  DEFAULT 'NULL'  ""
	ColDatetime2   time.Time    `json:"col_datetime_2,omitempty"  `                     // col_datetime_2 datetime NOT NULL  DEFAULT ”0000-00-00 00:00:00”  ""
	ColDecimal101  null.Decimal `json:"col_decimal_10_1,omitempty"  max_len:"10"`       // col_decimal_10_1 decimal(10,1) unsigned NULL  DEFAULT 'NULL'  ""
	ColDecimal124  null.Decimal `json:"col_decimal_12_4,omitempty"  max_len:"12"`       // col_decimal_12_4 decimal(12,4) NULL  DEFAULT 'NULL'  ""
	PriceA124      null.Decimal `json:"price_a_12_4,omitempty"  max_len:"12"`           // price_a_12_4 decimal(12,4) NULL  DEFAULT 'NULL'  ""
	PriceB124      null.Decimal `json:"price_b_12_4,omitempty"  max_len:"12"`           // price_b_12_4 decimal(12,4) NOT NULL  DEFAULT '0.0000'  ""
	ColDecimal123  null.Decimal `json:"col_decimal_12_3,omitempty"  max_len:"12"`       // col_decimal_12_3 decimal(12,3) NOT NULL  DEFAULT '0.000'  ""
	ColDecimal206  null.Decimal `json:"col_decimal_20_6,omitempty"  max_len:"20"`       // col_decimal_20_6 decimal(20,6) NOT NULL  DEFAULT '0.000000'  ""
	ColDecimal2412 null.Decimal `json:"col_decimal_24_12,omitempty"  max_len:"24"`      // col_decimal_24_12 decimal(24,12) NOT NULL  DEFAULT '0.000000000000'  ""
	ColInt1        null.Int32   `json:"col_int_1,omitempty"  max_len:"10"`              // col_int_1 int(10) NULL  DEFAULT 'NULL'  ""
	ColInt2        int32        `json:"col_int_2,omitempty"  max_len:"10"`              // col_int_2 int(10) NOT NULL  DEFAULT '0'  ""
	ColInt3        null.Uint32  `json:"col_int_3,omitempty"  max_len:"10"`              // col_int_3 int(10) unsigned NULL  DEFAULT 'NULL'  ""
	ColInt4        uint32       `json:"col_int_4,omitempty"  max_len:"10"`              // col_int_4 int(10) unsigned NOT NULL  DEFAULT '0'  ""
	ColLongtext1   null.String  `json:"col_longtext_1,omitempty"  max_len:"4294967295"` // col_longtext_1 longtext NULL  DEFAULT 'NULL'  ""
	ColLongtext2   string       `json:"col_longtext_2,omitempty"  max_len:"4294967295"` // col_longtext_2 longtext NOT NULL  DEFAULT ””  ""
	ColMediumblob  []byte       `json:"col_mediumblob,omitempty"  max_len:"16777215"`   // col_mediumblob mediumblob NULL  DEFAULT 'NULL'  ""
	ColMediumtext1 null.String  `json:"col_mediumtext_1,omitempty"  max_len:"16777215"` // col_mediumtext_1 mediumtext NULL  DEFAULT 'NULL'  ""
	ColMediumtext2 string       `json:"col_mediumtext_2,omitempty"  max_len:"16777215"` // col_mediumtext_2 mediumtext NOT NULL  DEFAULT ””  ""
	ColSmallint1   null.Int32   `json:"col_smallint_1,omitempty"  max_len:"5"`          // col_smallint_1 smallint(5) NULL  DEFAULT 'NULL'  ""
	ColSmallint2   int32        `json:"col_smallint_2,omitempty"  max_len:"5"`          // col_smallint_2 smallint(5) NOT NULL  DEFAULT '0'  ""
	ColSmallint3   null.Uint32  `json:"col_smallint_3,omitempty"  max_len:"5"`          // col_smallint_3 smallint(5) unsigned NULL  DEFAULT 'NULL'  ""
	ColSmallint4   uint32       `json:"col_smallint_4,omitempty"  max_len:"5"`          // col_smallint_4 smallint(5) unsigned NOT NULL  DEFAULT '0'  ""
	HasSmallint5   bool         `json:"has_smallint_5,omitempty"  max_len:"5"`          // has_smallint_5 smallint(5) unsigned NOT NULL  DEFAULT '0'  ""
	IsSmallint5    null.Bool    `json:"is_smallint_5,omitempty"  max_len:"5"`           // is_smallint_5 smallint(5) NULL  DEFAULT 'NULL'  ""
	ColText        null.String  `json:"col_text,omitempty"  max_len:"65535"`            // col_text text NULL  DEFAULT 'NULL'  ""
	ColTimestamp1  time.Time    `json:"col_timestamp_1,omitempty"  `                    // col_timestamp_1 timestamp NOT NULL  DEFAULT 'current_timestamp()'  ""
	ColTimestamp2  null.Time    `json:"col_timestamp_2,omitempty"  `                    // col_timestamp_2 timestamp NULL  DEFAULT 'NULL'  ""
	ColTinyint1    int32        `json:"col_tinyint_1,omitempty"  max_len:"3"`           // col_tinyint_1 tinyint(1) NOT NULL  DEFAULT '0'  ""
	ColVarchar1    string       `json:"col_varchar_1,omitempty"  max_len:"1"`           // col_varchar_1 varchar(1) NOT NULL  DEFAULT ”0”  ""
	ColVarchar100  null.String  `json:"col_varchar_100,omitempty"  max_len:"100"`       // col_varchar_100 varchar(100) NULL  DEFAULT 'NULL'  ""
	ColVarchar16   string       `json:"col_varchar_16,omitempty"  max_len:"16"`         // col_varchar_16 varchar(16) NOT NULL  DEFAULT ”de_DE”  ""
	ColChar1       null.String  `json:"col_char_1,omitempty"  max_len:"21"`             // col_char_1 char(21) NULL  DEFAULT 'NULL'  ""
	ColChar2       string       `json:"col_char_2,omitempty"  max_len:"17"`             // col_char_2 char(17) NOT NULL  DEFAULT ”xchar”  ""
}

DmlgenTypes represents a single row for DB table dmlgen_types. Auto generated. // Just another comment.

func (*DmlgenTypes) AssignLastInsertID

func (e *DmlgenTypes) AssignLastInsertID(id int64)

AssignLastInsertID updates the increment ID field with the last inserted ID from an INSERT operation. Implements dml.InsertIDAssigner. Auto generated.

func (*DmlgenTypes) Copy

func (e *DmlgenTypes) Copy() *DmlgenTypes

Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards

func (*DmlgenTypes) Delete

func (e *DmlgenTypes) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*DmlgenTypes) Descriptor

func (*DmlgenTypes) Descriptor() ([]byte, []int)

func (*DmlgenTypes) Empty

func (e *DmlgenTypes) Empty() *DmlgenTypes

Empty empties all the fields of the current object. Also known as Reset.

func (*DmlgenTypes) Insert

func (e *DmlgenTypes) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*DmlgenTypes) IsSet

func (e *DmlgenTypes) IsSet() bool

IsSet returns true if the entity has non-empty primary keys.

func (*DmlgenTypes) Load

func (e *DmlgenTypes) Load(ctx context.Context, dbm *DBM, iD int32, opts ...dml.DBRFunc) (err error)

func (*DmlgenTypes) MapColumns

func (e *DmlgenTypes) MapColumns(cm *dml.ColumnMap) error

MapColumns implements interface ColumnMapper only partially. Auto generated.

func (*DmlgenTypes) Marshal

func (m *DmlgenTypes) Marshal() (dAtA []byte, err error)

func (DmlgenTypes) MarshalEasyJSON

func (v DmlgenTypes) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DmlgenTypes) MarshalJSON

func (v DmlgenTypes) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DmlgenTypes) MarshalTo

func (m *DmlgenTypes) MarshalTo(dAtA []byte) (int, error)

func (*DmlgenTypes) MarshalToSizedBuffer

func (m *DmlgenTypes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DmlgenTypes) ProtoMessage

func (*DmlgenTypes) ProtoMessage()

func (*DmlgenTypes) Reset

func (m *DmlgenTypes) Reset()

func (*DmlgenTypes) Size

func (m *DmlgenTypes) Size() (n int)

func (*DmlgenTypes) String

func (m *DmlgenTypes) String() string

func (*DmlgenTypes) Unmarshal

func (m *DmlgenTypes) Unmarshal(dAtA []byte) error

func (*DmlgenTypes) UnmarshalEasyJSON

func (v *DmlgenTypes) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DmlgenTypes) UnmarshalJSON

func (v *DmlgenTypes) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*DmlgenTypes) Update

func (e *DmlgenTypes) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*DmlgenTypes) Upsert

func (e *DmlgenTypes) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*DmlgenTypes) Validate

func (e *DmlgenTypes) Validate() error

Validate runs internal consistency tests.

func (*DmlgenTypes) WriteTo

func (e *DmlgenTypes) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*DmlgenTypes) XXX_DiscardUnknown

func (m *DmlgenTypes) XXX_DiscardUnknown()

func (*DmlgenTypes) XXX_Marshal

func (m *DmlgenTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DmlgenTypes) XXX_Merge

func (m *DmlgenTypes) XXX_Merge(src proto.Message)

func (*DmlgenTypes) XXX_Size

func (m *DmlgenTypes) XXX_Size() int

func (*DmlgenTypes) XXX_Unmarshal

func (m *DmlgenTypes) XXX_Unmarshal(b []byte) error

type DmlgenTypesCollection

type DmlgenTypesCollection struct {
	Data []*DmlgenTypes `json:"data,omitempty"`
}

DmlgenTypesCollection represents a collection type for DB table dmlgen_types Not thread safe. Auto generated. // Just another comment.

func NewDmlgenTypesCollection

func NewDmlgenTypesCollection() *DmlgenTypesCollection

NewDmlgenTypesCollection creates a new initialized collection. Auto generated.

func (*DmlgenTypesCollection) Append

Append will add a new item at the end of * DmlgenTypesCollection . Auto generated via dmlgen.

func (*DmlgenTypesCollection) AssignLastInsertID

func (cc *DmlgenTypesCollection) AssignLastInsertID(id int64)

AssignLastInsertID traverses through the slice and sets an incrementing new ID to each entity.

func (*DmlgenTypesCollection) Cut

Cut will remove items i through j-1. Auto generated via dmlgen.

func (*DmlgenTypesCollection) DBDelete

func (cc *DmlgenTypesCollection) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*DmlgenTypesCollection) DBInsert

func (cc *DmlgenTypesCollection) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*DmlgenTypesCollection) DBLoad

func (cc *DmlgenTypesCollection) DBLoad(ctx context.Context, dbm *DBM, pkIDs []int32, opts ...dml.DBRFunc) (err error)

func (*DmlgenTypesCollection) DBUpdate

func (cc *DmlgenTypesCollection) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*DmlgenTypesCollection) DBUpsert

func (cc *DmlgenTypesCollection) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*DmlgenTypesCollection) Delete

Delete will remove an item from the slice. Auto generated via dmlgen.

func (*DmlgenTypesCollection) Descriptor

func (*DmlgenTypesCollection) Descriptor() ([]byte, []int)

func (*DmlgenTypesCollection) Each

Each will run function f on all items in []* DmlgenTypes . Auto generated via dmlgen.

func (*DmlgenTypesCollection) Filter

Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.

func (*DmlgenTypesCollection) IDs

func (cc *DmlgenTypesCollection) IDs(ret ...int32) []int32

IDs returns a slice with the data or appends it to a slice. Auto generated.

func (*DmlgenTypesCollection) Insert

Insert will place a new item at position i. Auto generated via dmlgen.

func (*DmlgenTypesCollection) Len

func (cc *DmlgenTypesCollection) Len() int

Len will satisfy the sort.Interface. Auto generated via dmlgen.

func (*DmlgenTypesCollection) MapColumns

func (cc *DmlgenTypesCollection) MapColumns(cm *dml.ColumnMap) error

MapColumns implements dml.ColumnMapper interface. Auto generated.

func (*DmlgenTypesCollection) Marshal

func (m *DmlgenTypesCollection) Marshal() (dAtA []byte, err error)

func (*DmlgenTypesCollection) MarshalBinary

func (cc *DmlgenTypesCollection) MarshalBinary() (data []byte, err error)

MarshalBinary implements encoding.BinaryMarshaler.

func (DmlgenTypesCollection) MarshalEasyJSON

func (v DmlgenTypesCollection) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DmlgenTypesCollection) MarshalJSON

func (v DmlgenTypesCollection) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DmlgenTypesCollection) MarshalTo

func (m *DmlgenTypesCollection) MarshalTo(dAtA []byte) (int, error)

func (*DmlgenTypesCollection) MarshalToSizedBuffer

func (m *DmlgenTypesCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DmlgenTypesCollection) ProtoMessage

func (*DmlgenTypesCollection) ProtoMessage()

func (*DmlgenTypesCollection) Reset

func (m *DmlgenTypesCollection) Reset()

func (*DmlgenTypesCollection) Size

func (m *DmlgenTypesCollection) Size() (n int)

func (*DmlgenTypesCollection) String

func (m *DmlgenTypesCollection) String() string

func (*DmlgenTypesCollection) Swap

func (cc *DmlgenTypesCollection) Swap(i, j int)

Swap will satisfy the sort.Interface. Auto generated via dmlgen.

func (*DmlgenTypesCollection) UniqueColDate2s

func (cc *DmlgenTypesCollection) UniqueColDate2s(ret ...time.Time) []time.Time

ColDate2s belongs to the column "col_date_2" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.

func (*DmlgenTypesCollection) UniqueColInt1s

func (cc *DmlgenTypesCollection) UniqueColInt1s(ret ...int32) []int32

ColInt1s belongs to the column "col_int_1" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.

func (*DmlgenTypesCollection) UniqueColInt2s

func (cc *DmlgenTypesCollection) UniqueColInt2s(ret ...int32) []int32

ColInt2s belongs to the column "col_int_2" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.

func (*DmlgenTypesCollection) UniqueColVarchar100s

func (cc *DmlgenTypesCollection) UniqueColVarchar100s(ret ...string) []string

ColVarchar100s belongs to the column "col_varchar_100" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.

func (*DmlgenTypesCollection) UniqueHasSmallint5s

func (cc *DmlgenTypesCollection) UniqueHasSmallint5s(ret ...bool) []bool

HasSmallint5s belongs to the column "has_smallint_5" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.

func (*DmlgenTypesCollection) UniquePriceA124s

func (cc *DmlgenTypesCollection) UniquePriceA124s(ret ...null.Decimal) []null.Decimal

PriceA124s belongs to the column "price_a_12_4" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.

func (*DmlgenTypesCollection) Unmarshal

func (m *DmlgenTypesCollection) Unmarshal(dAtA []byte) error

func (*DmlgenTypesCollection) UnmarshalBinary

func (cc *DmlgenTypesCollection) UnmarshalBinary(data []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler.

func (*DmlgenTypesCollection) UnmarshalEasyJSON

func (v *DmlgenTypesCollection) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DmlgenTypesCollection) UnmarshalJSON

func (v *DmlgenTypesCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*DmlgenTypesCollection) Validate

func (cc *DmlgenTypesCollection) Validate() (err error)

Validate runs internal consistency tests on all items.

func (*DmlgenTypesCollection) WriteTo

func (cc *DmlgenTypesCollection) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*DmlgenTypesCollection) XXX_DiscardUnknown

func (m *DmlgenTypesCollection) XXX_DiscardUnknown()

func (*DmlgenTypesCollection) XXX_Marshal

func (m *DmlgenTypesCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DmlgenTypesCollection) XXX_Merge

func (m *DmlgenTypesCollection) XXX_Merge(src proto.Message)

func (*DmlgenTypesCollection) XXX_Size

func (m *DmlgenTypesCollection) XXX_Size() int

func (*DmlgenTypesCollection) XXX_Unmarshal

func (m *DmlgenTypesCollection) XXX_Unmarshal(b []byte) error

type SalesOrderStatusState

type SalesOrderStatusState struct {
	Status         string `max_len:"32"` // status varchar(32) NOT NULL PRI   "Status"
	State          string `max_len:"32"` // state varchar(32) NOT NULL PRI   "Label"
	IsDefault      bool   `max_len:"5"`  // is_default smallint(5) unsigned NOT NULL  DEFAULT '0'  "Is Default"
	VisibleOnFront uint32 `max_len:"5"`  // visible_on_front smallint(5) unsigned NOT NULL  DEFAULT '0'  "Visible on front"
}

SalesOrderStatusState represents a single row for DB table sales_order_status_state. Auto generated. Table comment: Sales Order Status Table

func (*SalesOrderStatusState) Copy

Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards

func (*SalesOrderStatusState) Delete

func (e *SalesOrderStatusState) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*SalesOrderStatusState) Descriptor

func (*SalesOrderStatusState) Descriptor() ([]byte, []int)

func (*SalesOrderStatusState) Empty

Empty empties all the fields of the current object. Also known as Reset.

func (*SalesOrderStatusState) Insert

func (e *SalesOrderStatusState) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*SalesOrderStatusState) IsSet

func (e *SalesOrderStatusState) IsSet() bool

IsSet returns true if the entity has non-empty primary keys.

func (*SalesOrderStatusState) Load

func (e *SalesOrderStatusState) Load(ctx context.Context, dbm *DBM, status string, state string, opts ...dml.DBRFunc) (err error)

func (*SalesOrderStatusState) MapColumns

func (e *SalesOrderStatusState) MapColumns(cm *dml.ColumnMap) error

MapColumns implements interface ColumnMapper only partially. Auto generated.

func (*SalesOrderStatusState) Marshal

func (m *SalesOrderStatusState) Marshal() (dAtA []byte, err error)

func (SalesOrderStatusState) MarshalEasyJSON

func (v SalesOrderStatusState) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SalesOrderStatusState) MarshalJSON

func (v SalesOrderStatusState) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SalesOrderStatusState) MarshalTo

func (m *SalesOrderStatusState) MarshalTo(dAtA []byte) (int, error)

func (*SalesOrderStatusState) MarshalToSizedBuffer

func (m *SalesOrderStatusState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SalesOrderStatusState) ProtoMessage

func (*SalesOrderStatusState) ProtoMessage()

func (*SalesOrderStatusState) Reset

func (m *SalesOrderStatusState) Reset()

func (*SalesOrderStatusState) Size

func (m *SalesOrderStatusState) Size() (n int)

func (*SalesOrderStatusState) String

func (m *SalesOrderStatusState) String() string

func (*SalesOrderStatusState) Unmarshal

func (m *SalesOrderStatusState) Unmarshal(dAtA []byte) error

func (*SalesOrderStatusState) UnmarshalEasyJSON

func (v *SalesOrderStatusState) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SalesOrderStatusState) UnmarshalJSON

func (v *SalesOrderStatusState) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*SalesOrderStatusState) Update

func (e *SalesOrderStatusState) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*SalesOrderStatusState) Upsert

func (e *SalesOrderStatusState) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*SalesOrderStatusState) Validate

func (e *SalesOrderStatusState) Validate() error

Validate runs internal consistency tests.

func (*SalesOrderStatusState) WriteTo

func (e *SalesOrderStatusState) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*SalesOrderStatusState) XXX_DiscardUnknown

func (m *SalesOrderStatusState) XXX_DiscardUnknown()

func (*SalesOrderStatusState) XXX_Marshal

func (m *SalesOrderStatusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SalesOrderStatusState) XXX_Merge

func (m *SalesOrderStatusState) XXX_Merge(src proto.Message)

func (*SalesOrderStatusState) XXX_Size

func (m *SalesOrderStatusState) XXX_Size() int

func (*SalesOrderStatusState) XXX_Unmarshal

func (m *SalesOrderStatusState) XXX_Unmarshal(b []byte) error

type SalesOrderStatusStates

type SalesOrderStatusStates struct {
	Data []*SalesOrderStatusState `json:"data,omitempty"`
}

SalesOrderStatusStates represents a collection type for DB table sales_order_status_state Not thread safe. Auto generated.

func NewSalesOrderStatusStates

func NewSalesOrderStatusStates() *SalesOrderStatusStates

NewSalesOrderStatusStates creates a new initialized collection. Auto generated.

func (*SalesOrderStatusStates) Append

Append will add a new item at the end of * SalesOrderStatusStates . Auto generated via dmlgen.

func (*SalesOrderStatusStates) Cut

Cut will remove items i through j-1. Auto generated via dmlgen.

func (*SalesOrderStatusStates) DBDelete

func (cc *SalesOrderStatusStates) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*SalesOrderStatusStates) DBInsert

func (cc *SalesOrderStatusStates) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*SalesOrderStatusStates) DBLoad

func (cc *SalesOrderStatusStates) DBLoad(ctx context.Context, dbm *DBM, pkIDs []SalesOrderStatusStatesDBLoadArgs, opts ...dml.DBRFunc) (err error)

func (*SalesOrderStatusStates) DBUpdate

func (cc *SalesOrderStatusStates) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*SalesOrderStatusStates) DBUpsert

func (cc *SalesOrderStatusStates) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)

func (*SalesOrderStatusStates) Delete

Delete will remove an item from the slice. Auto generated via dmlgen.

func (*SalesOrderStatusStates) Descriptor

func (*SalesOrderStatusStates) Descriptor() ([]byte, []int)

func (*SalesOrderStatusStates) Each

Each will run function f on all items in []* SalesOrderStatusState . Auto generated via dmlgen.

func (*SalesOrderStatusStates) Filter

Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.

func (*SalesOrderStatusStates) Insert

Insert will place a new item at position i. Auto generated via dmlgen.

func (*SalesOrderStatusStates) Len

func (cc *SalesOrderStatusStates) Len() int

Len will satisfy the sort.Interface. Auto generated via dmlgen.

func (*SalesOrderStatusStates) MapColumns

func (cc *SalesOrderStatusStates) MapColumns(cm *dml.ColumnMap) error

MapColumns implements dml.ColumnMapper interface. Auto generated.

func (*SalesOrderStatusStates) Marshal

func (m *SalesOrderStatusStates) Marshal() (dAtA []byte, err error)

func (*SalesOrderStatusStates) MarshalBinary

func (cc *SalesOrderStatusStates) MarshalBinary() (data []byte, err error)

MarshalBinary implements encoding.BinaryMarshaler.

func (SalesOrderStatusStates) MarshalEasyJSON

func (v SalesOrderStatusStates) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SalesOrderStatusStates) MarshalJSON

func (v SalesOrderStatusStates) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SalesOrderStatusStates) MarshalTo

func (m *SalesOrderStatusStates) MarshalTo(dAtA []byte) (int, error)

func (*SalesOrderStatusStates) MarshalToSizedBuffer

func (m *SalesOrderStatusStates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SalesOrderStatusStates) ProtoMessage

func (*SalesOrderStatusStates) ProtoMessage()

func (*SalesOrderStatusStates) Reset

func (m *SalesOrderStatusStates) Reset()

func (*SalesOrderStatusStates) Size

func (m *SalesOrderStatusStates) Size() (n int)

func (*SalesOrderStatusStates) States

func (cc *SalesOrderStatusStates) States(ret ...string) []string

States returns a slice with the data or appends it to a slice. Auto generated.

func (*SalesOrderStatusStates) Statuss

func (cc *SalesOrderStatusStates) Statuss(ret ...string) []string

Statuss returns a slice with the data or appends it to a slice. Auto generated.

func (*SalesOrderStatusStates) String

func (m *SalesOrderStatusStates) String() string

func (*SalesOrderStatusStates) Swap

func (cc *SalesOrderStatusStates) Swap(i, j int)

Swap will satisfy the sort.Interface. Auto generated via dmlgen.

func (*SalesOrderStatusStates) Unmarshal

func (m *SalesOrderStatusStates) Unmarshal(dAtA []byte) error

func (*SalesOrderStatusStates) UnmarshalBinary

func (cc *SalesOrderStatusStates) UnmarshalBinary(data []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler.

func (*SalesOrderStatusStates) UnmarshalEasyJSON

func (v *SalesOrderStatusStates) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SalesOrderStatusStates) UnmarshalJSON

func (v *SalesOrderStatusStates) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*SalesOrderStatusStates) Validate

func (cc *SalesOrderStatusStates) Validate() (err error)

Validate runs internal consistency tests on all items.

func (*SalesOrderStatusStates) WriteTo

func (cc *SalesOrderStatusStates) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*SalesOrderStatusStates) XXX_DiscardUnknown

func (m *SalesOrderStatusStates) XXX_DiscardUnknown()

func (*SalesOrderStatusStates) XXX_Marshal

func (m *SalesOrderStatusStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SalesOrderStatusStates) XXX_Merge

func (m *SalesOrderStatusStates) XXX_Merge(src proto.Message)

func (*SalesOrderStatusStates) XXX_Size

func (m *SalesOrderStatusStates) XXX_Size() int

func (*SalesOrderStatusStates) XXX_Unmarshal

func (m *SalesOrderStatusStates) XXX_Unmarshal(b []byte) error

type SalesOrderStatusStatesDBLoadArgs

type SalesOrderStatusStatesDBLoadArgs struct {
	Status string
	State  string
}

type ViewCustomerAutoIncrement

type ViewCustomerAutoIncrement struct {
	CeEntityID uint32      `max_len:"10"`  // ce_entity_id int(10) unsigned NOT NULL  DEFAULT '0'  "Entity ID"
	Email      null.String `max_len:"255"` // email varchar(255) NULL  DEFAULT 'NULL'  "Email"
	Firstname  string      `max_len:"255"` // firstname varchar(255) NOT NULL    "First Name"
	Lastname   string      `max_len:"255"` // lastname varchar(255) NOT NULL    "Last Name"
	City       string      `max_len:"255"` // city varchar(255) NOT NULL    "City"
}

ViewCustomerAutoIncrement represents a single row for DB table view_customer_auto_increment. Auto generated. Table comment: VIEW

func (*ViewCustomerAutoIncrement) Copy

Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards

func (*ViewCustomerAutoIncrement) Descriptor

func (*ViewCustomerAutoIncrement) Descriptor() ([]byte, []int)

func (*ViewCustomerAutoIncrement) Empty

Empty empties all the fields of the current object. Also known as Reset.

func (*ViewCustomerAutoIncrement) IsSet

func (e *ViewCustomerAutoIncrement) IsSet() bool

IsSet returns true if the entity has non-empty primary keys.

func (*ViewCustomerAutoIncrement) Load

func (e *ViewCustomerAutoIncrement) Load(ctx context.Context, dbm *DBM, ceEntityID uint32, opts ...dml.DBRFunc) (err error)

func (*ViewCustomerAutoIncrement) MapColumns

func (e *ViewCustomerAutoIncrement) MapColumns(cm *dml.ColumnMap) error

MapColumns implements interface ColumnMapper only partially. Auto generated.

func (*ViewCustomerAutoIncrement) Marshal

func (m *ViewCustomerAutoIncrement) Marshal() (dAtA []byte, err error)

func (ViewCustomerAutoIncrement) MarshalEasyJSON

func (v ViewCustomerAutoIncrement) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ViewCustomerAutoIncrement) MarshalJSON

func (v ViewCustomerAutoIncrement) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ViewCustomerAutoIncrement) MarshalTo

func (m *ViewCustomerAutoIncrement) MarshalTo(dAtA []byte) (int, error)

func (*ViewCustomerAutoIncrement) MarshalToSizedBuffer

func (m *ViewCustomerAutoIncrement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ViewCustomerAutoIncrement) ProtoMessage

func (*ViewCustomerAutoIncrement) ProtoMessage()

func (*ViewCustomerAutoIncrement) Reset

func (m *ViewCustomerAutoIncrement) Reset()

func (*ViewCustomerAutoIncrement) Size

func (m *ViewCustomerAutoIncrement) Size() (n int)

func (*ViewCustomerAutoIncrement) String

func (m *ViewCustomerAutoIncrement) String() string

func (*ViewCustomerAutoIncrement) Unmarshal

func (m *ViewCustomerAutoIncrement) Unmarshal(dAtA []byte) error

func (*ViewCustomerAutoIncrement) UnmarshalEasyJSON

func (v *ViewCustomerAutoIncrement) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ViewCustomerAutoIncrement) UnmarshalJSON

func (v *ViewCustomerAutoIncrement) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*ViewCustomerAutoIncrement) Validate

func (e *ViewCustomerAutoIncrement) Validate() error

Validate runs internal consistency tests.

func (*ViewCustomerAutoIncrement) WriteTo

func (e *ViewCustomerAutoIncrement) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*ViewCustomerAutoIncrement) XXX_DiscardUnknown

func (m *ViewCustomerAutoIncrement) XXX_DiscardUnknown()

func (*ViewCustomerAutoIncrement) XXX_Marshal

func (m *ViewCustomerAutoIncrement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewCustomerAutoIncrement) XXX_Merge

func (m *ViewCustomerAutoIncrement) XXX_Merge(src proto.Message)

func (*ViewCustomerAutoIncrement) XXX_Size

func (m *ViewCustomerAutoIncrement) XXX_Size() int

func (*ViewCustomerAutoIncrement) XXX_Unmarshal

func (m *ViewCustomerAutoIncrement) XXX_Unmarshal(b []byte) error

type ViewCustomerAutoIncrements

type ViewCustomerAutoIncrements struct {
	Data []*ViewCustomerAutoIncrement `json:"data,omitempty"`
}

ViewCustomerAutoIncrements represents a collection type for DB table view_customer_auto_increment Not thread safe. Auto generated.

func NewViewCustomerAutoIncrements

func NewViewCustomerAutoIncrements() *ViewCustomerAutoIncrements

NewViewCustomerAutoIncrements creates a new initialized collection. Auto generated.

func (*ViewCustomerAutoIncrements) Append

Append will add a new item at the end of * ViewCustomerAutoIncrements . Auto generated via dmlgen.

func (*ViewCustomerAutoIncrements) Cut

Cut will remove items i through j-1. Auto generated via dmlgen.

func (*ViewCustomerAutoIncrements) DBLoad

func (cc *ViewCustomerAutoIncrements) DBLoad(ctx context.Context, dbm *DBM, pkIDs []uint32, opts ...dml.DBRFunc) (err error)

func (*ViewCustomerAutoIncrements) Delete

Delete will remove an item from the slice. Auto generated via dmlgen.

func (*ViewCustomerAutoIncrements) Descriptor

func (*ViewCustomerAutoIncrements) Descriptor() ([]byte, []int)

func (*ViewCustomerAutoIncrements) Each

Each will run function f on all items in []* ViewCustomerAutoIncrement . Auto generated via dmlgen.

func (*ViewCustomerAutoIncrements) Filter

Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.

func (*ViewCustomerAutoIncrements) Insert

Insert will place a new item at position i. Auto generated via dmlgen.

func (*ViewCustomerAutoIncrements) Len

func (cc *ViewCustomerAutoIncrements) Len() int

Len will satisfy the sort.Interface. Auto generated via dmlgen.

func (*ViewCustomerAutoIncrements) MapColumns

func (cc *ViewCustomerAutoIncrements) MapColumns(cm *dml.ColumnMap) error

MapColumns implements dml.ColumnMapper interface. Auto generated.

func (*ViewCustomerAutoIncrements) Marshal

func (m *ViewCustomerAutoIncrements) Marshal() (dAtA []byte, err error)

func (*ViewCustomerAutoIncrements) MarshalBinary

func (cc *ViewCustomerAutoIncrements) MarshalBinary() (data []byte, err error)

MarshalBinary implements encoding.BinaryMarshaler.

func (ViewCustomerAutoIncrements) MarshalEasyJSON

func (v ViewCustomerAutoIncrements) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ViewCustomerAutoIncrements) MarshalJSON

func (v ViewCustomerAutoIncrements) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ViewCustomerAutoIncrements) MarshalTo

func (m *ViewCustomerAutoIncrements) MarshalTo(dAtA []byte) (int, error)

func (*ViewCustomerAutoIncrements) MarshalToSizedBuffer

func (m *ViewCustomerAutoIncrements) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ViewCustomerAutoIncrements) ProtoMessage

func (*ViewCustomerAutoIncrements) ProtoMessage()

func (*ViewCustomerAutoIncrements) Reset

func (m *ViewCustomerAutoIncrements) Reset()

func (*ViewCustomerAutoIncrements) Size

func (m *ViewCustomerAutoIncrements) Size() (n int)

func (*ViewCustomerAutoIncrements) String

func (m *ViewCustomerAutoIncrements) String() string

func (*ViewCustomerAutoIncrements) Swap

func (cc *ViewCustomerAutoIncrements) Swap(i, j int)

Swap will satisfy the sort.Interface. Auto generated via dmlgen.

func (*ViewCustomerAutoIncrements) Unmarshal

func (m *ViewCustomerAutoIncrements) Unmarshal(dAtA []byte) error

func (*ViewCustomerAutoIncrements) UnmarshalBinary

func (cc *ViewCustomerAutoIncrements) UnmarshalBinary(data []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler.

func (*ViewCustomerAutoIncrements) UnmarshalEasyJSON

func (v *ViewCustomerAutoIncrements) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ViewCustomerAutoIncrements) UnmarshalJSON

func (v *ViewCustomerAutoIncrements) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*ViewCustomerAutoIncrements) Validate

func (cc *ViewCustomerAutoIncrements) Validate() (err error)

Validate runs internal consistency tests on all items.

func (*ViewCustomerAutoIncrements) WriteTo

func (cc *ViewCustomerAutoIncrements) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*ViewCustomerAutoIncrements) XXX_DiscardUnknown

func (m *ViewCustomerAutoIncrements) XXX_DiscardUnknown()

func (*ViewCustomerAutoIncrements) XXX_Marshal

func (m *ViewCustomerAutoIncrements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewCustomerAutoIncrements) XXX_Merge

func (m *ViewCustomerAutoIncrements) XXX_Merge(src proto.Message)

func (*ViewCustomerAutoIncrements) XXX_Size

func (m *ViewCustomerAutoIncrements) XXX_Size() int

func (*ViewCustomerAutoIncrements) XXX_Unmarshal

func (m *ViewCustomerAutoIncrements) XXX_Unmarshal(b []byte) error

type ViewCustomerNoAutoIncrement

type ViewCustomerNoAutoIncrement struct {
	Email     null.String `max_len:"255"` // email varchar(255) NULL  DEFAULT 'NULL'  "Email"
	Firstname string      `max_len:"255"` // firstname varchar(255) NOT NULL    "First Name"
	Lastname  string      `max_len:"255"` // lastname varchar(255) NOT NULL    "Last Name"
	City      string      `max_len:"255"` // city varchar(255) NOT NULL    "City"
}

ViewCustomerNoAutoIncrement represents a single row for DB table view_customer_no_auto_increment. Auto generated. Table comment: VIEW

func (*ViewCustomerNoAutoIncrement) Copy

Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards

func (*ViewCustomerNoAutoIncrement) Descriptor

func (*ViewCustomerNoAutoIncrement) Descriptor() ([]byte, []int)

func (*ViewCustomerNoAutoIncrement) Empty

Empty empties all the fields of the current object. Also known as Reset.

func (*ViewCustomerNoAutoIncrement) MapColumns

func (e *ViewCustomerNoAutoIncrement) MapColumns(cm *dml.ColumnMap) error

MapColumns implements interface ColumnMapper only partially. Auto generated.

func (*ViewCustomerNoAutoIncrement) Marshal

func (m *ViewCustomerNoAutoIncrement) Marshal() (dAtA []byte, err error)

func (ViewCustomerNoAutoIncrement) MarshalEasyJSON

func (v ViewCustomerNoAutoIncrement) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ViewCustomerNoAutoIncrement) MarshalJSON

func (v ViewCustomerNoAutoIncrement) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ViewCustomerNoAutoIncrement) MarshalTo

func (m *ViewCustomerNoAutoIncrement) MarshalTo(dAtA []byte) (int, error)

func (*ViewCustomerNoAutoIncrement) MarshalToSizedBuffer

func (m *ViewCustomerNoAutoIncrement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ViewCustomerNoAutoIncrement) ProtoMessage

func (*ViewCustomerNoAutoIncrement) ProtoMessage()

func (*ViewCustomerNoAutoIncrement) Reset

func (m *ViewCustomerNoAutoIncrement) Reset()

func (*ViewCustomerNoAutoIncrement) Size

func (m *ViewCustomerNoAutoIncrement) Size() (n int)

func (*ViewCustomerNoAutoIncrement) String

func (m *ViewCustomerNoAutoIncrement) String() string

func (*ViewCustomerNoAutoIncrement) Unmarshal

func (m *ViewCustomerNoAutoIncrement) Unmarshal(dAtA []byte) error

func (*ViewCustomerNoAutoIncrement) UnmarshalEasyJSON

func (v *ViewCustomerNoAutoIncrement) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ViewCustomerNoAutoIncrement) UnmarshalJSON

func (v *ViewCustomerNoAutoIncrement) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*ViewCustomerNoAutoIncrement) Validate

func (e *ViewCustomerNoAutoIncrement) Validate() error

Validate runs internal consistency tests.

func (*ViewCustomerNoAutoIncrement) WriteTo

func (e *ViewCustomerNoAutoIncrement) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*ViewCustomerNoAutoIncrement) XXX_DiscardUnknown

func (m *ViewCustomerNoAutoIncrement) XXX_DiscardUnknown()

func (*ViewCustomerNoAutoIncrement) XXX_Marshal

func (m *ViewCustomerNoAutoIncrement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewCustomerNoAutoIncrement) XXX_Merge

func (m *ViewCustomerNoAutoIncrement) XXX_Merge(src proto.Message)

func (*ViewCustomerNoAutoIncrement) XXX_Size

func (m *ViewCustomerNoAutoIncrement) XXX_Size() int

func (*ViewCustomerNoAutoIncrement) XXX_Unmarshal

func (m *ViewCustomerNoAutoIncrement) XXX_Unmarshal(b []byte) error

type ViewCustomerNoAutoIncrements

type ViewCustomerNoAutoIncrements struct {
	Data []*ViewCustomerNoAutoIncrement `json:"data,omitempty"`
}

ViewCustomerNoAutoIncrements represents a collection type for DB table view_customer_no_auto_increment Not thread safe. Auto generated.

func NewViewCustomerNoAutoIncrements

func NewViewCustomerNoAutoIncrements() *ViewCustomerNoAutoIncrements

NewViewCustomerNoAutoIncrements creates a new initialized collection. Auto generated.

func (*ViewCustomerNoAutoIncrements) Append

Append will add a new item at the end of * ViewCustomerNoAutoIncrements . Auto generated via dmlgen.

func (*ViewCustomerNoAutoIncrements) Cut

Cut will remove items i through j-1. Auto generated via dmlgen.

func (*ViewCustomerNoAutoIncrements) Delete

Delete will remove an item from the slice. Auto generated via dmlgen.

func (*ViewCustomerNoAutoIncrements) Descriptor

func (*ViewCustomerNoAutoIncrements) Descriptor() ([]byte, []int)

func (*ViewCustomerNoAutoIncrements) Each

Each will run function f on all items in []* ViewCustomerNoAutoIncrement . Auto generated via dmlgen.

func (*ViewCustomerNoAutoIncrements) Filter

Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.

func (*ViewCustomerNoAutoIncrements) Insert

Insert will place a new item at position i. Auto generated via dmlgen.

func (*ViewCustomerNoAutoIncrements) Len

Len will satisfy the sort.Interface. Auto generated via dmlgen.

func (*ViewCustomerNoAutoIncrements) MapColumns

func (cc *ViewCustomerNoAutoIncrements) MapColumns(cm *dml.ColumnMap) error

MapColumns implements dml.ColumnMapper interface. Auto generated.

func (*ViewCustomerNoAutoIncrements) Marshal

func (m *ViewCustomerNoAutoIncrements) Marshal() (dAtA []byte, err error)

func (*ViewCustomerNoAutoIncrements) MarshalBinary

func (cc *ViewCustomerNoAutoIncrements) MarshalBinary() (data []byte, err error)

MarshalBinary implements encoding.BinaryMarshaler.

func (ViewCustomerNoAutoIncrements) MarshalEasyJSON

func (v ViewCustomerNoAutoIncrements) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ViewCustomerNoAutoIncrements) MarshalJSON

func (v ViewCustomerNoAutoIncrements) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ViewCustomerNoAutoIncrements) MarshalTo

func (m *ViewCustomerNoAutoIncrements) MarshalTo(dAtA []byte) (int, error)

func (*ViewCustomerNoAutoIncrements) MarshalToSizedBuffer

func (m *ViewCustomerNoAutoIncrements) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ViewCustomerNoAutoIncrements) ProtoMessage

func (*ViewCustomerNoAutoIncrements) ProtoMessage()

func (*ViewCustomerNoAutoIncrements) Reset

func (m *ViewCustomerNoAutoIncrements) Reset()

func (*ViewCustomerNoAutoIncrements) Size

func (m *ViewCustomerNoAutoIncrements) Size() (n int)

func (*ViewCustomerNoAutoIncrements) String

func (*ViewCustomerNoAutoIncrements) Swap

func (cc *ViewCustomerNoAutoIncrements) Swap(i, j int)

Swap will satisfy the sort.Interface. Auto generated via dmlgen.

func (*ViewCustomerNoAutoIncrements) Unmarshal

func (m *ViewCustomerNoAutoIncrements) Unmarshal(dAtA []byte) error

func (*ViewCustomerNoAutoIncrements) UnmarshalBinary

func (cc *ViewCustomerNoAutoIncrements) UnmarshalBinary(data []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler.

func (*ViewCustomerNoAutoIncrements) UnmarshalEasyJSON

func (v *ViewCustomerNoAutoIncrements) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ViewCustomerNoAutoIncrements) UnmarshalJSON

func (v *ViewCustomerNoAutoIncrements) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (*ViewCustomerNoAutoIncrements) Validate

func (cc *ViewCustomerNoAutoIncrements) Validate() (err error)

Validate runs internal consistency tests on all items.

func (*ViewCustomerNoAutoIncrements) WriteTo

func (cc *ViewCustomerNoAutoIncrements) WriteTo(w io.Writer) (n int64, err error)

WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.

func (*ViewCustomerNoAutoIncrements) XXX_DiscardUnknown

func (m *ViewCustomerNoAutoIncrements) XXX_DiscardUnknown()

func (*ViewCustomerNoAutoIncrements) XXX_Marshal

func (m *ViewCustomerNoAutoIncrements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewCustomerNoAutoIncrements) XXX_Merge

func (m *ViewCustomerNoAutoIncrements) XXX_Merge(src proto.Message)

func (*ViewCustomerNoAutoIncrements) XXX_Size

func (m *ViewCustomerNoAutoIncrements) XXX_Size() int

func (*ViewCustomerNoAutoIncrements) XXX_Unmarshal

func (m *ViewCustomerNoAutoIncrements) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL