Self Order
This commit is contained in:
@@ -19,6 +19,7 @@ type Table struct {
|
||||
PositionX float64 `gorm:"type:decimal(10,2);default:0.00" json:"position_x"`
|
||||
PositionY float64 `gorm:"type:decimal(10,2);default:0.00" json:"position_y"`
|
||||
Capacity int `gorm:"default:4" json:"capacity"`
|
||||
Token string `gorm:"uniqueIndex;size:100" json:"token"`
|
||||
IsActive bool `gorm:"default:true" json:"is_active"`
|
||||
Metadata Metadata `gorm:"type:jsonb;default:'{}'" json:"metadata"`
|
||||
CreatedAt time.Time `gorm:"autoCreateTime" json:"created_at"`
|
||||
|
||||
Reference in New Issue
Block a user