// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsImageLang = "ps_image_lang"

// PsImageLang mapped from table <ps_image_lang>
type PsImageLang struct {
	IDImage int32   `gorm:"column:id_image;primaryKey;index:id_image,priority:1" json:"id_image"`
	IDLang  int32   `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Legend  *string `gorm:"column:legend" json:"legend"`
}

// TableName PsImageLang's table name
func (*PsImageLang) TableName() string {
	return TableNamePsImageLang
}

var PsImageLangCols = struct {
	IDImage gormcol.Field
	IDLang gormcol.Field
	Legend gormcol.Field
}{
	IDImage: gormcol.Field{}.Set((&PsImageLang{}).TableName(), "id_image"),
	IDLang: gormcol.Field{}.Set((&PsImageLang{}).TableName(), "id_lang"),
	Legend: gormcol.Field{}.Set((&PsImageLang{}).TableName(), "legend"),
}
