Files
b2b/app/model/dbmodel/ps_manufacturer_shop.go
2026-03-30 01:02:02 +02:00

27 lines
846 B
Go

// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsManufacturerShop = "ps_manufacturer_shop"
// PsManufacturerShop mapped from table <ps_manufacturer_shop>
type PsManufacturerShop struct {
IDManufacturer int32 `gorm:"column:id_manufacturer;primaryKey" json:"id_manufacturer"`
IDShop int32 `gorm:"column:id_shop;primaryKey;index:id_shop,priority:1" json:"id_shop"`
}
// TableName PsManufacturerShop's table name
func (*PsManufacturerShop) TableName() string {
return TableNamePsManufacturerShop
}
var PsManufacturerShopCols = struct {
IDManufacturer gormcol.Field
IDShop gormcol.Field
}{
IDManufacturer: gormcol.Field{}.Set((&PsManufacturerShop{}).TableName(), "id_manufacturer"),
IDShop: gormcol.Field{}.Set((&PsManufacturerShop{}).TableName(), "id_shop"),
}