fix products listing
This commit is contained in:
26
app/model/dbmodel/ps_zone_shop.go
Normal file
26
app/model/dbmodel/ps_zone_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 TableNamePsZoneShop = "ps_zone_shop"
|
||||
|
||||
// PsZoneShop mapped from table <ps_zone_shop>
|
||||
type PsZoneShop struct {
|
||||
IDZone int32 `gorm:"column:id_zone;primaryKey" json:"id_zone"`
|
||||
IDShop int32 `gorm:"column:id_shop;primaryKey;index:id_shop,priority:1" json:"id_shop"`
|
||||
}
|
||||
|
||||
// TableName PsZoneShop's table name
|
||||
func (*PsZoneShop) TableName() string {
|
||||
return TableNamePsZoneShop
|
||||
}
|
||||
|
||||
var PsZoneShopCols = struct {
|
||||
IDZone gormcol.Field
|
||||
IDShop gormcol.Field
|
||||
}{
|
||||
IDZone: gormcol.Field{}.Set((&PsZoneShop{}).TableName(), "id_zone"),
|
||||
IDShop: gormcol.Field{}.Set((&PsZoneShop{}).TableName(), "id_shop"),
|
||||
}
|
||||
Reference in New Issue
Block a user