add models generation and josn print
This commit is contained in:
19
app/model/prestadb/ps_image_lang.go
Normal file
19
app/model/prestadb/ps_image_lang.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 TableNamePsImageLang = "ps_image_lang"
|
||||
|
||||
// PsImageLang mapped from table <ps_image_lang>
|
||||
type PsImageLang struct {
|
||||
IDImage int32 `gorm:"column:id_image;primaryKey;index:id_image,priority:1" json:"id_image"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
||||
Legend *string `gorm:"column:legend" json:"legend"`
|
||||
}
|
||||
|
||||
// TableName PsImageLang's table name
|
||||
func (*PsImageLang) TableName() string {
|
||||
return TableNamePsImageLang
|
||||
}
|
||||
Reference in New Issue
Block a user