add models generation and josn print
This commit is contained in:
18
app/model/prestadb/ps_product_attachment.go
Normal file
18
app/model/prestadb/ps_product_attachment.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 TableNamePsProductAttachment = "ps_product_attachment"
|
||||
|
||||
// PsProductAttachment mapped from table <ps_product_attachment>
|
||||
type PsProductAttachment struct {
|
||||
IDProduct int32 `gorm:"column:id_product;primaryKey" json:"id_product"`
|
||||
IDAttachment int32 `gorm:"column:id_attachment;primaryKey" json:"id_attachment"`
|
||||
}
|
||||
|
||||
// TableName PsProductAttachment's table name
|
||||
func (*PsProductAttachment) TableName() string {
|
||||
return TableNamePsProductAttachment
|
||||
}
|
||||
Reference in New Issue
Block a user