Remove Table field from Cols, use GORM conventions

This commit is contained in:
2026-03-29 15:35:28 +02:00
parent a53e24c5b8
commit 97e6f82737
318 changed files with 39 additions and 13096 deletions
@@ -1,28 +0,0 @@
// 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 TableNamePsDpdpolandPudoCart = "ps_dpdpoland_pudo_cart"
// PsDpdpolandPudoCart mapped from table <ps_dpdpoland_pudo_cart>
type PsDpdpolandPudoCart struct {
PudoCode string `gorm:"column:pudo_code;not null" json:"pudo_code"`
IDCart int32 `gorm:"column:id_cart;primaryKey" json:"id_cart"`
}
// TableName PsDpdpolandPudoCart's table name
func (*PsDpdpolandPudoCart) TableName() string {
return TableNamePsDpdpolandPudoCart
}
var PsDpdpolandPudoCartCols = struct {
PudoCode gormcol.Field
IDCart gormcol.Field
}{
PudoCode: gormcol.Field{Table: TableNamePsDpdpolandPudoCart, Column: "pudo_code"},
IDCart: gormcol.Field{Table: TableNamePsDpdpolandPudoCart, Column: "id_cart"},
}