// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsSupplyOrderStateLang = "ps_supply_order_state_lang"

// PsSupplyOrderStateLang mapped from table <ps_supply_order_state_lang>
type PsSupplyOrderStateLang struct {
	IDSupplyOrderState int32   `gorm:"column:id_supply_order_state;primaryKey" json:"id_supply_order_state"`
	IDLang             int32   `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Name               *string `gorm:"column:name" json:"name"`
}

// TableName PsSupplyOrderStateLang's table name
func (*PsSupplyOrderStateLang) TableName() string {
	return TableNamePsSupplyOrderStateLang
}

var PsSupplyOrderStateLangCols = struct {
	IDSupplyOrderState gormcol.Field
	IDLang gormcol.Field
	Name gormcol.Field
}{
	IDSupplyOrderState: gormcol.Field{}.Set((&PsSupplyOrderStateLang{}).TableName(), "id_supply_order_state"),
	IDLang: gormcol.Field{}.Set((&PsSupplyOrderStateLang{}).TableName(), "id_lang"),
	Name: gormcol.Field{}.Set((&PsSupplyOrderStateLang{}).TableName(), "name"),
}
