// Code generated by gormcol. 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{}.Set((&PsDpdpolandCountry{}).TableName(), "id_dpdpoland_country"),
	IDShop: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "id_shop"),
	IDCountry: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "id_country"),
	Enabled: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "enabled"),
	DateAdd: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "date_add"),
	DateUpd: gormcol.Field{}.Set((&PsDpdpolandCountry{}).TableName(), "date_upd"),
}
