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,40 @@
// 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 TableNamePsMailalertCustomerOo = "ps_mailalert_customer_oos"
// PsMailalertCustomerOo mapped from table <ps_mailalert_customer_oos>
type PsMailalertCustomerOo struct {
IDCustomer int32 `gorm:"column:id_customer;primaryKey" json:"id_customer"`
CustomerEmail string `gorm:"column:customer_email;primaryKey" json:"customer_email"`
IDProduct int32 `gorm:"column:id_product;primaryKey" json:"id_product"`
IDProductAttribute int32 `gorm:"column:id_product_attribute;primaryKey" json:"id_product_attribute"`
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
IDLang int32 `gorm:"column:id_lang;not null" json:"id_lang"`
}
// TableName PsMailalertCustomerOo's table name
func (*PsMailalertCustomerOo) TableName() string {
return TableNamePsMailalertCustomerOo
}
var PsMailalertCustomerOoCols = struct {
IDCustomer gormcol.Field
CustomerEmail gormcol.Field
IDProduct gormcol.Field
IDProductAttribute gormcol.Field
IDShop gormcol.Field
IDLang gormcol.Field
}{
IDCustomer: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_customer"),
CustomerEmail: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "customer_email"),
IDProduct: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_product"),
IDProductAttribute: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_product_attribute"),
IDShop: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_shop"),
IDLang: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_lang"),
}