// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsOrderMessageLang = "ps_order_message_lang"

// PsOrderMessageLang mapped from table <ps_order_message_lang>
type PsOrderMessageLang struct {
	IDOrderMessage int32  `gorm:"column:id_order_message;primaryKey" json:"id_order_message"`
	IDLang         int32  `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Name           string `gorm:"column:name;not null" json:"name"`
	Message        string `gorm:"column:message;not null" json:"message"`
}

// TableName PsOrderMessageLang's table name
func (*PsOrderMessageLang) TableName() string {
	return TableNamePsOrderMessageLang
}

var PsOrderMessageLangCols = struct {
	IDOrderMessage gormcol.Field
	IDLang gormcol.Field
	Name gormcol.Field
	Message gormcol.Field
}{
	IDOrderMessage: gormcol.Field{}.Set((&PsOrderMessageLang{}).TableName(), "id_order_message"),
	IDLang: gormcol.Field{}.Set((&PsOrderMessageLang{}).TableName(), "id_lang"),
	Name: gormcol.Field{}.Set((&PsOrderMessageLang{}).TableName(), "name"),
	Message: gormcol.Field{}.Set((&PsOrderMessageLang{}).TableName(), "message"),
}
