add models generation and josn print
This commit is contained in:
20
app/model/prestadb/ps_info_lang.go
Normal file
20
app/model/prestadb/ps_info_lang.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// 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 TableNamePsInfoLang = "ps_info_lang"
|
||||
|
||||
// PsInfoLang mapped from table <ps_info_lang>
|
||||
type PsInfoLang struct {
|
||||
IDInfo int32 `gorm:"column:id_info;primaryKey" json:"id_info"`
|
||||
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
||||
Text string `gorm:"column:text;not null" json:"text"`
|
||||
}
|
||||
|
||||
// TableName PsInfoLang's table name
|
||||
func (*PsInfoLang) TableName() string {
|
||||
return TableNamePsInfoLang
|
||||
}
|
||||
Reference in New Issue
Block a user