新增: SFTP直连+网站预览+OSS区域嗅探+热键+BGM播放
This commit is contained in:
12
internal/storage/models/bgm_playlist.go
Normal file
12
internal/storage/models/bgm_playlist.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package models
|
||||
|
||||
// BgmPlaylist BGM 播放列表持久化
|
||||
type BgmPlaylist struct {
|
||||
ID uint `gorm:"primaryKey"`
|
||||
Name string `gorm:"not null;size:255"`
|
||||
Path string `gorm:"not null;size:500;uniqueIndex"`
|
||||
ProfileID string `gorm:"type:varchar(50)" json:"profile_id"`
|
||||
Sort uint `gorm:"not null"`
|
||||
}
|
||||
|
||||
func (BgmPlaylist) TableName() string { return "bgm_playlist" }
|
||||
Reference in New Issue
Block a user