Finish the UI of share.
This commit is contained in:
@ -25,11 +25,13 @@ type Share struct {
|
||||
Base
|
||||
Name string `json:"name" gorm:"type:varchar(255)"`
|
||||
ShareType string `json:"shareType" gorm:"type:varchar(45)"`
|
||||
Username string `json:"username" gorm:"type:varchar(45)"`
|
||||
UserUuid string `json:"userUuid" gorm:"type:char(36)"`
|
||||
DownloadTimes int64 `json:"downloadTimes" gorm:"type:bigint(20) not null;default:0"`
|
||||
Code string `json:"code" gorm:"type:varchar(45) not null"`
|
||||
ExpireInfinity bool `json:"expireInfinity" gorm:"type:tinyint(1) not null;default:0"`
|
||||
ExpireTime time.Time `json:"expireTime" gorm:"type:timestamp not null;default:'2018-01-01 00:00:00'"`
|
||||
DirMatter *Matter `json:"dirMatter" gorm:"-"`
|
||||
Matters []*Matter `json:"matters" gorm:"-"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user