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.
19 lines
769 B
19 lines
769 B
4 years ago
|
package application
|
||
|
|
||
|
import "github.com/golangkit/formatime"
|
||
|
|
||
|
type LaunchScreen struct {
|
||
|
ID int64 `gorm:"column:id" json:"id"`
|
||
|
BackgroundUrl string `gorm:"column:background_url" json:"backgroundUrl"`
|
||
|
GoodsID uint `gorm:"column:goods_id" json:"goodsId"`
|
||
|
GoodsName string `gorm:"column:goods_name" json:"goodsName"`
|
||
|
CreatedAt formatime.Second `gorm:"column:created_at" json:"-"`
|
||
|
ActiveID uint `gorm:"column:activity_id" json:"activityId"`
|
||
|
ActiveName string `gorm:"column:activity_name" json:"activityName"`
|
||
|
IsActive int8 `gorm:"column:is_activity" json:"is_active"`
|
||
|
}
|
||
|
|
||
|
func (*LaunchScreen) TableName() string {
|
||
|
return "recook_app_launch_screen"
|
||
|
}
|