// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsBadgeLang = "ps_badge_lang"

// PsBadgeLang mapped from table <ps_badge_lang>
type PsBadgeLang struct {
	IDBadge     int32   `gorm:"column:id_badge;primaryKey" json:"id_badge"`
	IDLang      int32   `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Name        *string `gorm:"column:name" json:"name"`
	Description *string `gorm:"column:description" json:"description"`
	GroupName   *string `gorm:"column:group_name" json:"group_name"`
}

// TableName PsBadgeLang's table name
func (*PsBadgeLang) TableName() string {
	return TableNamePsBadgeLang
}

var PsBadgeLangCols = struct {
	IDBadge gormcol.Field
	IDLang gormcol.Field
	Name gormcol.Field
	Description gormcol.Field
	GroupName gormcol.Field
}{
	IDBadge: gormcol.Field{}.Set((&PsBadgeLang{}).TableName(), "id_badge"),
	IDLang: gormcol.Field{}.Set((&PsBadgeLang{}).TableName(), "id_lang"),
	Name: gormcol.Field{}.Set((&PsBadgeLang{}).TableName(), "name"),
	Description: gormcol.Field{}.Set((&PsBadgeLang{}).TableName(), "description"),
	GroupName: gormcol.Field{}.Set((&PsBadgeLang{}).TableName(), "group_name"),
}
