小程序一些功能更新

This commit is contained in:
李琦
2026-09-29 10:57:01 +08:00
parent 0cb70a7618
commit 3bb7fa8db3
96 changed files with 13890 additions and 213 deletions

View File

@@ -0,0 +1,23 @@
package entity
import "github.com/gogf/gf/v2/os/gtime"
// EventTables 圆桌(画布上一个可拖拽的圆桌)。
//
// T04 新增:TableType 桌型(0 普通 / 1 主桌 / 2 签到台 / 3 媒体席 / 4 备用桌 / 9 其他)、
// Remark 桌备注、ExcludeAuto 是否不参与自动排序(1=不参与)。老数据回退默认值(S14)。
type EventTables struct {
Id int64 `json:"id"`
EventId int64 `json:"event_id"`
TableNo string `json:"table_no"`
Name string `json:"name"`
X int `json:"x"`
Y int `json:"y"`
Capacity int `json:"capacity"` // 每桌人数,同步生成 1..Capacity 个座位;特殊桌可为 0
Rotation int `json:"rotation"`
TableType int `json:"table_type"` // 桌型:0普通 1主桌 2签到台 3媒体席 4备用桌 9其他
Remark string `json:"remark"` // 桌备注
ExcludeAuto int `json:"exclude_auto"` // 1=不参与自动排序
CreatedAt *gtime.Time `json:"created_at"`
UpdatedAt *gtime.Time `json:"updated_at"`
}