sms_flash_promotion_session

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

Types

type SmsFlashPromotionSession

type SmsFlashPromotionSession struct {
	Id         int64     // 编号
	Name       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->启用
	CreateTime time.Time `gorm:"autoCreateTime"` // 创建时间
}

SmsFlashPromotionSession 限时购场次表

func NewModel

func NewModel() *SmsFlashPromotionSession

func (*SmsFlashPromotionSession) Create

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