Finish all the work of physics file.

This commit is contained in:
zicla
2019-04-10 01:59:20 +08:00
parent 7f7fba0425
commit ef78a26c7a
7 changed files with 103 additions and 39 deletions

View File

@ -9,6 +9,7 @@ type ImageCache struct {
UserUuid string `json:"userUuid" gorm:"type:char(36)"`
Username string `json:"username" gorm:"type:varchar(45) not null"`
MatterUuid string `json:"matterUuid" gorm:"type:char(36);index:idx_mu"`
MatterName string `json:"matterName" gorm:"type:varchar(255) not null"`
Mode string `json:"mode" gorm:"type:varchar(512)"`
Md5 string `json:"md5" gorm:"type:varchar(45)"`
Size int64 `json:"size" gorm:"type:bigint(20) not null;default:0"`