fix products listing
This commit is contained in:
29
app/model/dbmodel/ps_quick_access.go
Normal file
29
app/model/dbmodel/ps_quick_access.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 TableNamePsQuickAccess = "ps_quick_access"
|
||||
|
||||
// PsQuickAccess mapped from table <ps_quick_access>
|
||||
type PsQuickAccess struct {
|
||||
IDQuickAccess int32 `gorm:"column:id_quick_access;primaryKey;autoIncrement:true" json:"id_quick_access"`
|
||||
NewWindow bool `gorm:"column:new_window;not null" json:"new_window"`
|
||||
Link string `gorm:"column:link;not null" json:"link"`
|
||||
}
|
||||
|
||||
// TableName PsQuickAccess's table name
|
||||
func (*PsQuickAccess) TableName() string {
|
||||
return TableNamePsQuickAccess
|
||||
}
|
||||
|
||||
var PsQuickAccessCols = struct {
|
||||
IDQuickAccess gormcol.Field
|
||||
NewWindow gormcol.Field
|
||||
Link gormcol.Field
|
||||
}{
|
||||
IDQuickAccess: gormcol.Field{}.Set((&PsQuickAccess{}).TableName(), "id_quick_access"),
|
||||
NewWindow: gormcol.Field{}.Set((&PsQuickAccess{}).TableName(), "new_window"),
|
||||
Link: gormcol.Field{}.Set((&PsQuickAccess{}).TableName(), "link"),
|
||||
}
|
||||
Reference in New Issue
Block a user