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.
 
 
 

18 lines
518 B

package databus
import "go-common/library/time"
// TableName case tablename
func (*OldApp) TableName() string {
return "app"
}
// OldApp app model
type OldApp struct {
ID int64 `gorm:"column:id" json:"id"`
AppKey string `gorm:"column:app_key" json:"app_key"`
AppSecret string `gorm:"column:app_secret" json:"app_secret"`
Cluster string `gorm:"column:cluster" json:"cluster"`
Ctime time.Time `gorm:"column:ctime" json:"ctime"`
Mtime time.Time `gorm:"column:mtime" json:"-"`
}