add models generation and josn print
This commit is contained in:
18
app/model/prestadb/ps_attribute_shop.go
Normal file
18
app/model/prestadb/ps_attribute_shop.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// 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 TableNamePsAttributeShop = "ps_attribute_shop"
|
||||
|
||||
// PsAttributeShop mapped from table <ps_attribute_shop>
|
||||
type PsAttributeShop struct {
|
||||
IDAttribute int32 `gorm:"column:id_attribute;primaryKey;index:IDX_A7DD8E677A4F53DC,priority:1" json:"id_attribute"`
|
||||
IDShop int32 `gorm:"column:id_shop;primaryKey;index:IDX_A7DD8E67274A50A0,priority:1" json:"id_shop"`
|
||||
}
|
||||
|
||||
// TableName PsAttributeShop's table name
|
||||
func (*PsAttributeShop) TableName() string {
|
||||
return TableNamePsAttributeShop
|
||||
}
|
||||
Reference in New Issue
Block a user