// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import "git.ma-al.com/goc_marek/gormcol"

const TableNamePsAttributeGroup = "ps_attribute_group"

// PsAttributeGroup mapped from table <ps_attribute_group>
type PsAttributeGroup struct {
	IDAttributeGroup int32  `gorm:"column:id_attribute_group;primaryKey;autoIncrement:true" json:"id_attribute_group"`
	IsColorGroup     bool   `gorm:"column:is_color_group;not null" json:"is_color_group"`
	GroupType        string `gorm:"column:group_type;not null" json:"group_type"`
	Position         int32  `gorm:"column:position;not null" json:"position"`
}

// TableName PsAttributeGroup's table name
func (*PsAttributeGroup) TableName() string {
	return TableNamePsAttributeGroup
}

var PsAttributeGroupCols = struct {
	IDAttributeGroup gormcol.Field
	IsColorGroup gormcol.Field
	GroupType gormcol.Field
	Position gormcol.Field
}{
	IDAttributeGroup: gormcol.Field{}.Set((&PsAttributeGroup{}).TableName(), "id_attribute_group"),
	IsColorGroup: gormcol.Field{}.Set((&PsAttributeGroup{}).TableName(), "is_color_group"),
	GroupType: gormcol.Field{}.Set((&PsAttributeGroup{}).TableName(), "group_type"),
	Position: gormcol.Field{}.Set((&PsAttributeGroup{}).TableName(), "position"),
}
