go-common/app/service/live/resource/model/confkv.go

18 lines
342 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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"
}