Files
b2b/app/model/prestadb/ps_smarty_lazy_cache.go

26 lines
888 B
Go

// 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
}