add models generation and josn print
This commit is contained in:
19
app/model/prestadb/ps_attribute_lang.go
Normal file
19
app/model/prestadb/ps_attribute_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 TableNamePsAttributeLang = "ps_attribute_lang"
|
||||
|
||||
// PsAttributeLang mapped from table <ps_attribute_lang>
|
||||
type PsAttributeLang struct {
|
||||
IDAttribute int32 `gorm:"column:id_attribute;primaryKey;index:IDX_3ABE46A77A4F53DC,priority:1" json:"id_attribute"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey;index:IDX_3ABE46A7BA299860,priority:1" json:"id_lang"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
}
|
||||
|
||||
// TableName PsAttributeLang's table name
|
||||
func (*PsAttributeLang) TableName() string {
|
||||
return TableNamePsAttributeLang
|
||||
}
|
||||
Reference in New Issue
Block a user