subscribeType

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model interface {
	// contains filtered or unexported methods
}

func NewModel

func NewModel(conn *gorm.DB, c *redis.Client) Model

NewModel returns a model for the database table.

type SubscribeType

type SubscribeType struct {
	Id        int64     `gorm:"primary_key"`
	Name      string    `gorm:"type:varchar(50);default:'';not null;comment:订阅类型"`
	Mark      string    `gorm:"type:varchar(255);default:'';not null;comment:订阅标识"`
	CreatedAt time.Time `gorm:"<-:create;comment:创建时间"`
	UpdatedAt time.Time `gorm:"comment:更新时间"`
}

func (SubscribeType) TableName

func (SubscribeType) TableName() string

Jump to

Keyboard shortcuts

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