Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = sqlx.ErrNotFound
Functions ¶
This section is empty.
Types ¶
type PerformanceSeat ¶
type PerformanceSeat struct { Id int64 `db:"id"` // ID SessionId int64 `db:"session_id"` // 关联的演出场次ID Seat string `db:"seat"` // 席位,对应演出活动场次表中的席位 Row int64 `db:"row"` // 座位所在行 Col int64 `db:"col"` // 座位所在列 Status int64 `db:"status"` // 预定状态:1=已预定、2=未预定:默认=2 CreatedAt time.Time `db:"created_at"` // 创建时间 UpdatedAt time.Time `db:"updated_at"` // 更新时间 IsDel int64 `db:"is_del"` // 是否删除: 0=未指定、1=是、2=否: 默认=2 }
type PerformanceSeatModel ¶
type PerformanceSeatModel interface {
// contains filtered or unexported methods
}
PerformanceSeatModel is an interface to be customized, add more methods here, and implement the added methods in customPerformanceSeatModel.
func NewPerformanceSeatModel ¶
func NewPerformanceSeatModel(conn sqlx.SqlConn) PerformanceSeatModel
NewPerformanceSeatModel returns a model for the database table.
Click to show internal directories.
Click to hide internal directories.