product

package
v0.0.0-...-2cd4ea5 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count struct {
	eel.Model
	Type   string `gorm:"size:125"`
	CorpId int
	Count  int
}

func (*Count) TableIndex

func (this *Count) TableIndex() [][]string

func (*Count) TableName

func (this *Count) TableName() string

type FreePostageConfig

type FreePostageConfig struct {
	eel.Model
	CorpId          int `gorm:"index"` //foreign key for corp
	PostageConfigId int `gorm:"index"`
	Destination     string
	Condition       string
	ConditionValue  string
}

FreePostageConfig Model

func (*FreePostageConfig) TableName

func (self *FreePostageConfig) TableName() string

type LimitZone

type LimitZone struct {
	eel.Model
	CorpId int    `gorm:"index"` //foreign key for corp
	Name   string `gorm:"size:64"`
	Areas  string `gorm:"type:text"`
}

LimitZone Model

func (*LimitZone) TableName

func (self *LimitZone) TableName() string

type PostageConfig

type PostageConfig struct {
	eel.Model
	CorpId                     int `gorm:"index"` //foreign key for corp
	SpecialAreaPostageConfigId int //foreign key special_area_postage_config
	FreePostageConfigId        int //foreign key free_postage_config
	Name                       string
	FirstWeight                float64
	FirstWeightPrice           float64
	AddedWeight                float64
	AddedWeightPrice           float64
	IsUsed                     bool `gorm:"default:false"`
	IsSystemLevelConfig        bool `gorm:"default:false"`
	IsEnableSpecialConfig      bool `gorm:"default:false"`
	IsEnableFreeConfig         bool `gorm:"default:false"`
	IsEnabled                  bool
	IsDeleted                  bool
}

PostageConfig Model

func (*PostageConfig) TableIndex

func (this *PostageConfig) TableIndex() [][]string

func (*PostageConfig) TableName

func (self *PostageConfig) TableName() string

type ShipInfo

type ShipInfo struct {
	eel.Model
	UserId    int
	Name      string
	Phone     string
	Area      string `gorm:"size:256"`
	AreaCode  string `gorm:"size:256"`
	AreaJson  string `gorm:"size:2048"`
	Address   string
	IsDefault bool `gorm:"default:false"`
	IsEnabled bool
	IsDeleted bool
}

ShipInfo Model

func (*ShipInfo) TableIndex

func (this *ShipInfo) TableIndex() [][]string

func (*ShipInfo) TableName

func (self *ShipInfo) TableName() string

type ShoppingCartItem

type ShoppingCartItem struct {
	eel.Model
	UserId                int
	CorpId                int
	ProductId             int
	ProductSkuName        string `gorm:"size:256"`
	ProductSkuDisplayName string `gorm:"size:256"`
	Count                 int
}

ShoppingCartItem Model

func (*ShoppingCartItem) TableIndex

func (this *ShoppingCartItem) TableIndex() [][]string

func (*ShoppingCartItem) TableName

func (self *ShoppingCartItem) TableName() string

type SpecialAreaPostageConfig

type SpecialAreaPostageConfig struct {
	eel.Model
	CorpId           int `gorm:"index"` //foreign key for corp
	PostageConfigId  int `gorm:"index"`
	FirstWeight      float64
	FirstWeightPrice float64
	AddedWeight      float64
	AddedWeightPrice float64
	Destination      string
}

SpecialAreaPostageConfig Model

func (*SpecialAreaPostageConfig) TableName

func (self *SpecialAreaPostageConfig) TableName() string

Jump to

Keyboard shortcuts

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