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,37 @@
// 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 TableNamePsInpostCartChoice = "ps_inpost_cart_choice"
// PsInpostCartChoice mapped from table <ps_inpost_cart_choice>
type PsInpostCartChoice struct {
IDCart int32 `gorm:"column:id_cart;primaryKey" json:"id_cart"`
Service string `gorm:"column:service;not null" json:"service"`
Email *string `gorm:"column:email" json:"email"`
Phone *string `gorm:"column:phone" json:"phone"`
Point *string `gorm:"column:point" json:"point"`
}
// TableName PsInpostCartChoice's table name
func (*PsInpostCartChoice) TableName() string {
return TableNamePsInpostCartChoice
}
var PsInpostCartChoiceCols = struct {
IDCart gormcol.Field
Service gormcol.Field
Email gormcol.Field
Phone gormcol.Field
Point gormcol.Field
}{
IDCart: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "id_cart"),
Service: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "service"),
Email: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "email"),
Phone: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "phone"),
Point: gormcol.Field{}.Set((&PsInpostCartChoice{}).TableName(), "point"),
}