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"
const TableNamePsLinksmenutop = "ps_linksmenutop"
// PsLinksmenutop mapped from table <ps_linksmenutop>
type PsLinksmenutop struct {
IDLinksmenutop int32 `gorm:"column:id_linksmenutop;primaryKey;autoIncrement:true" json:"id_linksmenutop"`
IDShop int32 `gorm:"column:id_shop;not null;index:id_shop,priority:1" json:"id_shop"`
NewWindow bool `gorm:"column:new_window;not null" json:"new_window"`
}
// TableName PsLinksmenutop's table name
func (*PsLinksmenutop) TableName() string {
return TableNamePsLinksmenutop
}
var PsLinksmenutopCols = struct {
IDLinksmenutop gormcol.Field
IDShop gormcol.Field
NewWindow gormcol.Field
}{
IDLinksmenutop: gormcol.Field{}.Set((&PsLinksmenutop{}).TableName(), "id_linksmenutop"),
IDShop: gormcol.Field{}.Set((&PsLinksmenutop{}).TableName(), "id_shop"),
NewWindow: gormcol.Field{}.Set((&PsLinksmenutop{}).TableName(), "new_window"),
}