sms_flash_promotion

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

Types

type SmsFlashPromotion

type SmsFlashPromotion struct {
	Id         int64     //
	Title      string    // 秒杀时间段名称
	StartDate  time.Time `gorm:"type:date;default:'1000-01-01'"` // 开始日期
	EndDate    time.Time `gorm:"type:date;default:'1000-01-01'"` // 结束日期
	Status     int32     // 上下线状态
	CreateTime time.Time `gorm:"autoCreateTime"` // 创建时间
}

SmsFlashPromotion 限时购表

func NewModel

func NewModel() *SmsFlashPromotion

func (*SmsFlashPromotion) Create

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