mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
audio model
This commit is contained in:
parent
bb05ab158d
commit
eaec5c09f0
11
ShadowEditor.Server.Go/model/audio/edit_model.go
Normal file
11
ShadowEditor.Server.Go/model/audio/edit_model.go
Normal file
@ -0,0 +1,11 @@
|
||||
package audio
|
||||
|
||||
// EditModel 音频编辑模型
|
||||
type EditModel struct {
|
||||
// ID
|
||||
ID string
|
||||
// 名称
|
||||
Name string
|
||||
// 类别
|
||||
Category string
|
||||
}
|
||||
29
ShadowEditor.Server.Go/model/audio/model.go
Normal file
29
ShadowEditor.Server.Go/model/audio/model.go
Normal file
@ -0,0 +1,29 @@
|
||||
package audio
|
||||
|
||||
import "time"
|
||||
|
||||
// Model 音频模型
|
||||
type Model struct {
|
||||
// ID
|
||||
ID string
|
||||
// 名称
|
||||
Name string
|
||||
// 类别ID
|
||||
CategoryID string
|
||||
// 类别名称
|
||||
CategoryName string
|
||||
// 全拼
|
||||
TotalPinYin string
|
||||
// 首字母拼音
|
||||
FirstPinYin string
|
||||
// 类型
|
||||
Type string
|
||||
// 下载地址
|
||||
URL string
|
||||
// 版本号
|
||||
Version int
|
||||
// 创建时间
|
||||
CreateTime time.Time
|
||||
// 最后更新时间
|
||||
UpdateTime time.Time
|
||||
}
|
||||
9
ShadowEditor.Server.Go/model/audio/save_model.go
Normal file
9
ShadowEditor.Server.Go/model/audio/save_model.go
Normal file
@ -0,0 +1,9 @@
|
||||
package audio
|
||||
|
||||
// SaveModel 音频保存模型
|
||||
type SaveModel struct {
|
||||
// ID
|
||||
ID string
|
||||
// 名称
|
||||
Name string
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user