tank/rest/preference_model.go
2017-12-25 14:32:18 +08:00

16 lines
360 B
Go

package rest
type Preference struct {
Base
Name string `json:"name"`
LogoUrl string `json:"logoUrl"`
FaviconUrl string `json:"faviconUrl"`
FooterLine1 string `json:"footerLine1"`
FooterLine2 string `json:"footerLine2"`
}
// set File's table name to be `profiles`
func (Preference) TableName() string {
return TABLE_PREFIX + "preference"
}