// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsTag = "ps_tag"

// PsTag mapped from table <ps_tag>
type PsTag struct {
	IDTag  int32  `gorm:"column:id_tag;primaryKey;autoIncrement:true" json:"id_tag"`
	IDLang int32  `gorm:"column:id_lang;not null;index:id_lang,priority:1" json:"id_lang"`
	Name   string `gorm:"column:name;not null;index:tag_name,priority:1" json:"name"`
}

// TableName PsTag's table name
func (*PsTag) TableName() string {
	return TableNamePsTag
}

var PsTagCols = struct {
	IDTag gormcol.Field
	IDLang gormcol.Field
	Name gormcol.Field
}{
	IDTag: gormcol.Field{}.Set((&PsTag{}).TableName(), "id_tag"),
	IDLang: gormcol.Field{}.Set((&PsTag{}).TableName(), "id_lang"),
	Name: gormcol.Field{}.Set((&PsTag{}).TableName(), "name"),
}
