sms_home_advertise

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() *smsHomeAdvertiseQueryBuilder

Types

type SmsHomeAdvertise

type SmsHomeAdvertise struct {
	Id         int64     //
	Name       string    //
	Type       int32     // 轮播位置:0->PC首页轮播;1->app首页轮播
	Pic        string    //
	StartTime  time.Time `gorm:"type:time;default:'1000-01-01 00:00:00'"` //
	EndTime    time.Time `gorm:"type:time;default:'1000-01-01 00:00:00'"` //
	Status     int32     // 上下线状态:0->下线;1->上线
	ClickCount int32     // 点击数
	OrderCount int32     // 下单数
	Url        string    // 链接地址
	Note       string    // 备注
	Sort       int32     // 排序
}

SmsHomeAdvertise 首页轮播广告表

func NewModel

func NewModel() *SmsHomeAdvertise

func (*SmsHomeAdvertise) Create

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