init the project

This commit is contained in:
Zic
2017-12-23 18:02:11 +08:00
commit 81e14d12ea
54 changed files with 6829 additions and 0 deletions

View 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"
}