fix products listing
This commit is contained in:
29
app/model/dbmodel/ps_product_carrier.go
Normal file
29
app/model/dbmodel/ps_product_carrier.go
Normal file
@@ -0,0 +1,29 @@
|
||||
// Code generated by gormcol. DO NOT EDIT.
|
||||
|
||||
package dbmodel
|
||||
|
||||
import "git.ma-al.com/goc_marek/gormcol"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
var PsProductCarrierCols = struct {
|
||||
IDProduct gormcol.Field
|
||||
IDCarrierReference gormcol.Field
|
||||
IDShop gormcol.Field
|
||||
}{
|
||||
IDProduct: gormcol.Field{}.Set((&PsProductCarrier{}).TableName(), "id_product"),
|
||||
IDCarrierReference: gormcol.Field{}.Set((&PsProductCarrier{}).TableName(), "id_carrier_reference"),
|
||||
IDShop: gormcol.Field{}.Set((&PsProductCarrier{}).TableName(), "id_shop"),
|
||||
}
|
||||
Reference in New Issue
Block a user