// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCmsCategoryShop = "ps_cms_category_shop"

// PsCmsCategoryShop mapped from table <ps_cms_category_shop>
type PsCmsCategoryShop struct {
	IDCmsCategory int32 `gorm:"column:id_cms_category;primaryKey;autoIncrement:true" json:"id_cms_category"`
	IDShop        int32 `gorm:"column:id_shop;primaryKey;index:id_shop,priority:1" json:"id_shop"`
}

// TableName PsCmsCategoryShop's table name
func (*PsCmsCategoryShop) TableName() string {
	return TableNamePsCmsCategoryShop
}

var PsCmsCategoryShopCols = struct {
	IDCmsCategory gormcol.Field
	IDShop gormcol.Field
}{
	IDCmsCategory: gormcol.Field{}.Set((&PsCmsCategoryShop{}).TableName(), "id_cms_category"),
	IDShop: gormcol.Field{}.Set((&PsCmsCategoryShop{}).TableName(), "id_shop"),
}
