Files
b2b/app/model/prestadb/ps_dpdpoland_country.go

27 lines
997 B
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 prestadb
import (
"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
}