fix products listing
This commit is contained in:
26
app/model/dbmodel/ps_info_shop.go
Normal file
26
app/model/dbmodel/ps_info_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 TableNamePsInfoShop = "ps_info_shop"
|
||||
|
||||
// PsInfoShop mapped from table <ps_info_shop>
|
||||
type PsInfoShop struct {
|
||||
IDInfo int32 `gorm:"column:id_info;primaryKey" json:"id_info"`
|
||||
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
|
||||
}
|
||||
|
||||
// TableName PsInfoShop's table name
|
||||
func (*PsInfoShop) TableName() string {
|
||||
return TableNamePsInfoShop
|
||||
}
|
||||
|
||||
var PsInfoShopCols = struct {
|
||||
IDInfo gormcol.Field
|
||||
IDShop gormcol.Field
|
||||
}{
|
||||
IDInfo: gormcol.Field{}.Set((&PsInfoShop{}).TableName(), "id_info"),
|
||||
IDShop: gormcol.Field{}.Set((&PsInfoShop{}).TableName(), "id_shop"),
|
||||
}
|
||||
Reference in New Issue
Block a user