add models generation and josn print
This commit is contained in:
25
app/model/prestadb/ps_smarty_lazy_cache.go
Normal file
25
app/model/prestadb/ps_smarty_lazy_cache.go
Normal file
@@ -0,0 +1,25 @@
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
|
||||
package prestadb
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const TableNamePsSmartyLazyCache = "ps_smarty_lazy_cache"
|
||||
|
||||
// PsSmartyLazyCache mapped from table <ps_smarty_lazy_cache>
|
||||
type PsSmartyLazyCache struct {
|
||||
TemplateHash string `gorm:"column:template_hash;primaryKey" json:"template_hash"`
|
||||
CacheID string `gorm:"column:cache_id;primaryKey" json:"cache_id"`
|
||||
CompileID string `gorm:"column:compile_id;primaryKey" json:"compile_id"`
|
||||
Filepath string `gorm:"column:filepath;not null" json:"filepath"`
|
||||
LastUpdate time.Time `gorm:"column:last_update;not null;default:0000-00-00 00:00:00" json:"last_update"`
|
||||
}
|
||||
|
||||
// TableName PsSmartyLazyCache's table name
|
||||
func (*PsSmartyLazyCache) TableName() string {
|
||||
return TableNamePsSmartyLazyCache
|
||||
}
|
||||
Reference in New Issue
Block a user