// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsRiskLang = "ps_risk_lang"

// PsRiskLang mapped from table <ps_risk_lang>
type PsRiskLang struct {
	IDRisk int32  `gorm:"column:id_risk;primaryKey;index:id_risk,priority:1" json:"id_risk"`
	IDLang int32  `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Name   string `gorm:"column:name;not null" json:"name"`
}

// TableName PsRiskLang's table name
func (*PsRiskLang) TableName() string {
	return TableNamePsRiskLang
}

var PsRiskLangCols = struct {
	IDRisk gormcol.Field
	IDLang gormcol.Field
	Name gormcol.Field
}{
	IDRisk: gormcol.Field{}.Set((&PsRiskLang{}).TableName(), "id_risk"),
	IDLang: gormcol.Field{}.Set((&PsRiskLang{}).TableName(), "id_lang"),
	Name: gormcol.Field{}.Set((&PsRiskLang{}).TableName(), "name"),
}
