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.
18 lines
313 B
18 lines
313 B
|
8 years ago
|
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"
|
||
|
|
}
|