// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCustomizationFieldLang = "ps_customization_field_lang"

// PsCustomizationFieldLang mapped from table <ps_customization_field_lang>
type PsCustomizationFieldLang struct {
	IDCustomizationField int32  `gorm:"column:id_customization_field;primaryKey" json:"id_customization_field"`
	IDLang               int32  `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	IDShop               int32  `gorm:"column:id_shop;primaryKey;default:1" json:"id_shop"`
	Name                 string `gorm:"column:name;not null" json:"name"`
}

// TableName PsCustomizationFieldLang's table name
func (*PsCustomizationFieldLang) TableName() string {
	return TableNamePsCustomizationFieldLang
}

var PsCustomizationFieldLangCols = struct {
	IDCustomizationField gormcol.Field
	IDLang gormcol.Field
	IDShop gormcol.Field
	Name gormcol.Field
}{
	IDCustomizationField: gormcol.Field{}.Set((&PsCustomizationFieldLang{}).TableName(), "id_customization_field"),
	IDLang: gormcol.Field{}.Set((&PsCustomizationFieldLang{}).TableName(), "id_lang"),
	IDShop: gormcol.Field{}.Set((&PsCustomizationFieldLang{}).TableName(), "id_shop"),
	Name: gormcol.Field{}.Set((&PsCustomizationFieldLang{}).TableName(), "name"),
}
