// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsWebserviceAccountShop = "ps_webservice_account_shop"

// PsWebserviceAccountShop mapped from table <ps_webservice_account_shop>
type PsWebserviceAccountShop struct {
	IDWebserviceAccount int32 `gorm:"column:id_webservice_account;primaryKey" json:"id_webservice_account"`
	IDShop              int32 `gorm:"column:id_shop;primaryKey;index:id_shop,priority:1" json:"id_shop"`
}

// TableName PsWebserviceAccountShop's table name
func (*PsWebserviceAccountShop) TableName() string {
	return TableNamePsWebserviceAccountShop
}

var PsWebserviceAccountShopCols = struct {
	IDWebserviceAccount gormcol.Field
	IDShop gormcol.Field
}{
	IDWebserviceAccount: gormcol.Field{}.Set((&PsWebserviceAccountShop{}).TableName(), "id_webservice_account"),
	IDShop: gormcol.Field{}.Set((&PsWebserviceAccountShop{}).TableName(), "id_shop"),
}
