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