fix products listing
This commit is contained in:
26
app/model/dbmodel/ps_manufacturer_shop.go
Normal file
26
app/model/dbmodel/ps_manufacturer_shop.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// Code generated by gormcol. DO NOT EDIT.
|
||||
|
||||
package dbmodel
|
||||
|
||||
import "git.ma-al.com/goc_marek/gormcol"
|
||||
|
||||
const TableNamePsManufacturerShop = "ps_manufacturer_shop"
|
||||
|
||||
// PsManufacturerShop mapped from table <ps_manufacturer_shop>
|
||||
type PsManufacturerShop struct {
|
||||
IDManufacturer int32 `gorm:"column:id_manufacturer;primaryKey" json:"id_manufacturer"`
|
||||
IDShop int32 `gorm:"column:id_shop;primaryKey;index:id_shop,priority:1" json:"id_shop"`
|
||||
}
|
||||
|
||||
// TableName PsManufacturerShop's table name
|
||||
func (*PsManufacturerShop) TableName() string {
|
||||
return TableNamePsManufacturerShop
|
||||
}
|
||||
|
||||
var PsManufacturerShopCols = struct {
|
||||
IDManufacturer gormcol.Field
|
||||
IDShop gormcol.Field
|
||||
}{
|
||||
IDManufacturer: gormcol.Field{}.Set((&PsManufacturerShop{}).TableName(), "id_manufacturer"),
|
||||
IDShop: gormcol.Field{}.Set((&PsManufacturerShop{}).TableName(), "id_shop"),
|
||||
}
|
||||
Reference in New Issue
Block a user