add models generation and josn print
This commit is contained in:
19
app/model/prestadb/ps_linksmenutop.go
Normal file
19
app/model/prestadb/ps_linksmenutop.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
|
||||
package prestadb
|
||||
|
||||
const TableNamePsLinksmenutop = "ps_linksmenutop"
|
||||
|
||||
// PsLinksmenutop mapped from table <ps_linksmenutop>
|
||||
type PsLinksmenutop struct {
|
||||
IDLinksmenutop int32 `gorm:"column:id_linksmenutop;primaryKey;autoIncrement:true" json:"id_linksmenutop"`
|
||||
IDShop int32 `gorm:"column:id_shop;not null;index:id_shop,priority:1" json:"id_shop"`
|
||||
NewWindow bool `gorm:"column:new_window;not null" json:"new_window"`
|
||||
}
|
||||
|
||||
// TableName PsLinksmenutop's table name
|
||||
func (*PsLinksmenutop) TableName() string {
|
||||
return TableNamePsLinksmenutop
|
||||
}
|
||||
Reference in New Issue
Block a user