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
+43
View File
@@ -0,0 +1,43 @@
// 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 TableNamePsPagenotfound = "ps_pagenotfound"
// PsPagenotfound mapped from table <ps_pagenotfound>
type PsPagenotfound struct {
IDPagenotfound int32 `gorm:"column:id_pagenotfound;primaryKey;autoIncrement:true" json:"id_pagenotfound"`
IDShop int32 `gorm:"column:id_shop;not null;default:1" json:"id_shop"`
IDShopGroup int32 `gorm:"column:id_shop_group;not null;default:1" json:"id_shop_group"`
RequestURI string `gorm:"column:request_uri;not null" json:"request_uri"`
HTTPReferer string `gorm:"column:http_referer;not null" json:"http_referer"`
DateAdd time.Time `gorm:"column:date_add;not null;index:date_add,priority:1" json:"date_add"`
}
// TableName PsPagenotfound's table name
func (*PsPagenotfound) TableName() string {
return TableNamePsPagenotfound
}
var PsPagenotfoundCols = struct {
IDPagenotfound gormcol.Field
IDShop gormcol.Field
IDShopGroup gormcol.Field
RequestURI gormcol.Field
HTTPReferer gormcol.Field
DateAdd gormcol.Field
}{
IDPagenotfound: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "id_pagenotfound"),
IDShop: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "id_shop"),
IDShopGroup: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "id_shop_group"),
RequestURI: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "request_uri"),
HTTPReferer: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "http_referer"),
DateAdd: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "date_add"),
}