// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import "git.ma-al.com/goc_marek/gormcol"

const TableNamePsProductCountryTax = "ps_product_country_tax"

// PsProductCountryTax mapped from table <ps_product_country_tax>
type PsProductCountryTax struct {
	IDProduct int32 `gorm:"column:id_product;primaryKey" json:"id_product"`
	IDCountry int32 `gorm:"column:id_country;primaryKey" json:"id_country"`
	IDTax     int32 `gorm:"column:id_tax;not null" json:"id_tax"`
}

// TableName PsProductCountryTax's table name
func (*PsProductCountryTax) TableName() string {
	return TableNamePsProductCountryTax
}

var PsProductCountryTaxCols = struct {
	IDProduct gormcol.Field
	IDCountry gormcol.Field
	IDTax gormcol.Field
}{
	IDProduct: gormcol.Field{}.Set((&PsProductCountryTax{}).TableName(), "id_product"),
	IDCountry: gormcol.Field{}.Set((&PsProductCountryTax{}).TableName(), "id_country"),
	IDTax: gormcol.Field{}.Set((&PsProductCountryTax{}).TableName(), "id_tax"),
}
