// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCategoryShop = "ps_category_shop"

// PsCategoryShop mapped from table <ps_category_shop>
type PsCategoryShop struct {
	IDCategory int32 `gorm:"column:id_category;primaryKey" json:"id_category"`
	IDShop     int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
	Position   int32 `gorm:"column:position;not null" json:"position"`
}

// TableName PsCategoryShop's table name
func (*PsCategoryShop) TableName() string {
	return TableNamePsCategoryShop
}

var PsCategoryShopCols = struct {
	IDCategory gormcol.Field
	IDShop gormcol.Field
	Position gormcol.Field
}{
	IDCategory: gormcol.Field{}.Set((&PsCategoryShop{}).TableName(), "id_category"),
	IDShop: gormcol.Field{}.Set((&PsCategoryShop{}).TableName(), "id_shop"),
	Position: gormcol.Field{}.Set((&PsCategoryShop{}).TableName(), "position"),
}
