performance

package
v0.0.0-...-861475b Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = sqlx.ErrNotFound

Functions

This section is empty.

Types

type Performance

type Performance struct {
	Id             int64     `db:"id"`               // ID
	Title          string    `db:"title"`            // 标题
	Description    string    `db:"description"`      // 描述
	City           string    `db:"city"`             // 所在城市
	Address        string    `db:"address"`          // 具体地址
	PrioritySaleAt int64     `db:"priority_sale_at"` // 优先购开售时间
	SaleAt         int64     `db:"sale_at"`          // 开售时间
	CreatedAt      time.Time `db:"created_at"`       // 创建时间
	UpdatedAt      time.Time `db:"updated_at"`       // 更新时间
	IsDel          int64     `db:"is_del"`           // 是否删除: 0=未指定、1=是、2=否: 默认=2
}

type PerformanceModel

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

PerformanceModel is an interface to be customized, add more methods here, and implement the added methods in customPerformanceModel.

func NewPerformanceModel

func NewPerformanceModel(conn sqlx.SqlConn) PerformanceModel

NewPerformanceModel returns a model for the database table.

Jump to

Keyboard shortcuts

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