Files
SingBox-Gopanel/internal/model/server_route.go
CN-JS-HuiBai 1ed31b9292
All checks were successful
build / build (api, amd64, linux) (push) Successful in -47s
build / build (api, arm64, linux) (push) Successful in -48s
build / build (api.exe, amd64, windows) (push) Successful in -47s
first commit
2026-04-17 09:49:16 +08:00

16 lines
549 B
Go

package model
type ServerRoute struct {
ID int `gorm:"primaryKey;column:id" json:"id"`
Remarks *string `gorm:"column:remarks" json:"remarks"`
Match *string `gorm:"column:match" json:"match"`
Action *string `gorm:"column:action" json:"action"`
ActionValue *string `gorm:"column:action_value" json:"action_value"`
CreatedAt int64 `gorm:"column:created_at" json:"created_at"`
UpdatedAt int64 `gorm:"column:updated_at" json:"updated_at"`
}
func (ServerRoute) TableName() string {
return "v2_server_route"
}