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

27 lines
756 B
Go

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