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