// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsTaxRulesGroupShop = "ps_tax_rules_group_shop"

// PsTaxRulesGroupShop mapped from table <ps_tax_rules_group_shop>
type PsTaxRulesGroupShop struct {
	IDTaxRulesGroup int32 `gorm:"column:id_tax_rules_group;primaryKey" json:"id_tax_rules_group"`
	IDShop          int32 `gorm:"column:id_shop;primaryKey;index:id_shop,priority:1" json:"id_shop"`
}

// TableName PsTaxRulesGroupShop's table name
func (*PsTaxRulesGroupShop) TableName() string {
	return TableNamePsTaxRulesGroupShop
}

var PsTaxRulesGroupShopCols = struct {
	IDTaxRulesGroup gormcol.Field
	IDShop gormcol.Field
}{
	IDTaxRulesGroup: gormcol.Field{}.Set((&PsTaxRulesGroupShop{}).TableName(), "id_tax_rules_group"),
	IDShop: gormcol.Field{}.Set((&PsTaxRulesGroupShop{}).TableName(), "id_shop"),
}
