27 lines
677 B
Go
27 lines
677 B
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsInfoShop = "ps_info_shop"
|
|
|
|
// PsInfoShop mapped from table <ps_info_shop>
|
|
type PsInfoShop struct {
|
|
IDInfo int32 `gorm:"column:id_info;primaryKey" json:"id_info"`
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
|
|
}
|
|
|
|
// TableName PsInfoShop's table name
|
|
func (*PsInfoShop) TableName() string {
|
|
return TableNamePsInfoShop
|
|
}
|
|
|
|
var PsInfoShopCols = struct {
|
|
IDInfo gormcol.Field
|
|
IDShop gormcol.Field
|
|
}{
|
|
IDInfo: gormcol.Field{}.Set((&PsInfoShop{}).TableName(), "id_info"),
|
|
IDShop: gormcol.Field{}.Set((&PsInfoShop{}).TableName(), "id_shop"),
|
|
}
|