// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsLinksmenutopLang = "ps_linksmenutop_lang"

// PsLinksmenutopLang mapped from table <ps_linksmenutop_lang>
type PsLinksmenutopLang struct {
	IDLinksmenutop int32  `gorm:"column:id_linksmenutop;primaryKey;uniqueIndex:id_lang_id_shop_id_linksmenutop,priority:3;index:id_linksmenutop,priority:1" json:"id_linksmenutop"`
	IDLang         int32  `gorm:"column:id_lang;primaryKey;uniqueIndex:id_lang_id_shop_id_linksmenutop,priority:1;index:id_linksmenutop,priority:2" json:"id_lang"`
	IDShop         int32  `gorm:"column:id_shop;primaryKey;uniqueIndex:id_lang_id_shop_id_linksmenutop,priority:2;index:id_linksmenutop,priority:3" json:"id_shop"`
	Label          string `gorm:"column:label;not null" json:"label"`
	Link           string `gorm:"column:link;not null" json:"link"`
}

// TableName PsLinksmenutopLang's table name
func (*PsLinksmenutopLang) TableName() string {
	return TableNamePsLinksmenutopLang
}

var PsLinksmenutopLangCols = struct {
	IDLinksmenutop gormcol.Field
	IDLang gormcol.Field
	IDShop gormcol.Field
	Label gormcol.Field
	Link gormcol.Field
}{
	IDLinksmenutop: gormcol.Field{}.Set((&PsLinksmenutopLang{}).TableName(), "id_linksmenutop"),
	IDLang: gormcol.Field{}.Set((&PsLinksmenutopLang{}).TableName(), "id_lang"),
	IDShop: gormcol.Field{}.Set((&PsLinksmenutopLang{}).TableName(), "id_shop"),
	Label: gormcol.Field{}.Set((&PsLinksmenutopLang{}).TableName(), "label"),
	Link: gormcol.Field{}.Set((&PsLinksmenutopLang{}).TableName(), "link"),
}
