// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsOrderStateLang = "ps_order_state_lang"

// PsOrderStateLang mapped from table <ps_order_state_lang>
type PsOrderStateLang struct {
	IDOrderState int32  `gorm:"column:id_order_state;primaryKey" json:"id_order_state"`
	IDLang       int32  `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Name         string `gorm:"column:name;not null" json:"name"`
	Template     string `gorm:"column:template;not null" json:"template"`
}

// TableName PsOrderStateLang's table name
func (*PsOrderStateLang) TableName() string {
	return TableNamePsOrderStateLang
}

var PsOrderStateLangCols = struct {
	IDOrderState gormcol.Field
	IDLang gormcol.Field
	Name gormcol.Field
	Template gormcol.Field
}{
	IDOrderState: gormcol.Field{}.Set((&PsOrderStateLang{}).TableName(), "id_order_state"),
	IDLang: gormcol.Field{}.Set((&PsOrderStateLang{}).TableName(), "id_lang"),
	Name: gormcol.Field{}.Set((&PsOrderStateLang{}).TableName(), "name"),
	Template: gormcol.Field{}.Set((&PsOrderStateLang{}).TableName(), "template"),
}
