// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCartRuleProductRuleValue = "ps_cart_rule_product_rule_value"

// PsCartRuleProductRuleValue mapped from table <ps_cart_rule_product_rule_value>
type PsCartRuleProductRuleValue struct {
	IDProductRule int32 `gorm:"column:id_product_rule;primaryKey" json:"id_product_rule"`
	IDItem        int32 `gorm:"column:id_item;primaryKey" json:"id_item"`
}

// TableName PsCartRuleProductRuleValue's table name
func (*PsCartRuleProductRuleValue) TableName() string {
	return TableNamePsCartRuleProductRuleValue
}

var PsCartRuleProductRuleValueCols = struct {
	IDProductRule gormcol.Field
	IDItem gormcol.Field
}{
	IDProductRule: gormcol.Field{}.Set((&PsCartRuleProductRuleValue{}).TableName(), "id_product_rule"),
	IDItem: gormcol.Field{}.Set((&PsCartRuleProductRuleValue{}).TableName(), "id_item"),
}
