// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCartRuleLang = "ps_cart_rule_lang"

// PsCartRuleLang mapped from table <ps_cart_rule_lang>
type PsCartRuleLang struct {
	IDCartRule int32  `gorm:"column:id_cart_rule;primaryKey" json:"id_cart_rule"`
	IDLang     int32  `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Name       string `gorm:"column:name;not null" json:"name"`
}

// TableName PsCartRuleLang's table name
func (*PsCartRuleLang) TableName() string {
	return TableNamePsCartRuleLang
}

var PsCartRuleLangCols = struct {
	IDCartRule gormcol.Field
	IDLang gormcol.Field
	Name gormcol.Field
}{
	IDCartRule: gormcol.Field{}.Set((&PsCartRuleLang{}).TableName(), "id_cart_rule"),
	IDLang: gormcol.Field{}.Set((&PsCartRuleLang{}).TableName(), "id_lang"),
	Name: gormcol.Field{}.Set((&PsCartRuleLang{}).TableName(), "name"),
}
