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
+31
View File
@@ -0,0 +1,31 @@
// 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 TableNamePsQuickAccess = "ps_quick_access"
// PsQuickAccess mapped from table <ps_quick_access>
type PsQuickAccess struct {
IDQuickAccess int32 `gorm:"column:id_quick_access;primaryKey;autoIncrement:true" json:"id_quick_access"`
NewWindow bool `gorm:"column:new_window;not null" json:"new_window"`
Link string `gorm:"column:link;not null" json:"link"`
}
// TableName PsQuickAccess's table name
func (*PsQuickAccess) TableName() string {
return TableNamePsQuickAccess
}
var PsQuickAccessCols = struct {
IDQuickAccess gormcol.Field
NewWindow gormcol.Field
Link gormcol.Field
}{
IDQuickAccess: gormcol.Field{}.Set((&PsQuickAccess{}).TableName(), "id_quick_access"),
NewWindow: gormcol.Field{}.Set((&PsQuickAccess{}).TableName(), "new_window"),
Link: gormcol.Field{}.Set((&PsQuickAccess{}).TableName(), "link"),
}