Documentation ¶
Overview ¶
Code generated by corestoreio/pkg/util/codegen. DO NOT EDIT. Generated by sql/dmlgen. DO NOT EDIT.
Index ¶
- type CoreConfiguration
- type CoreConfigurations
- func (cc *CoreConfigurations) Append(n ...*CoreConfiguration) *CoreConfigurations
- func (cc *CoreConfigurations) Clear() *CoreConfigurations
- func (cc *CoreConfigurations) Cut(i, j int) *CoreConfigurations
- func (cc *CoreConfigurations) Delete(i int) *CoreConfigurations
- func (cc *CoreConfigurations) Each(f func(*CoreConfiguration)) *CoreConfigurations
- func (cc *CoreConfigurations) Filter(f func(*CoreConfiguration) bool) *CoreConfigurations
- func (cc *CoreConfigurations) Insert(n *CoreConfiguration, i int) *CoreConfigurations
- func (cc *CoreConfigurations) Len() int
- func (cc *CoreConfigurations) Swap(i, j int)
- func (cc *CoreConfigurations) Validate() (err error)
- func (cc *CoreConfigurations) WriteTo(w io.Writer) (n int64, err error)
- type SalesOrderStatusState
- type SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Append(n ...*SalesOrderStatusState) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Clear() *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Cut(i, j int) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Delete(i int) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Each(f func(*SalesOrderStatusState)) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Filter(f func(*SalesOrderStatusState) bool) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Insert(n *SalesOrderStatusState, i int) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Len() int
- func (cc *SalesOrderStatusStates) Swap(i, j int)
- func (cc *SalesOrderStatusStates) Validate() (err error)
- func (cc *SalesOrderStatusStates) WriteTo(w io.Writer) (n int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreConfiguration ¶
type CoreConfiguration struct { ConfigID uint32 // config_id int(10) unsigned NOT NULL PRI auto_increment "Id" Scope string // scope varchar(8) NOT NULL MUL DEFAULT ”default” "Scope" ScopeID int32 // scope_id int(11) NOT NULL DEFAULT '0' "Scope Id" Expires null.Time // expires datetime NULL DEFAULT 'NULL' "Value expiration time" Path string // path varchar(255) NOT NULL "Path" Value null.String // value text NULL DEFAULT 'NULL' "Value" VersionTs time.Time // version_ts timestamp(6) NOT NULL STORED GENERATED "Timestamp Start Versioning" VersionTe time.Time // 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) Copy ¶
func (e *CoreConfiguration) Copy() *CoreConfiguration
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*CoreConfiguration) Empty ¶
func (e *CoreConfiguration) Empty() *CoreConfiguration
Empty empties all the fields of the current object. Also known as Reset.
func (*CoreConfiguration) Validate ¶
func (e *CoreConfiguration) Validate() error
Validate runs internal consistency tests.
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 ¶
func (cc *CoreConfigurations) Append(n ...*CoreConfiguration) *CoreConfigurations
Append will add a new item at the end of * CoreConfigurations . Auto generated via dmlgen.
func (*CoreConfigurations) Clear ¶
func (cc *CoreConfigurations) Clear() *CoreConfigurations
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
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) Delete ¶
func (cc *CoreConfigurations) Delete(i int) *CoreConfigurations
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*CoreConfigurations) Each ¶
func (cc *CoreConfigurations) Each(f func(*CoreConfiguration)) *CoreConfigurations
Each will run function f on all items in []* CoreConfiguration . Auto generated via dmlgen.
func (*CoreConfigurations) Filter ¶
func (cc *CoreConfigurations) Filter(f func(*CoreConfiguration) bool) *CoreConfigurations
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*CoreConfigurations) Insert ¶
func (cc *CoreConfigurations) Insert(n *CoreConfiguration, i int) *CoreConfigurations
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) Swap ¶
func (cc *CoreConfigurations) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CoreConfigurations) Validate ¶
func (cc *CoreConfigurations) Validate() (err error)
Validate runs internal consistency tests on all items.
type SalesOrderStatusState ¶
type SalesOrderStatusState struct { Status string // status varchar(32) NOT NULL PRI "Status" State string // state varchar(32) NOT NULL PRI "Label" IsDefault bool // is_default smallint(5) unsigned NOT NULL DEFAULT '0' "Is Default" VisibleOnFront uint16 // 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 ¶
func (e *SalesOrderStatusState) Copy() *SalesOrderStatusState
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*SalesOrderStatusState) Empty ¶
func (e *SalesOrderStatusState) Empty() *SalesOrderStatusState
Empty empties all the fields of the current object. Also known as Reset.
func (*SalesOrderStatusState) Validate ¶
func (e *SalesOrderStatusState) Validate() error
Validate runs internal consistency tests.
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 ¶
func (cc *SalesOrderStatusStates) Append(n ...*SalesOrderStatusState) *SalesOrderStatusStates
Append will add a new item at the end of * SalesOrderStatusStates . Auto generated via dmlgen.
func (*SalesOrderStatusStates) Clear ¶
func (cc *SalesOrderStatusStates) Clear() *SalesOrderStatusStates
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Cut ¶
func (cc *SalesOrderStatusStates) Cut(i, j int) *SalesOrderStatusStates
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Delete ¶
func (cc *SalesOrderStatusStates) Delete(i int) *SalesOrderStatusStates
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Each ¶
func (cc *SalesOrderStatusStates) Each(f func(*SalesOrderStatusState)) *SalesOrderStatusStates
Each will run function f on all items in []* SalesOrderStatusState . Auto generated via dmlgen.
func (*SalesOrderStatusStates) Filter ¶
func (cc *SalesOrderStatusStates) Filter(f func(*SalesOrderStatusState) bool) *SalesOrderStatusStates
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Insert ¶
func (cc *SalesOrderStatusStates) Insert(n *SalesOrderStatusState, i int) *SalesOrderStatusStates
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) Swap ¶
func (cc *SalesOrderStatusStates) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Validate ¶
func (cc *SalesOrderStatusStates) Validate() (err error)
Validate runs internal consistency tests on all items.