44 lines
1.7 KiB
Go
44 lines
1.7 KiB
Go
// 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 TableNamePsDpdpolandCountry = "ps_dpdpoland_country"
|
|
|
|
// PsDpdpolandCountry mapped from table <ps_dpdpoland_country>
|
|
type PsDpdpolandCountry struct {
|
|
IDDpdpolandCountry int32 `gorm:"column:id_dpdpoland_country;primaryKey;autoIncrement:true" json:"id_dpdpoland_country"`
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
|
|
IDCountry int32 `gorm:"column:id_country;not null" json:"id_country"`
|
|
Enabled bool `gorm:"column:enabled;not null" json:"enabled"`
|
|
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 PsDpdpolandCountry's table name
|
|
func (*PsDpdpolandCountry) TableName() string {
|
|
return TableNamePsDpdpolandCountry
|
|
}
|
|
|
|
var PsDpdpolandCountryCols = struct {
|
|
IDDpdpolandCountry gormcol.Field
|
|
IDShop gormcol.Field
|
|
IDCountry gormcol.Field
|
|
Enabled gormcol.Field
|
|
DateAdd gormcol.Field
|
|
DateUpd gormcol.Field
|
|
}{
|
|
IDDpdpolandCountry: gormcol.Field{Table: TableNamePsDpdpolandCountry, Column: "id_dpdpoland_country"},
|
|
IDShop: gormcol.Field{Table: TableNamePsDpdpolandCountry, Column: "id_shop"},
|
|
IDCountry: gormcol.Field{Table: TableNamePsDpdpolandCountry, Column: "id_country"},
|
|
Enabled: gormcol.Field{Table: TableNamePsDpdpolandCountry, Column: "enabled"},
|
|
DateAdd: gormcol.Field{Table: TableNamePsDpdpolandCountry, Column: "date_add"},
|
|
DateUpd: gormcol.Field{Table: TableNamePsDpdpolandCountry, Column: "date_upd"},
|
|
}
|