// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsTaxLang = "ps_tax_lang"

// PsTaxLang mapped from table <ps_tax_lang>
type PsTaxLang struct {
	IDTax  int32  `gorm:"column:id_tax;primaryKey" json:"id_tax"`
	IDLang int32  `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Name   string `gorm:"column:name;not null" json:"name"`
}

// TableName PsTaxLang's table name
func (*PsTaxLang) TableName() string {
	return TableNamePsTaxLang
}

var PsTaxLangCols = struct {
	IDTax gormcol.Field
	IDLang gormcol.Field
	Name gormcol.Field
}{
	IDTax: gormcol.Field{}.Set((&PsTaxLang{}).TableName(), "id_tax"),
	IDLang: gormcol.Field{}.Set((&PsTaxLang{}).TableName(), "id_lang"),
	Name: gormcol.Field{}.Set((&PsTaxLang{}).TableName(), "name"),
}
