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