init the project
This commit is contained in:
17
rest/download_token_model.go
Normal file
17
rest/download_token_model.go
Normal file
@ -0,0 +1,17 @@
|
||||
package rest
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type DownloadToken struct {
|
||||
Base
|
||||
UserUuid string `json:"userUuid"`
|
||||
MatterUuid string `json:"matterUuid"`
|
||||
ExpireTime time.Time `json:"expireTime"`
|
||||
Ip string `json:"ip"`
|
||||
}
|
||||
|
||||
func (DownloadToken) TableName() string {
|
||||
return TABLE_PREFIX + "download_token"
|
||||
}
|
Reference in New Issue
Block a user