mirror of
https://github.com/Damillora/Shioriko.git
synced 2024-11-14 01:17:31 +00:00
21 lines
388 B
Go
21 lines
388 B
Go
package database
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Blob struct {
|
|
ID string `gorm:"size:36"`
|
|
FilePath string
|
|
PreviewFilePath string
|
|
ThumbnailFilePath string
|
|
Width int
|
|
Height int
|
|
Hash1 []byte
|
|
Hash2 []byte
|
|
Hash3 []byte
|
|
Hash4 []byte
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|