mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-12 14:50:25 +08:00
阶段性提交
This commit is contained in:
18
internal/db/models/file_chunk_model.go
Normal file
18
internal/db/models/file_chunk_model.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
//
|
||||
type FileChunk struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
FileId uint32 `field:"fileId"` // 文件ID
|
||||
Data string `field:"data"` // 分块内容
|
||||
}
|
||||
|
||||
type FileChunkOperator struct {
|
||||
Id interface{} // ID
|
||||
FileId interface{} // 文件ID
|
||||
Data interface{} // 分块内容
|
||||
}
|
||||
|
||||
func NewFileChunkOperator() *FileChunkOperator {
|
||||
return &FileChunkOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user