27 lines
822 B
Go
27 lines
822 B
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsWarehouseShop = "ps_warehouse_shop"
|
|
|
|
// PsWarehouseShop mapped from table <ps_warehouse_shop>
|
|
type PsWarehouseShop struct {
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey;index:id_shop,priority:1" json:"id_shop"`
|
|
IDWarehouse int32 `gorm:"column:id_warehouse;primaryKey;index:id_warehouse,priority:1" json:"id_warehouse"`
|
|
}
|
|
|
|
// TableName PsWarehouseShop's table name
|
|
func (*PsWarehouseShop) TableName() string {
|
|
return TableNamePsWarehouseShop
|
|
}
|
|
|
|
var PsWarehouseShopCols = struct {
|
|
IDShop gormcol.Field
|
|
IDWarehouse gormcol.Field
|
|
}{
|
|
IDShop: gormcol.Field{}.Set((&PsWarehouseShop{}).TableName(), "id_shop"),
|
|
IDWarehouse: gormcol.Field{}.Set((&PsWarehouseShop{}).TableName(), "id_warehouse"),
|
|
}
|