phoenix/database/links.go

10 lines
191 B
Go
Raw Normal View History

2023-07-22 15:24:01 +05:00
package database
2023-04-06 10:36:11 +05:00
type Link struct {
2023-04-06 10:37:48 +05:00
ID uint64 `gorm:"primaryKey"`
2023-04-06 10:36:11 +05:00
Name string `gorm:"notNull"`
Href string `gorm:"notNull"`
2023-04-06 10:37:48 +05:00
GroupID uint64 `gorm:"notNull"`
2023-09-03 19:08:33 +05:00
Icon *string
2023-04-06 10:36:11 +05:00
}