27 lines
1006 B
Go
27 lines
1006 B
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsLayeredIndexableAttributeGroup = "ps_layered_indexable_attribute_group"
|
|
|
|
// PsLayeredIndexableAttributeGroup mapped from table <ps_layered_indexable_attribute_group>
|
|
type PsLayeredIndexableAttributeGroup struct {
|
|
IDAttributeGroup int32 `gorm:"column:id_attribute_group;primaryKey" json:"id_attribute_group"`
|
|
Indexable bool `gorm:"column:indexable;not null" json:"indexable"`
|
|
}
|
|
|
|
// TableName PsLayeredIndexableAttributeGroup's table name
|
|
func (*PsLayeredIndexableAttributeGroup) TableName() string {
|
|
return TableNamePsLayeredIndexableAttributeGroup
|
|
}
|
|
|
|
var PsLayeredIndexableAttributeGroupCols = struct {
|
|
IDAttributeGroup gormcol.Field
|
|
Indexable gormcol.Field
|
|
}{
|
|
IDAttributeGroup: gormcol.Field{}.Set((&PsLayeredIndexableAttributeGroup{}).TableName(), "id_attribute_group"),
|
|
Indexable: gormcol.Field{}.Set((&PsLayeredIndexableAttributeGroup{}).TableName(), "indexable"),
|
|
}
|