// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCartRuleCombination = "ps_cart_rule_combination"

// PsCartRuleCombination mapped from table <ps_cart_rule_combination>
type PsCartRuleCombination struct {
	IDCartRule1 int32 `gorm:"column:id_cart_rule_1;primaryKey;index:id_cart_rule_1,priority:1" json:"id_cart_rule_1"`
	IDCartRule2 int32 `gorm:"column:id_cart_rule_2;primaryKey;index:id_cart_rule_2,priority:1" json:"id_cart_rule_2"`
}

// TableName PsCartRuleCombination's table name
func (*PsCartRuleCombination) TableName() string {
	return TableNamePsCartRuleCombination
}

var PsCartRuleCombinationCols = struct {
	IDCartRule1 gormcol.Field
	IDCartRule2 gormcol.Field
}{
	IDCartRule1: gormcol.Field{}.Set((&PsCartRuleCombination{}).TableName(), "id_cart_rule_1"),
	IDCartRule2: gormcol.Field{}.Set((&PsCartRuleCombination{}).TableName(), "id_cart_rule_2"),
}
