model

package
v0.0.0-...-dee2217 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct{}

func (Category) TableName

func (Category) TableName() string

type Image

type Image struct {
	Id       int64
	Filename string
	Data     []byte
	TempDir  string
}

type Spu

type Spu struct {
	SpuId               int64
	Name                string
	CreatorId           int64
	Description         string
	CategoryId          int64
	GoodsHeadDrawing    []byte
	Price               float64
	ForSale             int
	Shipping            float64
	CreatedAt           int64
	UpdatedAt           int64
	DeletedAt           int64
	GoodsHeadDrawingUrl string
}

type SpuImage

type SpuImage struct {
	ImageID   int64
	SpuID     int64
	Url       string
	CreatedAt int64
	UpdatedAt int64
	DeletedAt int64
	Data      []byte
}

type SpuImages

type SpuImages struct {
	Images []*SpuImage
	Total  int64
}

Jump to

Keyboard shortcuts

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