// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsProductAttributeImage = "ps_product_attribute_image"

// PsProductAttributeImage mapped from table <ps_product_attribute_image>
type PsProductAttributeImage struct {
	IDProductAttribute int32 `gorm:"column:id_product_attribute;primaryKey" json:"id_product_attribute"`
	IDImage            int32 `gorm:"column:id_image;primaryKey;index:id_image,priority:1" json:"id_image"`
}

// TableName PsProductAttributeImage's table name
func (*PsProductAttributeImage) TableName() string {
	return TableNamePsProductAttributeImage
}

var PsProductAttributeImageCols = struct {
	IDProductAttribute gormcol.Field
	IDImage gormcol.Field
}{
	IDProductAttribute: gormcol.Field{}.Set((&PsProductAttributeImage{}).TableName(), "id_product_attribute"),
	IDImage: gormcol.Field{}.Set((&PsProductAttributeImage{}).TableName(), "id_image"),
}
