// Code generated by gormcol. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsSmartyLazyCache = "ps_smarty_lazy_cache" // PsSmartyLazyCache mapped from table 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 } var PsSmartyLazyCacheCols = struct { TemplateHash gormcol.Field CacheID gormcol.Field CompileID gormcol.Field Filepath gormcol.Field LastUpdate gormcol.Field }{ TemplateHash: gormcol.Field{}.Set((&PsSmartyLazyCache{}).TableName(), "template_hash"), CacheID: gormcol.Field{}.Set((&PsSmartyLazyCache{}).TableName(), "cache_id"), CompileID: gormcol.Field{}.Set((&PsSmartyLazyCache{}).TableName(), "compile_id"), Filepath: gormcol.Field{}.Set((&PsSmartyLazyCache{}).TableName(), "filepath"), LastUpdate: gormcol.Field{}.Set((&PsSmartyLazyCache{}).TableName(), "last_update"), }