fix products listing
This commit is contained in:
29
app/model/dbmodel/ps_tab_lang.go
Normal file
29
app/model/dbmodel/ps_tab_lang.go
Normal file
@@ -0,0 +1,29 @@
|
||||
// Code generated by gormcol. DO NOT EDIT.
|
||||
|
||||
package dbmodel
|
||||
|
||||
import "git.ma-al.com/goc_marek/gormcol"
|
||||
|
||||
const TableNamePsTabLang = "ps_tab_lang"
|
||||
|
||||
// PsTabLang mapped from table <ps_tab_lang>
|
||||
type PsTabLang struct {
|
||||
IDTab int32 `gorm:"column:id_tab;primaryKey;index:IDX_CFD9262DED47AB56,priority:1" json:"id_tab"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey;index:IDX_CFD9262DBA299860,priority:1" json:"id_lang"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
}
|
||||
|
||||
// TableName PsTabLang's table name
|
||||
func (*PsTabLang) TableName() string {
|
||||
return TableNamePsTabLang
|
||||
}
|
||||
|
||||
var PsTabLangCols = struct {
|
||||
IDTab gormcol.Field
|
||||
IDLang gormcol.Field
|
||||
Name gormcol.Field
|
||||
}{
|
||||
IDTab: gormcol.Field{}.Set((&PsTabLang{}).TableName(), "id_tab"),
|
||||
IDLang: gormcol.Field{}.Set((&PsTabLang{}).TableName(), "id_lang"),
|
||||
Name: gormcol.Field{}.Set((&PsTabLang{}).TableName(), "name"),
|
||||
}
|
||||
Reference in New Issue
Block a user