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.
25 lines
1.2 KiB
25 lines
1.2 KiB
package activity
|
|
|
|
import "github.com/golangkit/formatime"
|
|
|
|
type Info struct {
|
|
ID int64 `gorm:"column:id" json:"id"`
|
|
Name string `gorm:"name" json:"name"`
|
|
BarFontColor string `gorm:"bar_font_color" json:"barFontColor"`
|
|
BarBackgroundColor string `gorm:"bar_background_color" json:"barBackgroundColor"`
|
|
LogoUrl string `gorm:"column:logo_url" json:"logoUrl"`
|
|
TopUrl string `gorm:"column:top_url" json:"topUrl"`
|
|
Type int64 `gorm:"column:type" json:"type"`
|
|
CreatedAt formatime.Second `gorm:"column:created_at" json:"createAt"`
|
|
IsActive int64 `gorm:"is_active" json:"is_active"`
|
|
UserID uint `gorm:"user_id" json:"user_id"`
|
|
UserName string `gorm:"user_name" json:"user_name"`
|
|
UpdatedAt formatime.Second `gorm:"updated_at" json:"updated_at"`
|
|
Status uint `gorm:"column:status" json:"status"`
|
|
IsSale bool `gorm:"column:is_sale" json:"is_sale"`
|
|
}
|
|
|
|
func (*Info) TableName() string {
|
|
return "recook_activity_info"
|
|
}
|