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
+49
View File
@@ -0,0 +1,49 @@
// 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"
"time"
)
const TableNamePsPsgdprLog = "ps_psgdpr_log"
// PsPsgdprLog mapped from table <ps_psgdpr_log>
type PsPsgdprLog struct {
IDGdprLog int32 `gorm:"column:id_gdpr_log;primaryKey;autoIncrement:true" json:"id_gdpr_log"`
IDCustomer *int32 `gorm:"column:id_customer" json:"id_customer"`
IDGuest *int32 `gorm:"column:id_guest" json:"id_guest"`
ClientName *string `gorm:"column:client_name" json:"client_name"`
IDModule int32 `gorm:"column:id_module;not null" json:"id_module"`
RequestType int32 `gorm:"column:request_type;not null" json:"request_type"`
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
}
// TableName PsPsgdprLog's table name
func (*PsPsgdprLog) TableName() string {
return TableNamePsPsgdprLog
}
var PsPsgdprLogCols = struct {
IDGdprLog gormcol.Field
IDCustomer gormcol.Field
IDGuest gormcol.Field
ClientName gormcol.Field
IDModule gormcol.Field
RequestType gormcol.Field
DateAdd gormcol.Field
DateUpd gormcol.Field
}{
IDGdprLog: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "id_gdpr_log"),
IDCustomer: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "id_customer"),
IDGuest: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "id_guest"),
ClientName: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "client_name"),
IDModule: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "id_module"),
RequestType: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "request_type"),
DateAdd: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "date_add"),
DateUpd: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "date_upd"),
}