pms_sku_stock

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryBuilder

func NewQueryBuilder() *pmsSkuStockQueryBuilder

Types

type PmsSkuStock

type PmsSkuStock struct {
	Id             int64   //
	ProductId      int64   //
	SkuCode        string  // sku编码
	Price          float64 //
	Stock          int32   // 库存
	LowStock       int32   // 预警库存
	Pic            string  // 展示图片
	Sale           int32   // 销量
	PromotionPrice float64 // 单品促销价格
	LockStock      int32   // 锁定库存
	SpData         string  // 商品销售属性,json格式
}

PmsSkuStock sku的库存

func NewModel

func NewModel() *PmsSkuStock

func (*PmsSkuStock) Create

func (t *PmsSkuStock) Create(db *gorm.DB) (id int64, err error)

Jump to

Keyboard shortcuts

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