pms_comment

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryBuilder

func NewQueryBuilder() *pmsCommentQueryBuilder

Types

type PmsComment

type PmsComment struct {
	Id               int64     //
	ProductId        int64     //
	MemberNickName   string    //
	ProductName      string    //
	Star             int32     // 评价星数:0->5
	MemberIp         string    // 评价的ip
	CreateTime       time.Time `gorm:"autoCreateTime"` //
	ShowStatus       int32     //
	ProductAttribute string    // 购买时的商品属性
	CollectCouont    int32     //
	ReadCount        int32     //
	Content          string    //
	Pics             string    // 上传图片地址,以逗号隔开
	MemberIcon       string    // 评论用户头像
	ReplayCount      int32     //
}

PmsComment 商品评价表

func NewModel

func NewModel() *PmsComment

func (*PmsComment) Create

func (t *PmsComment) 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