add models generation and josn print
This commit is contained in:
20
app/model/prestadb/ps_customization_field_lang.go
Normal file
20
app/model/prestadb/ps_customization_field_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 TableNamePsCustomizationFieldLang = "ps_customization_field_lang"
|
||||
|
||||
// PsCustomizationFieldLang mapped from table <ps_customization_field_lang>
|
||||
type PsCustomizationFieldLang struct {
|
||||
IDCustomizationField int32 `gorm:"column:id_customization_field;primaryKey" json:"id_customization_field"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
||||
IDShop int32 `gorm:"column:id_shop;primaryKey;default:1" json:"id_shop"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
}
|
||||
|
||||
// TableName PsCustomizationFieldLang's table name
|
||||
func (*PsCustomizationFieldLang) TableName() string {
|
||||
return TableNamePsCustomizationFieldLang
|
||||
}
|
||||
Reference in New Issue
Block a user