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
@@ -0,0 +1,34 @@
// 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 TableNamePsCustomizationFieldLang = "ps_customization_field_lang"
// PsCustomizationFieldLang mapped from table <ps_customization_field_lang>
type PsCustomizationFieldLang struct {
IDCustomizationField int32 `gorm:"column:id_customization_field;primaryKey" json:"id_customization_field"`
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
IDShop int32 `gorm:"column:id_shop;primaryKey;default:1" json:"id_shop"`
Name string `gorm:"column:name;not null" json:"name"`
}
// TableName PsCustomizationFieldLang's table name
func (*PsCustomizationFieldLang) TableName() string {
return TableNamePsCustomizationFieldLang
}
var PsCustomizationFieldLangCols = struct {
IDCustomizationField gormcol.Field
IDLang gormcol.Field
IDShop gormcol.Field
Name gormcol.Field
}{
IDCustomizationField: gormcol.Field{}.Set((&PsCustomizationFieldLang{}).TableName(), "id_customization_field"),
IDLang: gormcol.Field{}.Set((&PsCustomizationFieldLang{}).TableName(), "id_lang"),
IDShop: gormcol.Field{}.Set((&PsCustomizationFieldLang{}).TableName(), "id_shop"),
Name: gormcol.Field{}.Set((&PsCustomizationFieldLang{}).TableName(), "name"),
}