17 lines
397 B
Go
17 lines
397 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"`
|
|
Version string `json:"version"`
|
|
}
|
|
|
|
// set File's table name to be `profiles`
|
|
func (Preference) TableName() string {
|
|
return TABLE_PREFIX + "preference"
|
|
}
|