27 lines
753 B
Go
27 lines
753 B
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsLangShop = "ps_lang_shop"
|
|
|
|
// PsLangShop mapped from table <ps_lang_shop>
|
|
type PsLangShop struct {
|
|
IDLang int32 `gorm:"column:id_lang;primaryKey;index:IDX_2F43BFC7BA299860,priority:1" json:"id_lang"`
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey;index:IDX_2F43BFC7274A50A0,priority:1" json:"id_shop"`
|
|
}
|
|
|
|
// TableName PsLangShop's table name
|
|
func (*PsLangShop) TableName() string {
|
|
return TableNamePsLangShop
|
|
}
|
|
|
|
var PsLangShopCols = struct {
|
|
IDLang gormcol.Field
|
|
IDShop gormcol.Field
|
|
}{
|
|
IDLang: gormcol.Field{}.Set((&PsLangShop{}).TableName(), "id_lang"),
|
|
IDShop: gormcol.Field{}.Set((&PsLangShop{}).TableName(), "id_shop"),
|
|
}
|