// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCmsShop = "ps_cms_shop"

// PsCmsShop mapped from table <ps_cms_shop>
type PsCmsShop struct {
	IDCms  int32 `gorm:"column:id_cms;primaryKey" json:"id_cms"`
	IDShop int32 `gorm:"column:id_shop;primaryKey;index:id_shop,priority:1" json:"id_shop"`
}

// TableName PsCmsShop's table name
func (*PsCmsShop) TableName() string {
	return TableNamePsCmsShop
}

var PsCmsShopCols = struct {
	IDCms gormcol.Field
	IDShop gormcol.Field
}{
	IDCms: gormcol.Field{}.Set((&PsCmsShop{}).TableName(), "id_cms"),
	IDShop: gormcol.Field{}.Set((&PsCmsShop{}).TableName(), "id_shop"),
}
