dmltestgenerated2

package
v0.0.0-...-202847b Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by corestoreio/pkg/util/codegen. DO NOT EDIT. Generated by sql/dmlgen. DO NOT EDIT.

Index

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

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

func (*CoreConfiguration) Empty

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.

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.

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

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

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

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.

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

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

func (*SalesOrderStatusState) Empty

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.

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.

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

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

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

func (*SalesOrderStatusStates) Delete

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

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

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.

Jump to

Keyboard shortcuts

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