Replace gorm.io/gen header with gormcol

This commit is contained in:
2026-03-29 18:51:45 +02:00
parent 987e55de10
commit e30aa50752
326 changed files with 13511 additions and 3 deletions
+31
View File
@@ -0,0 +1,31 @@
// 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 dbmodel
import (
"git.ma-al.com/goc_marek/gormcol"
"time"
)
const TableNamePsSmartyLastFlush = "ps_smarty_last_flush"
// PsSmartyLastFlush mapped from table <ps_smarty_last_flush>
type PsSmartyLastFlush struct {
Type string `gorm:"column:type;primaryKey" json:"type"`
LastFlush time.Time `gorm:"column:last_flush;not null;default:0000-00-00 00:00:00" json:"last_flush"`
}
// TableName PsSmartyLastFlush's table name
func (*PsSmartyLastFlush) TableName() string {
return TableNamePsSmartyLastFlush
}
var PsSmartyLastFlushCols = struct {
Type gormcol.Field
LastFlush gormcol.Field
}{
Type: gormcol.Field{}.Set((&PsSmartyLastFlush{}).TableName(), "type"),
LastFlush: gormcol.Field{}.Set((&PsSmartyLastFlush{}).TableName(), "last_flush"),
}