// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCategoryGroup = "ps_category_group"

// PsCategoryGroup mapped from table <ps_category_group>
type PsCategoryGroup struct {
	IDCategory int32 `gorm:"column:id_category;primaryKey;index:id_category,priority:1" json:"id_category"`
	IDGroup    int32 `gorm:"column:id_group;primaryKey;index:id_group,priority:1" json:"id_group"`
}

// TableName PsCategoryGroup's table name
func (*PsCategoryGroup) TableName() string {
	return TableNamePsCategoryGroup
}

var PsCategoryGroupCols = struct {
	IDCategory gormcol.Field
	IDGroup gormcol.Field
}{
	IDCategory: gormcol.Field{}.Set((&PsCategoryGroup{}).TableName(), "id_category"),
	IDGroup: gormcol.Field{}.Set((&PsCategoryGroup{}).TableName(), "id_group"),
}
