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