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 TableNamePsPsgdprConsentLang = "ps_psgdpr_consent_lang"
// PsPsgdprConsentLang mapped from table <ps_psgdpr_consent_lang>
type PsPsgdprConsentLang struct {
IDGdprConsent int32 `gorm:"column:id_gdpr_consent;primaryKey;autoIncrement:true" json:"id_gdpr_consent"`
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
Message *string `gorm:"column:message" json:"message"`
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
}
// TableName PsPsgdprConsentLang's table name
func (*PsPsgdprConsentLang) TableName() string {
return TableNamePsPsgdprConsentLang
}
var PsPsgdprConsentLangCols = struct {
IDGdprConsent gormcol.Field
IDLang gormcol.Field
Message gormcol.Field
IDShop gormcol.Field
}{
IDGdprConsent: gormcol.Field{}.Set((&PsPsgdprConsentLang{}).TableName(), "id_gdpr_consent"),
IDLang: gormcol.Field{}.Set((&PsPsgdprConsentLang{}).TableName(), "id_lang"),
Message: gormcol.Field{}.Set((&PsPsgdprConsentLang{}).TableName(), "message"),
IDShop: gormcol.Field{}.Set((&PsPsgdprConsentLang{}).TableName(), "id_shop"),
}