You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
402 B
25 lines
402 B
9 months ago
|
package model
|
||
|
|
||
|
import (
|
||
|
"pure-admin/global"
|
||
|
)
|
||
|
|
||
|
// file struct, 文件结构体
|
||
|
type ExaFile struct {
|
||
|
FileName string
|
||
|
FileMd5 string
|
||
|
FilePath string
|
||
|
ExaFileChunk []ExaFileChunk
|
||
|
ChunkTotal int
|
||
|
IsFinish bool
|
||
|
global.MG_MODEL
|
||
|
}
|
||
|
|
||
|
// file chunk struct, 切片结构体
|
||
|
type ExaFileChunk struct {
|
||
|
ExaFileID uint
|
||
|
FileChunkNumber int
|
||
|
FileChunkPath string
|
||
|
global.MG_MODEL
|
||
|
}
|