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
-34
View File
@@ -1,34 +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 TableNamePsImportMatch = "ps_import_match"
// PsImportMatch mapped from table <ps_import_match>
type PsImportMatch struct {
IDImportMatch int32 `gorm:"column:id_import_match;primaryKey;autoIncrement:true" json:"id_import_match"`
Name string `gorm:"column:name;not null" json:"name"`
Match string `gorm:"column:match;not null" json:"match"`
Skip int32 `gorm:"column:skip;not null" json:"skip"`
}
// TableName PsImportMatch's table name
func (*PsImportMatch) TableName() string {
return TableNamePsImportMatch
}
var PsImportMatchCols = struct {
IDImportMatch gormcol.Field
Name gormcol.Field
Match gormcol.Field
Skip gormcol.Field
}{
IDImportMatch: gormcol.Field{Table: TableNamePsImportMatch, Column: "id_import_match"},
Name: gormcol.Field{Table: TableNamePsImportMatch, Column: "name"},
Match: gormcol.Field{Table: TableNamePsImportMatch, Column: "match"},
Skip: gormcol.Field{Table: TableNamePsImportMatch, Column: "skip"},
}