// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCartRuleShop = "ps_cart_rule_shop"

// PsCartRuleShop mapped from table <ps_cart_rule_shop>
type PsCartRuleShop struct {
	IDCartRule int32 `gorm:"column:id_cart_rule;primaryKey" json:"id_cart_rule"`
	IDShop     int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
}

// TableName PsCartRuleShop's table name
func (*PsCartRuleShop) TableName() string {
	return TableNamePsCartRuleShop
}

var PsCartRuleShopCols = struct {
	IDCartRule gormcol.Field
	IDShop gormcol.Field
}{
	IDCartRule: gormcol.Field{}.Set((&PsCartRuleShop{}).TableName(), "id_cart_rule"),
	IDShop: gormcol.Field{}.Set((&PsCartRuleShop{}).TableName(), "id_shop"),
}
