add models generation and josn print
This commit is contained in:
19
app/model/prestadb/ps_country_lang.go
Normal file
19
app/model/prestadb/ps_country_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 TableNamePsCountryLang = "ps_country_lang"
|
||||
|
||||
// PsCountryLang mapped from table <ps_country_lang>
|
||||
type PsCountryLang struct {
|
||||
IDCountry int32 `gorm:"column:id_country;primaryKey" json:"id_country"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
}
|
||||
|
||||
// TableName PsCountryLang's table name
|
||||
func (*PsCountryLang) TableName() string {
|
||||
return TableNamePsCountryLang
|
||||
}
|
||||
Reference in New Issue
Block a user