go-common/app/service/live/resource/model/confkv.go
2019-04-22 18:49:16 +08:00

18 lines
342 B
Go

package model
import "time"
// Confkv def
type Confkv struct {
ID int64 `json:"id" gorm:"column:id"`
Key string `json:"key" form:"key"`
Value string `json:"value" form:"value"`
Ctime time.Time `json:"ctime"`
Mtime time.Time `json:"mtime"`
}
// TableName resource
func (c Confkv) TableName() string {
return "confkv"
}