// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsMaalEventsLang = "ps_maal_events_lang"

// PsMaalEventsLang mapped from table <ps_maal_events_lang>
type PsMaalEventsLang struct {
	IDEventLang     int32   `gorm:"column:id_event_lang;primaryKey;autoIncrement:true" json:"id_event_lang"`
	IDEvent         int32   `gorm:"column:id_event;not null;index:id_event_id_lang,priority:1" json:"id_event"`
	IDLang          int32   `gorm:"column:id_lang;not null;index:id_event_id_lang,priority:2" json:"id_lang"`
	PostTitle       *string `gorm:"column:post_title" json:"post_title"`
	MetaTitle       *string `gorm:"column:meta_title" json:"meta_title"`
	MetaDescription *string `gorm:"column:meta_description" json:"meta_description"`
	ContentTop      *string `gorm:"column:content_top" json:"content_top"`
	ContentMiddle   *string `gorm:"column:content_middle" json:"content_middle"`
	ContentBottom   *string `gorm:"column:content_bottom" json:"content_bottom"`
	LinkRewrite     *string `gorm:"column:link_rewrite" json:"link_rewrite"`
}

// TableName PsMaalEventsLang's table name
func (*PsMaalEventsLang) TableName() string {
	return TableNamePsMaalEventsLang
}

var PsMaalEventsLangCols = struct {
	IDEventLang gormcol.Field
	IDEvent gormcol.Field
	IDLang gormcol.Field
	PostTitle gormcol.Field
	MetaTitle gormcol.Field
	MetaDescription gormcol.Field
	ContentTop gormcol.Field
	ContentMiddle gormcol.Field
	ContentBottom gormcol.Field
	LinkRewrite gormcol.Field
}{
	IDEventLang: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "id_event_lang"),
	IDEvent: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "id_event"),
	IDLang: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "id_lang"),
	PostTitle: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "post_title"),
	MetaTitle: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "meta_title"),
	MetaDescription: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "meta_description"),
	ContentTop: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "content_top"),
	ContentMiddle: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "content_middle"),
	ContentBottom: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "content_bottom"),
	LinkRewrite: gormcol.Field{}.Set((&PsMaalEventsLang{}).TableName(), "link_rewrite"),
}
