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

30 lines
1.2 KiB
Go

// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsFeatureProduct = "ps_feature_product"
// PsFeatureProduct mapped from table <ps_feature_product>
type PsFeatureProduct struct {
IDFeature int32 `gorm:"column:id_feature;primaryKey;index:idx_ps_feature_product,priority:2" json:"id_feature"`
IDProduct int32 `gorm:"column:id_product;primaryKey;index:idx_ps_feature_product,priority:1;index:id_product,priority:1" json:"id_product"`
IDFeatureValue int32 `gorm:"column:id_feature_value;primaryKey;index:idx_ps_feature_product,priority:3;index:id_feature_value,priority:1" json:"id_feature_value"`
}
// TableName PsFeatureProduct's table name
func (*PsFeatureProduct) TableName() string {
return TableNamePsFeatureProduct
}
var PsFeatureProductCols = struct {
IDFeature gormcol.Field
IDProduct gormcol.Field
IDFeatureValue gormcol.Field
}{
IDFeature: gormcol.Field{}.Set((&PsFeatureProduct{}).TableName(), "id_feature"),
IDProduct: gormcol.Field{}.Set((&PsFeatureProduct{}).TableName(), "id_product"),
IDFeatureValue: gormcol.Field{}.Set((&PsFeatureProduct{}).TableName(), "id_feature_value"),
}