dmltestgenerated3

package
v0.0.0-...-02de949 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 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 CatalogCategoryEntities

type CatalogCategoryEntities struct {
	Data []*CatalogCategoryEntity `json:"data,omitempty"`
}

CatalogCategoryEntities represents a collection type for DB table catalog_category_entity Not thread safe. Auto generated.

func NewCatalogCategoryEntities

func NewCatalogCategoryEntities() *CatalogCategoryEntities

NewCatalogCategoryEntities creates a new initialized collection. Auto generated.

type CatalogCategoryEntity

type CatalogCategoryEntity struct {
	EntityID  uint32 // entity_id int(10) unsigned NOT NULL MUL   "Entity Id"
	RowID     uint32 // row_id int(10) unsigned NOT NULL PRI  auto_increment "Version Id"
	Relations *catalogCategoryEntityRelations
}

CatalogCategoryEntity represents a single row for DB table catalog_category_entity. Auto generated. Table comment: Catalog Category Table

func (*CatalogCategoryEntity) NewRelations

func (e *CatalogCategoryEntity) NewRelations() *catalogCategoryEntityRelations

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.

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"
	Firstname   string      `max_len:"255"`   // firstname varchar(255) NOT NULL    "First Name"
	Lastname    string      `max_len:"255"`   // lastname varchar(255) NOT NULL    "Last Name"
	Postcode    null.String `max_len:"255"`   // postcode varchar(255) NULL  DEFAULT 'NULL'  "Zip/Postal Code"
	Region      null.String `max_len:"255"`   // region varchar(255) NULL  DEFAULT 'NULL'  "State/Province"
	Street      string      `max_len:"65535"` // street text NOT NULL    "Street Address"
}

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

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.

type CustomerEntity

type CustomerEntity struct {
	EntityID         uint32      `max_len:"10"`  // entity_id int(10) unsigned NOT NULL PRI  auto_increment "Entity ID"
	WebsiteID        null.Uint16 `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          uint16      `max_len:"5"`   // group_id smallint(5) unsigned NOT NULL  DEFAULT '0'  "Group ID"
	StoreID          null.Uint16 `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"
	CreatedIn        null.String `max_len:"255"` // created_in varchar(255) NULL  DEFAULT 'NULL'  "Created From"
	Firstname        null.String `max_len:"255"` // firstname varchar(255) NULL MUL DEFAULT 'NULL'  "First Name"
	Lastname         null.String `max_len:"255"` // lastname varchar(255) NULL MUL DEFAULT 'NULL'  "Last Name"
	Dob              null.Time   // dob date NULL  DEFAULT 'NULL'  "Date of Birth"
	PasswordHash     null.String `max_len:"128"` // password_hash varchar(128) NULL  DEFAULT 'NULL'  "Password_hash"
	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"
	Gender           null.Uint16 `max_len:"5"`  // gender smallint(5) unsigned NULL  DEFAULT 'NULL'  "Gender"
	Relations        *customerEntityRelations
}

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

func (*CustomerEntity) NewRelations

func (e *CustomerEntity) NewRelations() *customerEntityRelations

type SequenceCatalogCategories

type SequenceCatalogCategories struct {
	Data []*SequenceCatalogCategory `json:"data,omitempty"`
}

SequenceCatalogCategories represents a collection type for DB table sequence_catalog_category Not thread safe. Auto generated.

func NewSequenceCatalogCategories

func NewSequenceCatalogCategories() *SequenceCatalogCategories

NewSequenceCatalogCategories creates a new initialized collection. Auto generated.

type SequenceCatalogCategory

type SequenceCatalogCategory struct {
	SequenceValue uint32 // sequence_value int(10) unsigned NOT NULL PRI  auto_increment ""
	Relations     *sequenceCatalogCategoryRelations
}

SequenceCatalogCategory represents a single row for DB table sequence_catalog_category. Auto generated.

func (*SequenceCatalogCategory) NewRelations

func (e *SequenceCatalogCategory) NewRelations() *sequenceCatalogCategoryRelations

type Store

type Store struct {
	StoreID   uint16      `max_len:"5"`   // store_id smallint(5) unsigned NOT NULL PRI  auto_increment "Store Id"
	Code      null.String `max_len:"32"`  // code varchar(32) NULL UNI DEFAULT 'NULL'  "Code"
	WebsiteID uint16      `max_len:"5"`   // website_id smallint(5) unsigned NOT NULL MUL DEFAULT '0'  "Website Id"
	GroupID   uint16      `max_len:"5"`   // group_id smallint(5) unsigned NOT NULL MUL DEFAULT '0'  "Group Id"
	Name      string      `max_len:"255"` // name varchar(255) NOT NULL    "Store Name"
	SortOrder uint16      `max_len:"5"`   // sort_order smallint(5) unsigned NOT NULL  DEFAULT '0'  "Store Sort Order"
	IsActive  bool        `max_len:"5"`   // is_active smallint(5) unsigned NOT NULL MUL DEFAULT '0'  "Store Activity"
	Relations *storeRelations
}

Store represents a single row for DB table store. Auto generated. Table comment: Stores

func (*Store) NewRelations

func (e *Store) NewRelations() *storeRelations

type StoreGroup

type StoreGroup struct {
	GroupID        uint16      // group_id smallint(5) unsigned NOT NULL PRI  auto_increment "Group Id"
	WebsiteID      uint16      // website_id smallint(5) unsigned NOT NULL MUL DEFAULT '0'  "Website Id"
	Name           string      // name varchar(255) NOT NULL    "Store Group Name"
	RootCategoryID uint32      // root_category_id int(10) unsigned NOT NULL  DEFAULT '0'  "Root Category Id"
	DefaultStoreID uint16      // default_store_id smallint(5) unsigned NOT NULL MUL DEFAULT '0'  "Default Store Id"
	Code           null.String // code varchar(32) NULL UNI DEFAULT 'NULL'  "Store group unique code"
	Relations      *storeGroupRelations
}

StoreGroup represents a single row for DB table store_group. Auto generated. Table comment: Store Groups

func (*StoreGroup) NewRelations

func (e *StoreGroup) NewRelations() *storeGroupRelations

type StoreGroups

type StoreGroups struct {
	Data []*StoreGroup `json:"data,omitempty"`
}

StoreGroups represents a collection type for DB table store_group Not thread safe. Auto generated.

func NewStoreGroups

func NewStoreGroups() *StoreGroups

NewStoreGroups creates a new initialized collection. Auto generated.

type StoreWebsite

type StoreWebsite struct {
	WebsiteID      uint16      // website_id smallint(5) unsigned NOT NULL PRI  auto_increment "Website Id"
	Code           null.String // code varchar(32) NULL UNI DEFAULT 'NULL'  "Code"
	Name           null.String // name varchar(64) NULL  DEFAULT 'NULL'  "Website Name"
	SortOrder      uint16      // sort_order smallint(5) unsigned NOT NULL MUL DEFAULT '0'  "Sort Order"
	DefaultGroupID uint16      // default_group_id smallint(5) unsigned NOT NULL MUL DEFAULT '0'  "Default Group Id"
	IsDefault      null.Bool   // is_default smallint(5) unsigned NULL  DEFAULT '0'  "Defines Is Website Default"
	Relations      *storeWebsiteRelations
}

StoreWebsite represents a single row for DB table store_website. Auto generated. Table comment: Websites

func (*StoreWebsite) NewRelations

func (e *StoreWebsite) NewRelations() *storeWebsiteRelations

type StoreWebsites

type StoreWebsites struct {
	Data []*StoreWebsite `json:"data,omitempty"`
}

StoreWebsites represents a collection type for DB table store_website Not thread safe. Auto generated.

func NewStoreWebsites

func NewStoreWebsites() *StoreWebsites

NewStoreWebsites creates a new initialized collection. Auto generated.

type Stores

type Stores struct {
	Data []*Store `json:"data,omitempty"`
}

Stores represents a collection type for DB table store Not thread safe. Auto generated.

func NewStores

func NewStores() *Stores

NewStores creates a new initialized collection. Auto generated.

Jump to

Keyboard shortcuts

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