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